/external/llvm/tools/llvm-objdump/ |
H A D | ELFDump.cpp | 27 for (const typename ELFO::Elf_Phdr &Phdr : o->program_headers()) { 28 switch (Phdr.p_type) { 56 outs() << "off " << format(Fmt, (uint64_t)Phdr.p_offset) << "vaddr " 57 << format(Fmt, (uint64_t)Phdr.p_vaddr) << "paddr " 58 << format(Fmt, (uint64_t)Phdr.p_paddr) 60 countTrailingZeros<uint64_t>(Phdr.p_align)) 61 << " filesz " << format(Fmt, (uint64_t)Phdr.p_filesz) 62 << "memsz " << format(Fmt, (uint64_t)Phdr.p_memsz) << "flags " 63 << ((Phdr.p_flags & ELF::PF_R) ? "r" : "-") 64 << ((Phdr [all...] |
/external/google-breakpad/src/common/linux/ |
H A D | elf_core_dump.h | 51 typedef ElfW(Phdr) Phdr; typedef in class:google_breakpad::ElfCoreDump 120 const Phdr* GetProgramHeader(unsigned index) const; 125 const Phdr* GetFirstProgramHeaderOfType(Word type) const;
|
H A D | elf_core_dump.cc | 124 const ElfCoreDump::Phdr* ElfCoreDump::GetProgramHeader(unsigned index) const { 127 return reinterpret_cast<const Phdr*>(content_.GetArrayElement( 133 const ElfCoreDump::Phdr* ElfCoreDump::GetFirstProgramHeaderOfType( 136 const Phdr* program = GetProgramHeader(i); 151 const Phdr* program = GetProgramHeader(i); 171 const Phdr* program_header = GetFirstProgramHeaderOfType(PT_NOTE);
|
H A D | elfutils.h | 48 typedef Elf32_Phdr Phdr; typedef in struct:google_breakpad::ElfClass32 61 typedef Elf64_Phdr Phdr; typedef in struct:google_breakpad::ElfClass64
|
H A D | elfutils.cc | 84 typedef typename ElfClass::Phdr Phdr; typedef 95 const Phdr* phdrs = 96 GetOffset<ElfClass, Phdr>(elf_header, elf_header->e_phoff);
|
H A D | synth_elf_unittest.cc | 200 typedef typename TypeParam::Phdr Phdr; typedef 234 EXPECT_EQ(sizeof(Phdr), header->e_phentsize); 267 typedef typename TypeParam::Phdr Phdr; typedef 274 sizeof(Phdr) + 4 * sizeof(Shdr) + 4096 + 305 EXPECT_EQ(sizeof(Ehdr) + sizeof(Phdr) + 4096 + kStringTableSize + 309 EXPECT_EQ(sizeof(Phdr), header->e_phentsize); 332 EXPECT_EQ(sizeof(Ehdr) + sizeof(Phdr), shdr[1].sh_offset); 354 EXPECT_EQ(sizeof(Ehdr) + sizeof(Phdr) [all...] |
H A D | dump_symbols.cc | 158 const typename ElfClass::Phdr* program_headers, 160 typedef typename ElfClass::Phdr Phdr; typedef 168 const Phdr& header = program_headers[i]; 593 typedef typename ElfClass::Phdr Phdr; typedef 598 GetOffset<ElfClass, Phdr>(elf_header, elf_header->e_phoff),
|
/external/elfutils/libelf/ |
H A D | elf32_getphdr.c | 48 ElfW2(LIBELFBITS,Phdr) * 51 ElfW2(LIBELFBITS,Phdr) *result; 85 size_t size = phnum * sizeof (ElfW2(LIBELFBITS,Phdr)); 87 if (phnum > SIZE_MAX / sizeof (ElfW2(LIBELFBITS,Phdr)) 113 & (__alignof__ (ElfW2(LIBELFBITS,Phdr)) - 1)) == 0)) 118 ElfW2(LIBELFBITS,Phdr) *notcvt; 119 ElfW2(LIBELFBITS,Phdr) *phdr; 124 (ElfW2(LIBELFBITS,Phdr) *) malloc (size); 145 & (__alignof__ (ElfW2(LIBELFBITS,Phdr)) 151 notcvt = (ElfW2(LIBELFBITS,Phdr) *) mallo [all...] |
H A D | elf32_newphdr.c | 45 ElfW2(LIBELFBITS,Phdr) * 48 ElfW2(LIBELFBITS,Phdr) *result; 102 sizeof (ElfW2(LIBELFBITS,Phdr)); 115 if (unlikely (count > SIZE_MAX / sizeof (ElfW2(LIBELFBITS,Phdr)))) 134 result = (ElfW2(LIBELFBITS,Phdr) *) 136 count * sizeof (ElfW2(LIBELFBITS,Phdr))); 159 memset (result, '\0', count * sizeof (ElfW2(LIBELFBITS,Phdr))); 182 memset (result, '\0', count * sizeof (ElfW2(LIBELFBITS,Phdr)));
|
H A D | gelf_xlate.h | 42 TYPE (Phdr, LIBELFBITS)
|
H A D | elf32_updatefile.c | 181 assert (sizeof (ElfW2(LIBELFBITS,Phdr)) 204 sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum, 1); 209 sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum); 567 assert (sizeof (ElfW2(LIBELFBITS,Phdr)) 579 ElfW2(LIBELFBITS,Phdr) *tmp_phdr = NULL; 580 ElfW2(LIBELFBITS,Phdr) *out_phdr = elf->state.ELFW(elf,LIBELFBITS).phdr; 602 tmp_phdr = (ElfW2(LIBELFBITS,Phdr) *) 603 malloc (sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum); 612 sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum, 1); 619 size_t phdr_size = sizeof (ElfW2(LIBELFBITS,Phdr)) * phnu [all...] |
H A D | abstract.h | 58 START (32, Phdr, Ext##Phdr) \ 67 END (32, Ext##Phdr) 69 START (64, Phdr, Ext##Phdr) \ 78 END (64, Ext##Phdr)
|
/external/libunwind/src/dwarf/ |
H A D | Gfind_unwind_table.c | 37 Elf_W(Phdr) phdr; 62 Elf_W(Phdr) phdr; 145 Elf_W(Phdr) phdr; 220 arm_exidx_phdr_offset + sizeof(Elf_W(Phdr)) < ei->u.memory.end - ei->u.memory.start) { 221 Elf_W(Phdr) phdr; 243 Elf_W(Phdr) *phdr, *ptxt = NULL, *peh_hdr = NULL, *pdyn = NULL; 256 const Elf_W(Phdr) *parm_exidx = NULL; 274 phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff);
|
/external/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 348 bool checkTLSSections(const Elf_Phdr &Phdr, const Elf_Shdr &Sec); 349 bool checkoffsets(const Elf_Phdr &Phdr, const Elf_Shdr &Sec); 350 bool checkVMA(const Elf_Phdr &Phdr, const Elf_Shdr &Sec); 351 bool checkPTDynamic(const Elf_Phdr &Phdr, const Elf_Shdr &Sec); 1311 for (const Elf_Phdr &Phdr : Obj->program_headers()) { 1312 if (Phdr.p_type == ELF::PT_DYNAMIC) { 1313 DynamicTable = createDRIFrom(&Phdr, sizeof(Elf_Dyn)); 1316 if (Phdr.p_type != ELF::PT_LOAD || Phdr.p_filesz == 0) 1318 LoadSegments.push_back(&Phdr); 2836 checkTLSSections(const Elf_Phdr &Phdr, const Elf_Shdr &Sec) argument 2847 checkoffsets(const Elf_Phdr &Phdr, const Elf_Shdr &Sec) argument 2865 checkVMA(const Elf_Phdr &Phdr, const Elf_Shdr &Sec) argument 2881 checkPTDynamic(const Elf_Phdr &Phdr, const Elf_Shdr &Sec) argument [all...] |
/external/valgrind/coregrind/m_ume/ |
H A D | elf.c | 78 ESZ(Phdr) *p; 122 ESZ(Phdr) *phdr, 294 ESZ(Phdr) *phdr, 372 if (e->e.e_phentsize != sizeof(ESZ(Phdr))) { 373 VG_(printf)("valgrind: sizeof ELF Phdr wrong\n"); 377 phsz = sizeof(ESZ(Phdr)) * e->e.e_phnum; 404 ESZ(Phdr) *ph = &e->p[i]; 420 ESZ(Phdr) *ph = &e->p[i]; 606 ESZ(Phdr) *ph = &e->p[i]; 663 ESZ(Phdr) *ip [all...] |
/external/libunwind/src/ |
H A D | elfxx.c | 258 Elf_W(Phdr) phdr; 268 offset += sizeof(Elf_W(Phdr)); 394 Elf_W(Phdr) *phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff); 408 Elf_W(Phdr) *phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff); 619 Elf_W(Phdr)* phdr = (Elf_W(Phdr)*) ((char*) ei->u.mapped.image + ehdr->e_phoff); 635 Elf_W(Phdr) phdr;
|
H A D | elfxx.h | 62 GET_FIELD(ei, offset, Elf_W(Phdr), phdr, field, false)
|
/external/linux-kselftest/tools/testing/selftests/vDSO/ |
H A D | parse_vdso.c | 109 ELF(Phdr) *pt = (ELF(Phdr)*)(vdso_info.load_addr + hdr->e_phoff);
|
/external/libunwind/src/arm/ |
H A D | Gex_tables.c | 458 const Elf_W(Phdr) *p_text = NULL; 459 const Elf_W(Phdr) *p_arm_exidx = NULL; 460 const Elf_W(Phdr) *phdr = info->dlpi_phdr;
|
/external/compiler-rt/lib/lsan/ |
H A D | lsan_common_linux.cc | 62 const ElfW(Phdr) *phdr = &(info->dlpi_phdr[j]);
|
/external/google-breakpad/src/tools/linux/md2core/ |
H A D | minidump-2-core.cc | 63 #define Phdr ElfW(Phdr) macro 1088 // Phdr for the PT_NOTE 1089 // Phdr for each of the thread stacks 1106 ehdr.e_phentsize= sizeof(Phdr); 1113 size_t offset = sizeof(Ehdr) + ehdr.e_phnum * sizeof(Phdr); 1127 Phdr phdr; 1128 memset(&phdr, 0, sizeof(Phdr));
|
/external/llvm/include/llvm/Object/ |
H A D | ELF.h | 387 static bool compareAddr(uint64_t VAddr, const Elf_Phdr_Impl<ELFT> *Phdr) { argument 388 return VAddr < Phdr->p_vaddr;
|
H A D | ELFTypes.h | 53 typedef Elf_Phdr_Impl<ELFType<E, Is64>> Phdr; typedef in struct:llvm::object::ELFType 69 typedef ArrayRef<Phdr> PhdrRange;
|
/external/compiler-rt/lib/cfi/ |
H A D | cfi.cc | 20 typedef ElfW(Phdr) Elf_Phdr;
|
/external/valgrind/coregrind/m_coredump/ |
H A D | coredump-solaris.c | 393 ehdr->e_phentsize = sizeof(VKI_ESZ(Phdr)); 415 static void fill_phdr(VKI_ESZ(Phdr) *phdr, const NSegment *seg, UInt off, 826 static void fill_notes_phdr(VKI_ESZ(Phdr) *phdr, UInt offset, 1036 VKI_ESZ(Phdr) *phdrs = VG_(malloc)("coredump-elf.mc.2", phdrs_size);
|