Home
last modified time | relevance | path

Searched refs:Ehdr (Results 1 – 25 of 38) 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.h75 #define SH_ENTSIZE_HASH(Ehdr) \ argument
76 ((Ehdr)->e_machine == EM_ALPHA \
77 || ((Ehdr)->e_machine == EM_S390 \
78 && (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.c133 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in __elfw2()
140 assert (sizeof (ElfW2(LIBELFBITS,Ehdr)) in __elfw2()
151 sizeof (ElfW2(LIBELFBITS,Ehdr)), 1); in __elfw2()
155 sizeof (ElfW2(LIBELFBITS,Ehdr))); in __elfw2()
527 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in __elfw2()
532 ElfW2(LIBELFBITS,Ehdr) tmp_ehdr; in __elfw2()
533 ElfW2(LIBELFBITS,Ehdr) *out_ehdr = ehdr; in __elfw2()
537 assert (sizeof (ElfW2(LIBELFBITS,Ehdr)) in __elfw2()
547 (*fctp) (&tmp_ehdr, ehdr, sizeof (ElfW2(LIBELFBITS,Ehdr)), 1); in __elfw2()
555 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/
DObject.cpp647 const auto &Ehdr = *ElfFile.getHeader(); in readProgramHeaders() local
655 PrHdr.OriginalOffset = PrHdr.Offset = PrHdr.VAddr = Ehdr.e_phoff; in readProgramHeaders()
657 PrHdr.FileSize = PrHdr.MemSize = Ehdr.e_phentsize * Ehdr.e_phnum; in readProgramHeaders()
895 const auto &Ehdr = *ElfFile.getHeader(); in build() local
897 std::copy(Ehdr.e_ident, Ehdr.e_ident + 16, Obj.Ident); in build()
898 Obj.Type = Ehdr.e_type; in build()
899 Obj.Machine = Ehdr.e_machine; in build()
900 Obj.Version = Ehdr.e_version; in build()
901 Obj.Entry = Ehdr.e_entry; in build()
902 Obj.Flags = Ehdr.e_flags; in build()
[all …]
/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/libchrome/base/debug/
Delf_reader_linux.cc23 using Ehdr = Elf32_Ehdr; typedef
30 using Ehdr = Elf64_Ehdr;
76 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfSegments()
Dstack_trace_posix.cc605 ElfW(Ehdr) ehdr; in SetBaseAddressesForMemoryRegions()
606 static_assert(SELFMAG <= sizeof(ElfW(Ehdr)), "SELFMAG too large"); in SetBaseAddressesForMemoryRegions()
608 safe_memcpy(&ehdr, r.start, sizeof(ElfW(Ehdr))) && in SetBaseAddressesForMemoryRegions()
/external/linux-kselftest/tools/testing/selftests/vDSO/
Dparse_vdso.c106 ELF(Ehdr) *hdr = (ELF(Ehdr)*)base; in vdso_init_from_sysinfo_ehdr()
/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/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()

12