Lines Matching refs:ElfW
54 #include <link.h> // For ElfW() macro.
200 ElfW(Ehdr) elf_header;
204 std::array<ElfW(Phdr), 2> phdr;
336 // tmp_buf_ will be used to store arrays of ElfW(Shdr) and ElfW(Sym)
339 static_assert(alignof(ElfW(Shdr)) <= 16,
341 static_assert(alignof(ElfW(Sym)) <= 16,
459 ElfW(Ehdr) elf_header;
475 const int fd, ElfW(Half) sh_num, const off_t sh_offset, ElfW(Word) type,
476 ElfW(Shdr) * out, char *tmp_buf, int tmp_buf_size) {
477 ElfW(Shdr) *buf = reinterpret_cast<ElfW(Shdr) *>(tmp_buf);
515 const ElfW(Shdr) &)> &callback) {
516 ElfW(Ehdr) elf_header;
521 ElfW(Shdr) shstrtab;
529 ElfW(Shdr) out;
556 ElfW(Shdr) * out) {
567 ElfW(Ehdr) elf_header;
572 ElfW(Shdr) shstrtab;
602 static bool ShouldPickFirstSymbol(const ElfW(Sym) & symbol1,
603 const ElfW(Sym) & symbol2) {
636 static bool InSection(const void *address, const ElfW(Shdr) * section) {
660 ptrdiff_t relocation, const ElfW(Shdr) * strtab, const ElfW(Shdr) * symtab,
661 const ElfW(Shdr) * opd, char *tmp_buf, int tmp_buf_size) {
667 ElfW(Sym) *buf = reinterpret_cast<ElfW(Sym) *>(tmp_buf);
682 ElfW(Sym) best_match;
695 const ElfW(Sym) &symbol = buf[j];
768 ElfW(Shdr) symtab;
769 ElfW(Shdr) strtab;
770 ElfW(Shdr) opd;
771 ElfW(Shdr) *opd_ptr = nullptr;
1286 ElfW(Phdr) phdr;
1344 ElfW(Phdr) *phdr = nullptr;
1346 ElfW(Phdr) &p = obj->phdr[j];