Searched defs:elf_header (Results 1 - 6 of 6) sorted by relevance

/external/google-breakpad/src/common/linux/
H A Delfutils-inl.h39 const T* GetOffset(const typename ElfClass::Ehdr* elf_header, argument
41 return reinterpret_cast<const T*>(reinterpret_cast<uintptr_t>(elf_header) +
H A Delfutils.cc57 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); local
58 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass);
61 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff);
62 const Shdr* section_names = sections + elf_header->e_shstrndx;
64 GetOffset<ElfClass, char>(elf_header, section_names->sh_offset);
70 elf_header->e_shnum);
92 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); local
93 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass);
96 GetOffset<ElfClass, Phdr>(elf_header, elf_heade
[all...]
H A Ddump_symbols.cc177 bool LoadStabs(const typename ElfClass::Ehdr* elf_header, argument
189 GetOffset<ElfClass, uint8_t>(elf_header, stab_section->sh_offset);
191 GetOffset<ElfClass, uint8_t>(elf_header, stabstr_section->sh_offset);
227 const typename ElfClass::Ehdr* elf_header,
244 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff);
245 int num_sections = elf_header->e_shnum;
246 const Shdr* section_names = sections + elf_header->e_shstrndx;
249 string name = GetOffset<ElfClass, char>(elf_header,
252 const char* contents = GetOffset<ElfClass, char>(elf_header,
226 LoadDwarf(const string& dwarf_filename, const typename ElfClass::Ehdr* elf_header, const bool big_endian, bool handle_inter_cu_refs, Module* module) argument
292 DwarfCFIRegisterNames(const typename ElfClass::Ehdr* elf_header, std::vector<string>* register_names) argument
316 LoadDwarfCFI(const string& dwarf_filename, const typename ElfClass::Ehdr* elf_header, const char* section_name, const typename ElfClass::Shdr* section, const bool eh_frame, const typename ElfClass::Shdr* got_section, const typename ElfClass::Shdr* text_section, const bool big_endian, Module* module) argument
367 LoadELF(const string& obj_file, MmapWrapper* map_wrapper, void** elf_header) argument
400 ElfEndianness(const typename ElfClass::Ehdr* elf_header, bool* big_endian) argument
585 LoadSymbols(const string& obj_file, const bool big_endian, const typename ElfClass::Ehdr* elf_header, const bool read_gnu_debug_link, LoadSymbolsInfo<ElfClass>* info, const DumpOptions& options, Module* module) argument
776 ElfArchitecture(const typename ElfClass::Ehdr* elf_header) argument
855 ReadSymbolDataElfClass(const typename ElfClass::Ehdr* elf_header, const string& obj_filename, const std::vector<string>& debug_dirs, const DumpOptions& options, Module** out_module) argument
968 void* elf_header = NULL; local
[all...]
/external/google-breakpad/src/common/solaris/
H A Dfile_id.cc79 GElf_Ehdr elf_header; local
84 if (gelf_getehdr(elf, &elf_header) == (GElf_Ehdr *)NULL) {
89 if (elf_header.e_ident[EI_MAG0] != ELFMAG0 ||
90 elf_header.e_ident[EI_MAG1] != ELFMAG1 ||
91 elf_header.e_ident[EI_MAG2] != ELFMAG2 ||
92 elf_header.e_ident[EI_MAG3] != ELFMAG3) {
109 const char *section_name = elf_strptr(elf, elf_header.e_shstrndx,
H A Ddump_symbols.cc212 bool IsValidElf(const GElf_Ehdr *elf_header) { argument
213 return memcmp(elf_header, ELFMAG, SELFMAG) == 0;
434 bool LoadSymbols(Elf *elf, GElf_Ehdr *elf_header, struct SymbolInfo *symbols, argument
439 reinterpret_cast<GElf_Shdr *>(elf_header->e_shoff + base);
441 if (!FindSectionByName(elf, kStabName, elf_header->e_shstrndx,
447 if (!FindSectionByName(elf, kStabStrName, elf_header->e_shstrndx,
453 if (!FindSectionByName(elf, kSymtabName, elf_header->e_shstrndx,
459 if (!FindSectionByName(elf, kStrtabName, elf_header->e_shstrndx,
657 GElf_Ehdr elf_header; local
661 if (gelf_getehdr(elf, &elf_header)
[all...]
/external/libunwind/src/coredump/
H A D_UCD_create.c82 } elf_header; local
83 #define elf_header32 elf_header.h32
84 #define elf_header64 elf_header.h64

Completed in 177 milliseconds