Home
last modified time | relevance | path

Searched refs:elf32 (Results 1 – 25 of 33) sorted by relevance

12

/third_party/elfutils/libelf/
Delf_begin.c329 assert (offsetof (struct Elf, state.elf32.scns) in file_read_elf()
331 elf->state.elf32.scns.cnt = scncnt; in file_read_elf()
332 elf->state.elf32.scns.max = scnmax; in file_read_elf()
352 elf->state.elf32.ehdr = ehdr; in file_read_elf()
357 elf->state.elf32.ehdr = memcpy (&elf->state.elf32.ehdr_mem, e_ident, in file_read_elf()
362 CONVERT (elf->state.elf32.ehdr_mem.e_type); in file_read_elf()
363 CONVERT (elf->state.elf32.ehdr_mem.e_machine); in file_read_elf()
364 CONVERT (elf->state.elf32.ehdr_mem.e_version); in file_read_elf()
365 CONVERT (elf->state.elf32.ehdr_mem.e_entry); in file_read_elf()
366 CONVERT (elf->state.elf32.ehdr_mem.e_phoff); in file_read_elf()
[all …]
Delf_end.c117 || (offsetof (struct Elf, state.elf32.rawchunks) in elf_end()
119 ? elf->state.elf32.rawchunks in elf_end()
131 || (offsetof (struct Elf, state.elf32.scns) in elf_end()
133 ? &elf->state.elf32.scns in elf_end()
190 || (offsetof (struct Elf, state.elf32.scns) in elf_end()
192 ? &elf->state.elf32.scns in elf_end()
202 || (offsetof (struct Elf, state.elf32.shdr) in elf_end()
204 ? (void *) elf->state.elf32.shdr in elf_end()
210 || (offsetof (struct Elf, state.elf32.phdr) in elf_end()
212 ? (void *) elf->state.elf32.phdr in elf_end()
Delf_getshdrstrndx.c62 == offsetof (struct Elf, state.elf32.ehdr)); in elf_getshdrstrndx()
64 == sizeof (elf->state.elf32.ehdr)); in elf_getshdrstrndx()
80 ? elf->state.elf32.ehdr->e_shstrndx in elf_getshdrstrndx()
91 if (unlikely (elf->state.elf32.scns.cnt == 0)) in elf_getshdrstrndx()
99 if (elf->state.elf32.scns.data[0].shdr.e32 != NULL) in elf_getshdrstrndx()
101 num = elf->state.elf32.scns.data[0].shdr.e32->sh_link; in elf_getshdrstrndx()
105 offset = elf->state.elf32.ehdr->e_shoff; in elf_getshdrstrndx()
108 && elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA in elf_getshdrstrndx()
149 if (elf->state.elf32.ehdr->e_ident[EI_DATA] != MY_ELFDATA) in elf_getshdrstrndx()
Delf_clone.c58 elf->state.elf32.scns.max * sizeof (Elf_Scn)); in elf_clone()
68 assert (offsetof (struct Elf, state.elf32.scns) in elf_clone()
70 retval->state.elf.scns_last = &retval->state.elf32.scns; in elf_clone()
71 retval->state.elf32.scns.max = elf->state.elf32.scns.max; in elf_clone()
Delf_getphdrnum.c53 ? elf->state.elf32.ehdr->e_phnum in __elf_getphdrnum_rdlock()
59 ? &elf->state.elf32.scns in __elf_getphdrnum_rdlock()
69 Elf_Scn *scn = &elf->state.elf32.scns.data[0]; in __elf_getphdrnum_rdlock()
101 ? elf->state.elf32.ehdr->e_phoff in __elf_getphdrnum_chk_rdlock()
Delf_newscn.c55 == offsetof (Elf, state.elf32.scns_last)); in elf_newscn()
58 assert (offsetof (Elf, state.elf32.scns) in elf_newscn()
71 || (offsetof (Elf, state.elf32.scns) in elf_newscn()
73 ? &elf->state.elf32.scns : &elf->state.elf64.scns))) in elf_newscn()
Dgelf_update_phdr.c58 Elf32_Phdr *phdr = elf->state.elf32.phdr; in gelf_update_phdr()
84 if (ndx >= elf->state.elf32.ehdr->e_phnum in gelf_update_phdr()
85 && (elf->state.elf32.ehdr->e_phnum != PN_XNUM in gelf_update_phdr()
Delf_getident.c57 || (offsetof (struct Elf, state.elf32.ehdr) in elf_getident()
59 ? elf->state.elf32.ehdr->e_ident in elf_getident()
Delf_nextscn.c57 || (offsetof (Elf, state.elf32.scns) in elf_nextscn()
59 list = &elf->state.elf32.scns; in elf_nextscn()
Delf_getshdrnum.c61 || (offsetof (Elf, state.elf32.scns) in __elf_getshdrnum_rdlock()
63 ? &elf->state.elf32.scns : &elf->state.elf64.scns))) in __elf_getshdrnum_rdlock()
Delf_newdata.c56 || (offsetof (struct Elf, state.elf32.ehdr) in elf_newdata()
58 ? scn->elf->state.elf32.ehdr == NULL in elf_newdata()
Dgelf_getehdr.c59 if (offsetof (struct Elf, state.elf32.ehdr) in __gelf_getehdr_rdlock()
68 Elf32_Ehdr *ehdr = elf->state.elf32.ehdr; in __gelf_getehdr_rdlock()
Delf_getscn.c59 || (offsetof (struct Elf, state.elf32.scns) in elf_getscn()
61 ? &elf->state.elf32.scns : &elf->state.elf64.scns); in elf_getscn()
Delf_getdata.c402 || (offsetof (struct Elf, state.elf32.ehdr) in __libelf_set_rawdata_wrlock()
405 elf->state.elf32.ehdr->e_ident[EI_VERSION]; in __libelf_set_rawdata_wrlock()
457 || (offsetof (struct Elf, state.elf32.ehdr) in __libelf_set_data_list_rdlock()
459 ? elf->state.elf32.ehdr->e_ident[EI_DATA] in __libelf_set_data_list_rdlock()
Delf_strptr.c93 || (offsetof (struct Elf, state.elf32.scns) in elf_strptr()
95 ? &elf->state.elf32.scns : &elf->state.elf64.scns); in elf_strptr()
Dgelf_update_ehdr.c58 Elf32_Ehdr *ehdr = elf->state.elf32.ehdr; in gelf_update_ehdr()
Dgelf_getphdr.c66 Elf32_Phdr *phdr = elf->state.elf32.phdr; in gelf_getphdr()
Delf_getdata_rawchunk.c135 if (elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA) in elf_getdata_rawchunk()
DlibelfP.h360 } elf32; member
/third_party/elfutils/libebl/
Deblopenbackend.c310 assert (offsetof (Elf, state.elf32.ehdr) in openbackend()
322 result->machine = elf->state.elf32.ehdr->e_machine; in openbackend()
323 result->class = elf->state.elf32.ehdr->e_ident[EI_CLASS]; in openbackend()
324 result->data = elf->state.elf32.ehdr->e_ident[EI_DATA]; in openbackend()
/third_party/libunwind/src/
DMakefile.am80 LIBUNWIND_ELF = libunwind-elf32.la
182 noinst_HEADERS += elf32.h elf64.h elfxx.h
184 libunwind_elf32_la_SOURCES = elf32.c
601 libunwind_arm_la_LIBADD += libunwind-elf32.la
635 libunwind_hppa_la_LIBADD += libunwind-elf32.la
683 libunwind_x86_la_LIBADD += libunwind-elf32.la
707 libunwind_ppc32_la_LIBADD += libunwind-elf32.la
731 libunwind_sh_la_LIBADD += libunwind-elf32.la
DCMakeLists.txt168 elf32.c
/third_party/elfio/tests/elf_examples/
Dwrite_exe_i386_32_work_dump.txt2 write_exe_i386_32_work: file format elf32-i386
/third_party/libunwind/tests/
DMakefile.am185 LIBUNWIND_ELF = $(top_builddir)/src/libunwind-elf32.la
/third_party/libunwind/
DBUILD.gn123 "src/elf32.c",

12