Home
last modified time | relevance | path

Searched refs:e_shoff (Results 1 - 25 of 50) sorted by relevance

12

/third_party/elfutils/libelf/
H A 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()
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 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()
H A Dgelf_update_ehdr.c71 || unlikely (src->e_shoff > 0xffffffffull)) in gelf_update_ehdr()
86 COPY (e_shoff); in gelf_update_ehdr()
H A 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()
H A 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()
H A Dgelf_getehdr.c79 COPY (e_shoff); in __gelf_getehdr_rdlock()
H A Delf32_updatenull.c432 /* 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 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()
H A Dnewfile.c42 ehdr->e_shoff, in print_ehdr()
121 ZERO_TEST (e_shoff); in main()
153 ZERO_TEST (e_shoff); in main()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dasm-tst2.c46 .e_shoff = 96,
H A Dasm-tst1.c46 .e_shoff = 88,
H A Dasm-tst9.c54 .e_shoff = 180,
/third_party/elfutils/libdwfl/
H A 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()
H A Ddwfl_segment_report_module.c406 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 Ddisasm-a32.cc101 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 DGfind_unwind_table.c64 soff = ehdr->e_shoff; in find_gp()
/third_party/elfio/elfio/
H A Delfio_header.hpp141 ELFIO_GET_SET_ACCESS( Elf64_Off, sections_offset, header.e_shoff );
/third_party/elfio/c_wrapper/
H A Delf_types_c_wrapper.hpp721 Elf32_Off e_shoff; member
739 Elf64_Off e_shoff; member
/third_party/libunwind/libunwind/src/
H A Delfxx.c43 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 DELF.h70 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 DELF.h67 Elf32_Off e_shoff; // Section header table's file offset, in bytes member
93 Elf64_Off e_shoff; member

Completed in 20 milliseconds

12