Home
last modified time | relevance | path

Searched refs:Elf32_Shdr (Results 1 – 25 of 46) sorted by relevance

12

/external/vixl/examples/aarch32/
Ddisasm-a32.cc94 const Elf32_Shdr* shdr_;
100 shdr_ = reinterpret_cast<const Elf32_Shdr*>( in SectionLocator()
108 const Elf32_Shdr* Locate(Elf32_Word type, in Locate()
123 const Elf32_Shdr* symtab, in LocateSymbols()
124 const Elf32_Shdr* strtab, in LocateSymbols()
127 const Elf32_Shdr* shdr = reinterpret_cast<const Elf32_Shdr*>( in LocateSymbols()
165 const Elf32_Shdr* shdr_;
171 shdr_(reinterpret_cast<const Elf32_Shdr*>( in StaticSymbolVisitor()
255 const Elf32_Shdr* shdr = in main()
256 reinterpret_cast<const Elf32_Shdr*>(base_addr + ehdr->e_shoff); in main()
[all …]
/external/elfutils/libelf/
Delf_getshdrstrndx.c114 & (__alignof__ (Elf32_Shdr) - 1)) == 0)) in elf_getshdrstrndx()
119 < sizeof (Elf32_Shdr))) in elf_getshdrstrndx()
128 num = ((Elf32_Shdr *) (elf->map_address + elf->start_offset in elf_getshdrstrndx()
135 Elf32_Shdr shdr_mem; in elf_getshdrstrndx()
138 sizeof (Elf32_Shdr), offset) in elf_getshdrstrndx()
139 != sizeof (Elf32_Shdr))) in elf_getshdrstrndx()
Delf_compress_gnu.c64 Elf32_Shdr *shdr = elf32_getshdr (scn); in elf_compress_gnu()
123 Elf32_Shdr *shdr = elf32_getshdr (scn); in elf_compress_gnu()
187 Elf32_Shdr *shdr = elf32_getshdr (scn); in elf_compress_gnu()
Delf_begin.c148 || unlikely (maxsize - ehdr.e32->e_shoff < sizeof (Elf32_Shdr))) in get_shnum()
155 & (__alignof__ (Elf32_Shdr) - 1)) == 0)) in get_shnum()
157 result = ((Elf32_Shdr *) ((char *) map_address + ehdr.e32->e_shoff in get_shnum()
166 memcpy (&size, &((Elf32_Shdr *) ((char *) map_address in get_shnum()
173 + offsetof (Elf32_Shdr, sh_size)) in get_shnum()
186 || maxsize - ehdr.e32->e_shoff < sizeof (Elf32_Shdr) * result) in get_shnum()
272 if (scncnt > SIZE_MAX / (sizeof (Elf_Scn) + sizeof (Elf32_Shdr))) in file_read_elf()
346 & (__alignof__ (Elf32_Shdr) - 1)) == 0))) in file_read_elf()
350 < scncnt * sizeof (Elf32_Shdr))) in file_read_elf()
358 = (Elf32_Shdr *) ((char *) ehdr + e_shoff); in file_read_elf()
Delf_newscn.c125 result->shdr.e32 = (Elf32_Shdr *) calloc (1, sizeof (Elf32_Shdr)); in elf_newscn()
DlibelfP.h231 Elf32_Shdr *e32; /* Pointer to 32bit section header. */
339 Elf32_Shdr *shdr; /* Used when reading from a file. */
537 extern Elf32_Shdr *__elf32_getshdr_rdlock (Elf_Scn *__scn) internal_function;
539 extern Elf32_Shdr *__elf32_getshdr_wrlock (Elf_Scn *__scn) internal_function;
Delf_compress.c349 Elf32_Shdr *shdr = elf32_getshdr (scn); in elf_compress()
441 Elf32_Shdr *shdr = elf32_getshdr (scn); in elf_compress()
492 Elf32_Shdr *shdr = elf32_getshdr (scn); in elf_compress()
Dgelf_getshdr.c59 Elf32_Shdr *shdr in gelf_getshdr()
Dgelf_update_shdr.c54 Elf32_Shdr *shdr in gelf_update_shdr()
Delf_strptr.c104 Elf32_Shdr *shdr = strscn->shdr.e32 ?: __elf32_getshdr_rdlock (strscn); in elf_strptr()
/external/syslinux/com32/lib/sys/module/i386/
Delf_module.c35 Elf32_Shdr *cr_sht; in load_segments()
164 cr_sht = (Elf32_Shdr*)(sht + i * elf_hdr->e_shentsize); in load_segments()
/external/google-breakpad/src/common/linux/
Delfutils.h49 typedef Elf32_Shdr Shdr;
/external/syslinux/gpxe/src/arch/i386/core/
Dfreebsd_loader.c33 static Elf32_Shdr *shdr; /* To support the FreeBSD kludge! */
147 shdr = (Elf32_Shdr *)phys_to_virt(estate.curaddr); in elf_freebsd_debug_loader()
/external/syslinux/com32/mboot/
Dmap.c108 Elf32_Shdr *sh; in map_image()
231 sh = (Elf32_Shdr *) ((char *)eh + eh->e_shoff); in map_image()
/external/syslinux/com32/include/sys/
Delf32.h104 } Elf32_Shdr; typedef
/external/syslinux/gpxe/src/util/
Diccfix.c65 #define ELF_SHDR Elf32_Shdr
/external/kmod/libkmod/
Dlibkmod-elf.c241 const Elf32_Shdr *hdr _unused_ = (const Elf32_Shdr *)p; in elf_get_section_info()
312 shdr_size = sizeof(Elf32_Shdr); in kmod_elf_new()
585 off += offsetof(Elf32_Shdr, sh_flags); in kmod_elf_strip_section()
586 size = sizeof(((Elf32_Shdr *)buf)->sh_flags); in kmod_elf_strip_section()
/external/elfutils/src/
Dxelf.h31 # define XElf_Shdr Elf32_Shdr
60 # define XElf_Shdr_vardef(name) Elf32_Shdr *name
143 case ELF_T_SHDR: fsize = sizeof (Elf32_Shdr); break; \
/external/syslinux/com32/tools/
Drelocs.c28 Elf32_Shdr shdr;
300 if (ehdr.e_shentsize != sizeof(Elf32_Shdr)) { in read_ehdr()
311 Elf32_Shdr shdr; in read_shdrs()
/external/elfutils/tests/
Dasm-tst1.c47 .e_shentsize = sizeof (Elf32_Shdr),
Dasm-tst2.c47 .e_shentsize = sizeof (Elf32_Shdr),
Delfshphehdr.c143 ? sizeof (Elf32_Shdr) : sizeof (Elf64_Shdr)); in test()
Dupdate3.c43 Elf32_Shdr *shdr; in main()
Dasm-tst9.c55 .e_shentsize = sizeof (Elf32_Shdr),
Dalldts.c130 Elf32_Shdr *shdr = elf32_getshdr (scn); in main()

12