/external/google-breakpad/src/common/linux/ |
elfutils.cc | 57 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_header->e_phoff) [all...] |
dump_symbols.cc | 177 bool LoadStabs(const typename ElfClass::Ehdr* elf_header, 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, 968 void* elf_header = NULL; local [all...] |
elfutils-inl.h | 39 const T* GetOffset(const typename ElfClass::Ehdr* elf_header, 41 return reinterpret_cast<const T*>(reinterpret_cast<uintptr_t>(elf_header) +
|
elfutils.h | 70 bool IsValidElf(const void* elf_header); 113 GetOffset(const typename ElfClass::Ehdr* elf_header,
|
/art/compiler/ |
elf_builder.h | 720 Elf_Ehdr elf_header = MakeElfHeader(isa_); local 721 elf_header.e_phoff = kProgramHeadersOffset; 722 elf_header.e_shoff = section_headers_offset; 723 elf_header.e_phnum = program_headers.size(); 724 elf_header.e_shnum = section_headers.size(); 725 elf_header.e_shstrndx = shstrtab_.GetSectionIndex(); 730 if (!WriteArray(elf_file, &elf_header, 1)) { 829 Elf_Ehdr elf_header = Elf_Ehdr(); local 834 elf_header.e_machine = EM_ARM; 835 elf_header.e_flags = EF_ARM_EABI_VER5 [all...] |
/external/google-breakpad/src/common/solaris/ |
file_id.cc | 79 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,
|
dump_symbols.cc | 212 bool IsValidElf(const GElf_Ehdr *elf_header) { 213 return memcmp(elf_header, ELFMAG, SELFMAG) == 0; 434 bool LoadSymbols(Elf *elf, GElf_Ehdr *elf_header, struct SymbolInfo *symbols, 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) == (GElf_Ehdr *)NULL) [all...] |
/bionic/tools/relocation_packer/src/ |
elf_file.cc | 73 static void VerboseLogElfHeader(const Ehdr* elf_header) { 74 VLOG(1) << "e_phoff = " << elf_header->e_phoff; 75 VLOG(1) << "e_shoff = " << elf_header->e_shoff; 76 VLOG(1) << "e_ehsize = " << elf_header->e_ehsize; 77 VLOG(1) << "e_phentsize = " << elf_header->e_phentsize; 78 VLOG(1) << "e_phnum = " << elf_header->e_phnum; 79 VLOG(1) << "e_shnum = " << elf_header->e_shnum; 80 VLOG(1) << "e_shstrndx = " << elf_header->e_shstrndx; 146 auto elf_header = ELF::getehdr(elf); local 147 if (!elf_header) { 367 const typename ELF::Ehdr* elf_header = ELF::getehdr(elf); local 395 const typename ELF::Ehdr* elf_header = ELF::getehdr(elf); local 556 typename ELF::Ehdr* elf_header = ELF::getehdr(elf); local [all...] |
/hardware/ti/omap4-aah/ |
mapinfo.c | 41 * elf_header
|
/hardware/ti/omap4xxx/ |
mapinfo.c | 41 * elf_header
|
/external/libunwind/src/coredump/ |
_UCD_create.c | 82 } elf_header; local 83 #define elf_header32 elf_header.h32 84 #define elf_header64 elf_header.h64
|