Home
last modified time | relevance | path

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

123

/external/google-breakpad/src/common/linux/
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 …]
Delfutils.cc48 typedef typename ElfClass::Ehdr Ehdr; in FindElfClassSection() typedef
57 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfClassSection()
82 typedef typename ElfClass::Ehdr Ehdr; in FindElfClassSegment() typedef
90 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); in FindElfClassSegment()
114 const ElfW(Ehdr)* elf_header = in ElfClass()
115 reinterpret_cast<const ElfW(Ehdr)*>(elf_base); in ElfClass()
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.h50 typedef ElfW(Ehdr) Ehdr; typedef
117 const Ehdr* GetHeader() const;
Delfutils.h49 typedef Elf32_Ehdr Ehdr; typedef
67 typedef Elf64_Ehdr Ehdr; typedef
124 GetOffset(const typename ElfClass::Ehdr* elf_header,
Ddump_symbols.cc204 bool LoadStabs(const typename ElfClass::Ehdr* elf_header, in LoadStabs()
278 const typename ElfClass::Ehdr* elf_header, in LoadDwarf()
357 bool DwarfCFIRegisterNames(const typename ElfClass::Ehdr* elf_header, in DwarfCFIRegisterNames()
382 const typename ElfClass::Ehdr* elf_header, in LoadDwarfCFI()
465 bool ElfEndianness(const typename ElfClass::Ehdr* elf_header, in ElfEndianness()
654 const typename ElfClass::Ehdr* elf_header, in LoadSymbols()
897 const char* ElfArchitecture(const typename ElfClass::Ehdr* elf_header) { in ElfArchitecture()
916 bool SanitizeDebugFile(const typename ElfClass::Ehdr* debug_elf_header, in SanitizeDebugFile()
947 bool InitModuleForElfClass(const typename ElfClass::Ehdr* elf_header, in InitModuleForElfClass()
985 bool ReadSymbolDataElfClass(const typename ElfClass::Ehdr* elf_header, in ReadSymbolDataElfClass()
[all …]
Delfutils-inl.h39 const T* GetOffset(const typename ElfClass::Ehdr* elf_header, in GetOffset()
/external/cronet/base/debug/
Delf_reader.cc29 using Ehdr = Elf32_Ehdr; typedef
36 using Ehdr = Elf64_Ehdr;
49 const Ehdr* GetElfHeader(const void* elf_mapped_base) { in GetElfHeader()
54 return reinterpret_cast<const Ehdr*>(elf_mapped_base); in GetElfHeader()
64 const Ehdr* elf_header = GetElfHeader(elf_mapped_base); in ReadElfBuildId()
128 const Ehdr* elf_header = GetElfHeader(elf_mapped_base); in ReadElfLibraryName()
172 const Ehdr* elf_header = GetElfHeader(elf_mapped_base); in GetElfProgramHeaders()
Dtest_elf_image_builder.h21 using Ehdr = Elf32_Ehdr; variable
28 using Ehdr = Elf64_Ehdr; variable
113 Ehdr CreateEhdr(Half phnum);
Dtest_elf_image_builder.cc135 size_t offset = sizeof(Ehdr); in MeasureSizesAndOffsets()
296 Ehdr TestElfImageBuilder::CreateEhdr(Half phnum) { in CreateEhdr()
297 Ehdr ehdr; in CreateEhdr()
312 ehdr.e_phoff = sizeof(Ehdr); in CreateEhdr()
315 ehdr.e_ehsize = sizeof(Ehdr); in CreateEhdr()
/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.c130 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in __elfw2()
137 assert (sizeof (ElfW2(LIBELFBITS,Ehdr)) in __elfw2()
148 sizeof (ElfW2(LIBELFBITS,Ehdr)), 1); in __elfw2()
152 sizeof (ElfW2(LIBELFBITS,Ehdr))); in __elfw2()
539 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in __elfw2()
544 ElfW2(LIBELFBITS,Ehdr) tmp_ehdr; in __elfw2()
545 ElfW2(LIBELFBITS,Ehdr) *out_ehdr = ehdr; in __elfw2()
549 assert (sizeof (ElfW2(LIBELFBITS,Ehdr)) in __elfw2()
559 (*fctp) (&tmp_ehdr, ehdr, sizeof (ElfW2(LIBELFBITS,Ehdr)), 1); in __elfw2()
567 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)
/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()
/external/perfetto/src/profiling/symbolizer/
Delf.h58 struct Ehdr { struct
112 struct Ehdr { struct
158 typename E::Shdr* GetShdr(void* mem, const typename E::Ehdr* ehdr, size_t i) { in GetShdr()
164 typename E::Phdr* GetPhdr(void* mem, const typename E::Ehdr* ehdr, size_t i) { in GetPhdr()
Dlocal_symbolizer.cc130 const typename E::Ehdr* ehdr = static_cast<typename E::Ehdr*>(mem); in GetLoadBias()
131 if (!InRange(mem, size, ehdr, sizeof(typename E::Ehdr))) { in GetLoadBias()
150 const typename E::Ehdr* ehdr = static_cast<typename E::Ehdr*>(mem); in GetBuildId()
151 if (!InRange(mem, size, ehdr, sizeof(typename E::Ehdr))) { in GetBuildId()
/external/musl/src/internal/
Dvdso.c12 typedef Elf32_Ehdr Ehdr; typedef
18 typedef Elf64_Ehdr Ehdr; typedef
49 Ehdr *eh = (void *)libc.auxv[i+1]; in __vdsosym()
Ddynlink.h11 typedef Elf32_Ehdr Ehdr; typedef
18 typedef Elf64_Ehdr Ehdr; typedef
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.h285 bool GetLoadedElfHeader(uintptr_t start_addr, ElfW(Ehdr)* ehdr);
292 void ParseLoadedElfProgramHeaders(ElfW(Ehdr)* ehdr,
312 uintptr_t GetEffectiveLoadBias(ElfW(Ehdr)* ehdr, uintptr_t start_addr);
/external/linux-kselftest/tools/testing/selftests/vDSO/
Dparse_vdso.c84 ELF(Ehdr) *hdr = (ELF(Ehdr)*)base; in vdso_init_from_sysinfo_ehdr()
/external/angle/util/posix/
Dcrash_handler_posix.cpp319 ElfW(Ehdr) ehdr;
320 static_assert(SELFMAG <= sizeof(ElfW(Ehdr)), "SELFMAG too large");
322 safe_memcpy(&ehdr, r.start, sizeof(ElfW(Ehdr))) &&
/external/ltp/libs/libltpvdso/
Dparse_vdso.c102 ELF(Ehdr) *hdr = (ELF(Ehdr)*)base; in vdso_init_from_sysinfo_ehdr()

123