Home
last modified time | relevance | path

Searched refs:e_shoff (Results 1 – 25 of 62) sorted by relevance

123

/third_party/elfutils/libelf/
Delf_begin.c115 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 …]
Delf32_getshdr.c81 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()
Dgelf_update_ehdr.c71 || unlikely (src->e_shoff > 0xffffffffull)) in gelf_update_ehdr()
86 COPY (e_shoff); in gelf_update_ehdr()
Delf_getshdrstrndx.c105 offset = elf->state.elf32.ehdr->e_shoff; in elf_getshdrstrndx()
170 size_t offset = elf->state.elf64.ehdr->e_shoff; in elf_getshdrstrndx()
Delf32_updatefile.c225 + 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()
Dgelf_getehdr.c79 COPY (e_shoff); in __gelf_getehdr_rdlock()
Delf32_updatenull.c436 (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/
Dfix-elf-size.patch45 /* 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/
Delfshphehdr.c72 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()
Dnewfile.c42 ehdr->e_shoff, in print_ehdr()
121 ZERO_TEST (e_shoff); in main()
153 ZERO_TEST (e_shoff); in main()
Dupdate1.c76 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()
Dupdate2.c77 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()
Dupdate3.c86 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()
Dupdate4.c90 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()
Dasm-tst1.c46 .e_shoff = 88,
/third_party/elfutils/libdwfl/
Delf-from-memory.c147 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/
Delfxx.c43 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/
Dfreebsd-elf32.h62 Elf32_Off e_shoff; /* Section header file offset. */ member
Dfreebsd-elf64.h75 Elf64_Off e_shoff; /* Section header file offset. */ member
/third_party/libunwind/include/mingw/
Dfreebsd-elf32.h62 Elf32_Off e_shoff; /* Section header file offset. */ member
Dfreebsd-elf64.h75 Elf64_Off e_shoff; /* Section header file offset. */ member
/third_party/libunwind/src/ia64/
DGfind_unwind_table.c64 soff = ehdr->e_shoff; in find_gp()
/third_party/elfio/c_wrapper/
Delf_types_c_wrapper.hpp721 Elf32_Off e_shoff; member
739 Elf64_Off e_shoff; member
/third_party/elfio/elfio/
Delfio_header.hpp141 ELFIO_GET_SET_ACCESS( Elf64_Off, sections_offset, header.e_shoff );
/third_party/rust/crates/rustix/src/backend/linux_raw/
Delf.rs97 pub(super) e_shoff: usize, field

123