/third_party/elfutils/libelf/ |
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() 162 result = ((Elf32_Shdr *) ((char *) map_address + ehdr.e32->e_shoff in get_shnum() 173 + ehdr.e32->e_shoff in get_shnum() [all …]
|
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()
|
D | gelf_update_ehdr.c | 71 || unlikely (src->e_shoff > 0xffffffffull)) in gelf_update_ehdr() 86 COPY (e_shoff); in gelf_update_ehdr()
|
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()
|
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()
|
D | gelf_getehdr.c | 79 COPY (e_shoff); in __gelf_getehdr_rdlock()
|
D | elf32_updatenull.c | 436 (ehdr->e_shoff in __elfw2() 449 update_if_changed (ehdr->e_shoff, size, elf->flags); in __elfw2()
|
/third_party/skia/buildtools/third_party/eu-strip/ |
D | fix-elf-size.patch | 45 /* The user is supposed to fill out e_shoff. Use it and 50 (ehdr->e_shoff 57 - update_if_changed (ehdr->e_shoff, (GElf_Word) size, elf->flags); 58 + update_if_changed (ehdr->e_shoff, size, elf->flags);
|
/third_party/elfutils/tests/ |
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()
|
D | newfile.c | 42 ehdr->e_shoff, in print_ehdr() 121 ZERO_TEST (e_shoff); in main() 153 ZERO_TEST (e_shoff); in main()
|
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()
|
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()
|
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()
|
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()
|
D | asm-tst1.c | 46 .e_shoff = 88,
|
/third_party/elfutils/libdwfl/ |
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()
|
/third_party/libunwind/src/ |
D | elfxx.c | 43 soff = ehdr->e_shoff; in Elf_W() 63 soff = ehdr->e_shoff; in elf_w() 603 return (ehdr->e_shoff + (ehdr->e_shentsize * ehdr->e_shnum)); in calc_elf_file_size()
|
/third_party/libunwind/include/win/ |
D | freebsd-elf32.h | 62 Elf32_Off e_shoff; /* Section header file offset. */ member
|
D | freebsd-elf64.h | 75 Elf64_Off e_shoff; /* Section header file offset. */ member
|
/third_party/libunwind/include/mingw/ |
D | freebsd-elf32.h | 62 Elf32_Off e_shoff; /* Section header file offset. */ member
|
D | freebsd-elf64.h | 75 Elf64_Off e_shoff; /* Section header file offset. */ member
|
/third_party/libunwind/src/ia64/ |
D | Gfind_unwind_table.c | 64 soff = ehdr->e_shoff; in find_gp()
|
/third_party/elfio/c_wrapper/ |
D | elf_types_c_wrapper.hpp | 721 Elf32_Off e_shoff; member 739 Elf64_Off e_shoff; member
|
/third_party/elfio/elfio/ |
D | elfio_header.hpp | 141 ELFIO_GET_SET_ACCESS( Elf64_Off, sections_offset, header.e_shoff );
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
D | elf.rs | 97 pub(super) e_shoff: usize, field
|