Searched refs:Ehdr (Results 1 - 25 of 29) sorted by relevance

12

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

Completed in 513 milliseconds

12