/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...] |
/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...] |
/external/libchrome/base/debug/ |
elf_reader_linux.cc | 76 const Ehdr* elf_header = reinterpret_cast<const Ehdr*>(elf_base); local 78 reinterpret_cast<const Phdr*>(elf_base + elf_header->e_phoff); 80 for (Half i = 0; i < elf_header->e_phnum; ++i) {
|
/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
|
/external/perf_data_converter/src/quipper/ |
dso_test_utils.cc | 96 Elf64_Ehdr *elf_header = elf64_newehdr(elf); local 97 CHECK(elf_header) << elf_errmsg(-1); 98 elf_header->e_ident[EI_DATA] = ELFDATA2LSB; 99 elf_header->e_machine = EM_X86_64; 100 elf_header->e_version = EV_CURRENT; 146 elf_header->e_shstrndx = elf_ndxscn(section);
|
/art/libelffile/elf/ |
elf_builder.h | 568 Elf_Ehdr elf_header = MakeElfHeader(isa_); local 569 elf_header.e_shoff = section_headers_offset; 570 elf_header.e_shnum = shdrs.size(); 571 elf_header.e_shstrndx = shstrtab_.GetSectionIndex(); 578 elf_header.e_phoff = sizeof(Elf_Ehdr); 579 elf_header.e_phnum = phdrs.size(); 583 stream_.WriteFully(&elf_header, sizeof(elf_header)); 803 Elf_Ehdr elf_header = Elf_Ehdr(); local 808 elf_header.e_machine = EM_ARM [all...] |