Home
last modified time | relevance | path

Searched refs:Ehdr (Results 1 – 25 of 30) sorted by relevance

12

/external/google-breakpad/src/common/linux/
Delfutils.cc48 typedef typename ElfClass::Ehdr Ehdr; in FindElfClassSection() typedef
57 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfClassSection()
83 typedef typename ElfClass::Ehdr Ehdr; in FindElfClassSegment() typedef
92 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfClassSegment()
115 const ElfW(Ehdr)* elf_header = in ElfClass()
116 reinterpret_cast<const ElfW(Ehdr)*>(elf_base); in ElfClass()
Dsynth_elf_unittest.cc199 typedef typename TypeParam::Ehdr Ehdr; in TYPED_TEST() typedef
204 const size_t kExpectedSize = sizeof(Ehdr) + in TYPED_TEST()
217 const Ehdr* header = in TYPED_TEST()
218 reinterpret_cast<const Ehdr*>(contents.data()); in TYPED_TEST()
230 EXPECT_EQ(sizeof(Ehdr) + kStringTableSize + kStringTableAlign, in TYPED_TEST()
233 EXPECT_EQ(sizeof(Ehdr), header->e_ehsize); in TYPED_TEST()
257 EXPECT_EQ(sizeof(Ehdr), shdr[1].sh_offset); in TYPED_TEST()
266 typedef typename TypeParam::Ehdr Ehdr; in TYPED_TEST() typedef
271 const size_t kExpectedSize = sizeof(Ehdr) + in TYPED_TEST()
292 const Ehdr* header = in TYPED_TEST()
[all …]
Delf_core_dump.cc109 const Ehdr* header = GetHeader(); in IsValid()
120 const ElfCoreDump::Ehdr* ElfCoreDump::GetHeader() const { in GetHeader()
121 return content_.GetData<Ehdr>(0); in GetHeader()
125 const Ehdr* header = GetHeader(); in GetProgramHeader()
145 const Ehdr* header = GetHeader(); in GetProgramHeaderCount()
Delf_core_dump.h49 typedef ElfW(Ehdr) Ehdr; typedef
116 const Ehdr* GetHeader() const;
Delfutils.h46 typedef Elf32_Ehdr Ehdr; typedef
59 typedef Elf64_Ehdr Ehdr; typedef
113 GetOffset(const typename ElfClass::Ehdr* elf_header,
Ddump_symbols.cc177 bool LoadStabs(const typename ElfClass::Ehdr* elf_header, in LoadStabs()
227 const typename ElfClass::Ehdr* elf_header, in LoadDwarf()
292 bool DwarfCFIRegisterNames(const typename ElfClass::Ehdr* elf_header, in DwarfCFIRegisterNames()
317 const typename ElfClass::Ehdr* elf_header, in LoadDwarfCFI()
400 bool ElfEndianness(const typename ElfClass::Ehdr* elf_header, in ElfEndianness()
587 const typename ElfClass::Ehdr* elf_header, in LoadSymbols()
776 const char* ElfArchitecture(const typename ElfClass::Ehdr* elf_header) { in ElfArchitecture()
824 bool SanitizeDebugFile(const typename ElfClass::Ehdr* debug_elf_header, in SanitizeDebugFile()
855 bool ReadSymbolDataElfClass(const typename ElfClass::Ehdr* elf_header, in ReadSymbolDataElfClass()
860 typedef typename ElfClass::Ehdr Ehdr; in ReadSymbolDataElfClass() typedef
[all …]
Delfutils-inl.h39 const T* GetOffset(const typename ElfClass::Ehdr* elf_header, in GetOffset()
Delf_core_dump_unittest.cc63 ElfCoreDump::Ehdr header; in TEST()
/external/elfutils/libelf/
Delf-knowledge.h99 #define SH_ENTSIZE_HASH(Ehdr) \ argument
100 ((Ehdr)->e_machine == EM_ALPHA \
101 || ((Ehdr)->e_machine == EM_S390 \
102 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
Delf32_getehdr.c44 static ElfW2(LIBELFBITS,Ehdr) * in ElfW2() argument
77 ElfW2(LIBELFBITS,Ehdr) * in ElfW2() argument
84 ElfW2(LIBELFBITS,Ehdr) * in ElfW2() argument
87 ElfW2(LIBELFBITS,Ehdr) *result; in ElfW2()
Delf32_newehdr.c44 ElfW2(LIBELFBITS,Ehdr) * in ElfW2() argument
47 ElfW2(LIBELFBITS,Ehdr) *result; in ElfW2()
78 sizeof (ElfW2(LIBELFBITS,Ehdr))); in ElfW2()
Delf32_updatefile.c134 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in __elfw2()
141 assert (sizeof (ElfW2(LIBELFBITS,Ehdr)) in __elfw2()
157 sizeof (ElfW2(LIBELFBITS,Ehdr)), 1); in __elfw2()
161 sizeof (ElfW2(LIBELFBITS,Ehdr))); in __elfw2()
518 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in __elfw2()
523 ElfW2(LIBELFBITS,Ehdr) tmp_ehdr; in __elfw2()
524 ElfW2(LIBELFBITS,Ehdr) *out_ehdr = ehdr; in __elfw2()
528 assert (sizeof (ElfW2(LIBELFBITS,Ehdr)) in __elfw2()
543 (*fctp) (&tmp_ehdr, ehdr, sizeof (ElfW2(LIBELFBITS,Ehdr)), 1); in __elfw2()
551 sizeof (ElfW2(LIBELFBITS,Ehdr)), 0) in __elfw2()
[all …]
Dabstract.h31 #define Ehdr(Bits, Ext) \ macro
32 START (Bits, Ehdr, Ext##Ehdr) \
48 END (Bits, Ext##Ehdr)
51 Ehdr(32, Ext)
53 Ehdr(64, Ext)
Dgelf_xlate.h41 TYPE (Ehdr, LIBELFBITS)
Delf32_updatenull.c51 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr, in ELFW()
129 ElfW2(LIBELFBITS,Ehdr) *ehdr; in __elfw2()
Delf32_getphdr.c72 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in ElfW2()
Delf32_getshdr.c55 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in ElfW2()
/external/libunwind/src/
Delfxx.c113 static bool elf_w (section_table_offset) (struct elf_image* ei, Elf_W(Ehdr)* ehdr, Elf_W(Off)* offs… in elf_w()
131 struct elf_image* ei, int section, Elf_W(Ehdr)* ehdr, Elf_W(Off)* offset) { in elf_w()
160 char* buf, size_t buf_len, unw_word_t* offp, Elf_W(Ehdr)* ehdr) { in elf_w()
251 Elf_W(Ehdr)* ehdr, Elf_W(Addr)* load_offset) { in elf_w()
277 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; in Elf_W()
290 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; in elf_w()
320 Elf_W(Ehdr)* ehdr = ei->u.mapped.image; in elf_w()
393 Elf_W(Ehdr) *ehdr = ei->u.mapped.image; in elf_w()
407 Elf_W(Ehdr) *ehdr = ei->u.mapped.image; in elf_w()
423 char *buf, size_t buf_len, unw_word_t* offp, Elf_W(Ehdr)* ehdr) { in elf_w()
[all …]
Delfxx.h59 GET_FIELD(ei, 0, Elf_W(Ehdr), ehdr, field, check_cached)
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc62 #define Ehdr ElfW(Ehdr) macro
1092 Ehdr ehdr; in main()
1093 memset(&ehdr, 0, sizeof(Ehdr)); in main()
1104 ehdr.e_phoff = sizeof(Ehdr); in main()
1105 ehdr.e_ehsize = sizeof(Ehdr); in main()
1110 if (!writea(1, &ehdr, sizeof(Ehdr))) in main()
1113 size_t offset = sizeof(Ehdr) + ehdr.e_phnum * sizeof(Phdr); in main()
/external/valgrind/coregrind/m_coredump/
Dcoredump-elf.c87 static void fill_ehdr(ESZ(Ehdr) *ehdr, Int num_phdrs) in fill_ehdr()
100 ehdr->e_phoff = sizeof(ESZ(Ehdr)); in fill_ehdr()
103 ehdr->e_ehsize = sizeof(ESZ(Ehdr)); in fill_ehdr()
575 ESZ(Ehdr) ehdr; in make_elf_coredump()
Dcoredump-solaris.c376 static void fill_ehdr(VKI_ESZ(Ehdr) *ehdr, Int num_phdrs) in fill_ehdr()
390 ehdr->e_ehsize = sizeof(VKI_ESZ(Ehdr)); in fill_ehdr()
392 ehdr->e_phoff = sizeof(VKI_ESZ(Ehdr)); in fill_ehdr()
929 VKI_ESZ(Ehdr) ehdr; in VG_()
/external/libunwind/src/dwarf/
DGfind_unwind_table.c129 Elf_W(Ehdr) ehdr; in dwarf_find_unwind_table_memory()
254 Elf_W(Ehdr) *ehdr; in dwarf_find_unwind_table()
/external/valgrind/coregrind/m_ume/
Delf.c72 ESZ(Ehdr) e;
254 const ESZ(Ehdr) *e = hdr; in VG_()
/external/compiler-rt/lib/cfi/
Dcfi.cc26 typedef ElfW(Ehdr) Elf_Ehdr;

12