/third_party/elfutils/libelf/ |
H A D | elf_begin.c | 115 ehdr_mem.e32.e_shoff = ((Elf32_Ehdr *) e_ident)->e_shoff; in get_shnum() 123 CONVERT (ehdr_mem.e32.e_shoff); in get_shnum() 131 ehdr_mem.e64.e_shoff = ((Elf64_Ehdr *) e_ident)->e_shoff; in get_shnum() 139 CONVERT (ehdr_mem.e64.e_shoff); in get_shnum() 149 if (unlikely (result == 0) && ehdr.e32->e_shoff != 0) in get_shnum() 151 if (unlikely (ehdr.e32->e_shoff >= maxsize) in get_shnum() 152 || unlikely (maxsize - ehdr.e32->e_shoff < sizeof (Elf32_Shdr))) in get_shnum() 158 || (((size_t) ((char *) (map_address + ehdr.e32->e_shoff in get_shnum() 381 Elf32_Off e_shoff = elf->state.elf32.ehdr->e_shoff; file_read_elf() local 485 Elf64_Off e_shoff = elf->state.elf64.ehdr->e_shoff; file_read_elf() local [all...] |
H A D | elf32_getshdr.c | 81 if (unlikely (ehdr->e_shoff >= elf->maximum_size) in ElfW2() 82 || unlikely (elf->maximum_size - ehdr->e_shoff < size)) in ElfW2() 96 + elf->start_offset + ehdr->e_shoff); in ElfW2() 122 + elf->start_offset + ehdr->e_shoff); in ElfW2() 132 + elf->start_offset + ehdr->e_shoff), in ElfW2() 174 elf->start_offset + ehdr->e_shoff); in ElfW2()
|
H A D | gelf_update_ehdr.c | 71 || unlikely (src->e_shoff > 0xffffffffull)) in gelf_update_ehdr() 86 COPY (e_shoff); in gelf_update_ehdr()
|
H A D | elf_getshdrstrndx.c | 105 offset = elf->state.elf32.ehdr->e_shoff; in elf_getshdrstrndx() 170 size_t offset = elf->state.elf64.ehdr->e_shoff; in elf_getshdrstrndx()
|
H A D | elf32_updatefile.c | 225 + ehdr->e_shoff); in __elfw2() 434 + ehdr->e_shoff)) in __elfw2() 436 (char *) elf->map_address + elf->start_offset + ehdr->e_shoff in __elfw2() 479 + elf->start_offset + ehdr->e_shoff in __elfw2() 664 int64_t shdr_offset = elf->start_offset + ehdr->e_shoff; in __elfw2()
|
H A D | gelf_getehdr.c | 79 COPY (e_shoff); in __gelf_getehdr_rdlock()
|
H A D | elf32_updatenull.c | 432 /* The user is supposed to fill out e_shoff. Use it and in __elfw2() 436 (ehdr->e_shoff in __elfw2() 449 update_if_changed (ehdr->e_shoff, size, elf->flags); in __elfw2()
|
/third_party/elfutils/tests/ |
H A D | elfshphehdr.c | 72 check ("e_shoff == 0", ehdr.e_shoff == 0); in test() 99 check ("e_shoff == 0", ehdr.e_shoff == 0); in test() 120 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in test() 139 check ("e_shoff != 0", ehdr.e_shoff != 0); in test()
|
H A D | newfile.c | 42 ehdr->e_shoff, in print_ehdr() 121 ZERO_TEST (e_shoff); in main() 153 ZERO_TEST (e_shoff); in main()
|
H A D | update2.c | 77 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 137 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
H A D | update1.c | 76 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 114 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
H A D | update3.c | 86 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 192 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
H A D | update4.c | 90 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 344 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
H A D | asm-tst2.c | 46 .e_shoff = 96,
|
H A D | asm-tst1.c | 46 .e_shoff = 88,
|
H A D | asm-tst9.c | 54 .e_shoff = 180,
|
/third_party/elfutils/libdwfl/ |
H A D | elf-from-memory.c | 147 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize; in elf_from_remote_memory() 160 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize; in elf_from_remote_memory() 323 ehdr.e32.e_shoff = 0; in elf_from_remote_memory() 329 ehdr.e64.e_shoff = 0; in elf_from_remote_memory()
|
H A D | dwfl_segment_report_module.c | 406 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * sizeof (Elf32_Shdr); in dwfl_segment_report_module() 420 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * sizeof (Elf64_Shdr); in dwfl_segment_report_module()
|
/third_party/vixl/examples/aarch32/ |
H A D | disasm-a32.cc | 101 reinterpret_cast<const char*>(ehdr) + ehdr->e_shoff); in SectionLocator() 128 reinterpret_cast<const char*>(ehdr) + ehdr->e_shoff); in LocateSymbols() 172 reinterpret_cast<const char*>(ehdr) + ehdr->e_shoff)), in StaticSymbolVisitor() 257 reinterpret_cast<const Elf32_Shdr*>(base_addr + ehdr->e_shoff); in main()
|
/third_party/libunwind/libunwind/src/ia64/ |
H A D | Gfind_unwind_table.c | 64 soff = ehdr->e_shoff; in find_gp()
|
/third_party/elfio/elfio/ |
H A D | elfio_header.hpp | 141 ELFIO_GET_SET_ACCESS( Elf64_Off, sections_offset, header.e_shoff );
|
/third_party/elfio/c_wrapper/ |
H A D | elf_types_c_wrapper.hpp | 721 Elf32_Off e_shoff; member 739 Elf64_Off e_shoff; member
|
/third_party/libunwind/libunwind/src/ |
H A D | elfxx.c | 43 soff = ehdr->e_shoff; in Elf_W() 63 soff = ehdr->e_shoff; in string_table()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | ELF.h | 70 Elf32_Off e_shoff; // Section header table's file offset, in bytes member 94 Elf64_Off e_shoff; member
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/ |
H A D | ELF.h | 67 Elf32_Off e_shoff; // Section header table's file offset, in bytes member 93 Elf64_Off e_shoff; member
|