Home
last modified time | relevance | path

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

12

/external/elfutils/libelf/
Delf_begin.c131 ehdr_mem.e32.e_shoff = ((Elf32_Ehdr *) e_ident)->e_shoff; in get_shnum()
139 CONVERT (ehdr_mem.e32.e_shoff); in get_shnum()
147 ehdr_mem.e64.e_shoff = ((Elf64_Ehdr *) e_ident)->e_shoff; in get_shnum()
155 CONVERT (ehdr_mem.e64.e_shoff); in get_shnum()
165 if (unlikely (result == 0) && ehdr.e32->e_shoff != 0) in get_shnum()
167 if (ehdr.e32->e_shoff + sizeof (Elf32_Shdr) > maxsize) in get_shnum()
176 result = ((Elf32_Shdr *) ((char *) map_address + ehdr.e32->e_shoff in get_shnum()
186 + ehdr.e32->e_shoff in get_shnum()
191 offset + ehdr.e32->e_shoff in get_shnum()
204 if (ehdr.e32->e_shoff > maxsize in get_shnum()
[all …]
Dgelf_update_ehdr.c92 || unlikely (src->e_shoff > 0xffffffffull)) in gelf_update_ehdr()
107 COPY (e_shoff); in gelf_update_ehdr()
Delf32_getshdr.c106 + elf->start_offset + ehdr->e_shoff); in ElfW2()
126 + elf->start_offset + ehdr->e_shoff); in ElfW2()
131 + elf->start_offset + ehdr->e_shoff), in ElfW2()
170 elf->start_offset + ehdr->e_shoff); in ElfW2()
Delf_getshstrndx.c123 offset = elf->state.elf32.ehdr->e_shoff;
161 size_t offset = elf->state.elf64.ehdr->e_shoff;
Delf32_updatefile.c218 + ehdr->e_shoff); in __elfw2()
376 + ehdr->e_shoff)) in __elfw2()
378 (char *) elf->map_address + elf->start_offset + ehdr->e_shoff in __elfw2()
416 + elf->start_offset + ehdr->e_shoff in __elfw2()
595 off_t shdr_offset = elf->start_offset + ehdr->e_shoff; in __elfw2()
Dgelf_getehdr.c101 COPY (e_shoff);
Delf32_updatenull.c407 (ehdr->e_shoff in __elfw2()
420 update_if_changed (ehdr->e_shoff, (GElf_Word) size, elf->flags); in __elfw2()
/external/elfutils/tests/
Dnewfile.c50 ehdr->e_shoff, in print_ehdr()
129 ZERO_TEST (e_shoff); in main()
161 ZERO_TEST (e_shoff); in main()
Dupdate1.c82 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
120 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
Dupdate2.c83 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
143 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
Dupdate3.c92 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
198 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
Dupdate4.c97 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
351 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
Dasm-tst1.c53 .e_shoff = 88,
Dasm-tst2.c53 .e_shoff = 96,
Dasm-tst9.c61 .e_shoff = 180,
/external/elfutils/libdwfl/
Delf-from-memory.c152 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize; in elf_from_remote_memory()
164 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize; in elf_from_remote_memory()
307 ehdr.e32.e_shoff = 0; in elf_from_remote_memory()
334 ehdr.e64.e_shoff = 0; in elf_from_remote_memory()
Ddwfl_segment_report_module.c209 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize; in dwfl_segment_report_module()
222 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize; in dwfl_segment_report_module()
/external/llvm/test/Scripts/
Delf-dump173 e_shoff = f.readWord()
174 print "('e_shoff', %s)" % common_dump.HexDump(e_shoff)
189 f.seek(e_shoff[0] + index * e_shentsize[0])
/external/kernel-headers/original/linux/
Delf.h180 Elf32_Off e_shoff; member
197 Elf64_Off e_shoff; /* Section header table file offset */ member
/external/qemu/elff/
Delff_elf.h160 Elf_Off e_shoff; member
/external/qemu/
Delf_ops.h8 bswapSZs(&ehdr->e_shoff); /* Section header table file offset */ in glue()
109 shdr_table = load_at(fd, ehdr->e_shoff, in glue()
/external/libvpx/build/make/
Dobj_int_extract.c351 ENDIAN_ASSIGN_IN_PLACE(elf->hdr32.e_shoff); in parse_elf_header()
370 ENDIAN_ASSIGN_IN_PLACE(elf->hdr64.e_shoff); in parse_elf_header()
393 COPY_STRUCT(hdr32, elf->buf, elf->hdr32.e_shoff + idx * elf->hdr32.e_shentsize, in parse_elf_section()
411 COPY_STRUCT(hdr64, elf->buf, elf->hdr64.e_shoff + idx * elf->hdr64.e_shentsize, in parse_elf_section()
/external/valgrind/main/VEX/unused/
Dlinker.c331 Elf_Shdr* shdr = (Elf_Shdr*)(ehdrC + ehdr->e_shoff); in findElfSection()
715 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); in ocResolve_ELF()
826 ehdr->e_shoff, ehdr->e_shnum, ehdr->e_shentsize ); in ocVerifyImage_ELF()
830 shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); in ocVerifyImage_ELF()
959 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); in ocGetNames_ELF()
/external/grub/stage2/
Di386-elf.h75 Elf32_Off e_shoff; /* section header table file offset */ member
/external/valgrind/main/VEX/switchback/
Dlinker.c397 Elf_Shdr* shdr = (Elf_Shdr*)(ehdrC + ehdr->e_shoff);
873 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff);
986 (Long)ehdr->e_shoff,
991 shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff);
1120 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff);

12