/external/elfutils/libelf/ |
H A D | elf-knowledge.h | 60 #define SH_INFO_LINK_P(Shdr) \ 61 ((Shdr)->sh_type == SHT_REL || (Shdr)->sh_type == SHT_RELA \ 62 || ((Shdr)->sh_flags & SHF_INFO_LINK) != 0)
|
H A D | elf32_getshdr.c | 48 static ElfW2(LIBELFBITS,Shdr) * 51 ElfW2(LIBELFBITS,Shdr) *result; 64 || shnum > SIZE_MAX / sizeof (ElfW2(LIBELFBITS,Shdr))) 66 size_t size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr)); 70 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr = 71 (ElfW2(LIBELFBITS,Shdr) *) malloc (size); 91 ElfW2(LIBELFBITS,Shdr) *notcvt; 105 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) != 0)); 119 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) 122 notcvt = (ElfW2(LIBELFBITS,Shdr) *) [all...] |
H A D | elf32_getchdr.c | 45 ElfW2(LIBELFBITS,Shdr) *shdr = elfw2(LIBELFBITS,getshdr) (scn);
|
H A D | gelf_xlate.h | 43 TYPE (Shdr, LIBELFBITS)
|
H A D | elf32_updatefile.c | 248 #define shdr_dest ((ElfW2(LIBELFBITS,Shdr) *) shdr_start) 269 void *p = malloc (sizeof (ElfW2(LIBELFBITS,Shdr))); 277 sizeof (ElfW2(LIBELFBITS,Shdr))); 320 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS); 428 sizeof (ElfW2(LIBELFBITS,Shdr)), 1); 432 sizeof (ElfW2(LIBELFBITS,Shdr))); 650 + sizeof (ElfW2(LIBELFBITS,Shdr))))) 661 ElfW2(LIBELFBITS,Shdr) *shdr_data; 662 ElfW2(LIBELFBITS,Shdr) *shdr_data_mem = NULL; 666 shdr_data_mem = (ElfW2(LIBELFBITS,Shdr) *) [all...] |
H A D | abstract.h | 83 START (32, Shdr, Ext##Shdr) \ 94 END (32, Ext##Shdr) 96 START (64, Shdr, Ext##Shdr) \ 107 END (64, Ext##Shdr)
|
H A D | elf32_updatenull.c | 211 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS);
|
H A D | elf_getdata.c | 90 [ELF_T_SHDR] = __alignof__ (ElfW2(Bits,Shdr)), \
|
/external/llvm/tools/obj2yaml/ |
H A D | elf2yaml.cpp | 33 std::error_code dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S); 34 std::error_code dumpCommonRelocationSection(const Elf_Shdr *Shdr, 40 ErrorOr<ELFYAML::RelocationSection *> dumpRelSection(const Elf_Shdr *Shdr); 41 ErrorOr<ELFYAML::RelocationSection *> dumpRelaSection(const Elf_Shdr *Shdr); 43 dumpContentSection(const Elf_Shdr *Shdr); 44 ErrorOr<ELFYAML::NoBitsSection *> dumpNoBitsSection(const Elf_Shdr *Shdr); 45 ErrorOr<ELFYAML::Group *> dumpGroup(const Elf_Shdr *Shdr); 46 ErrorOr<ELFYAML::MipsABIFlags *> dumpMipsABIFlags(const Elf_Shdr *Shdr); 190 const Elf_Shdr *Shdr = *ShdrOrErr; local 191 if (!Shdr) 229 dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S) argument 256 dumpCommonRelocationSection(const Elf_Shdr *Shdr, ELFYAML::RelocationSection &S) argument 275 dumpRelSection(const Elf_Shdr *Shdr) argument 299 dumpRelaSection(const Elf_Shdr *Shdr) argument 325 dumpContentSection(const Elf_Shdr *Shdr) argument 342 dumpNoBitsSection(const Elf_Shdr *Shdr) argument 353 dumpGroup(const Elf_Shdr *Shdr) argument 398 dumpMipsABIFlags(const Elf_Shdr *Shdr) argument [all...] |
/external/google-breakpad/src/common/linux/ |
H A D | elfutils.h | 49 typedef Elf32_Shdr Shdr; typedef in struct:google_breakpad::ElfClass32 62 typedef Elf64_Shdr Shdr; typedef in struct:google_breakpad::ElfClass64 88 const typename ElfClass::Shdr* 91 const typename ElfClass::Shdr* sections,
|
H A D | elfutils-inl.h | 46 const typename ElfClass::Shdr* FindElfSectionByName( 49 const typename ElfClass::Shdr* sections,
|
H A D | elfutils.cc | 49 typedef typename ElfClass::Shdr Shdr; typedef 60 const Shdr* sections = 61 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff); 62 const Shdr* section_names = sections + elf_header->e_shstrndx; 67 const Shdr* section =
|
H A D | dump_symbols.cc | 178 const typename ElfClass::Shdr* stab_section, 179 const typename ElfClass::Shdr* stabstr_section, 231 typedef typename ElfClass::Shdr Shdr; typedef 243 const Shdr* sections = 244 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff); 246 const Shdr* section_names = sections + elf_header->e_shstrndx; 248 const Shdr* section = §ions[i]; 319 const typename ElfClass::Shdr* section, 321 const typename ElfClass::Shdr* got_sectio 594 typedef typename ElfClass::Shdr Shdr; typedef 861 typedef typename ElfClass::Shdr Shdr; typedef [all...] |
H A D | synth_elf_unittest.cc | 201 typedef typename TypeParam::Shdr Shdr; typedef 206 2 * sizeof(Shdr) + 236 EXPECT_EQ(sizeof(Shdr), header->e_shentsize); 240 const Shdr* shdr = 241 reinterpret_cast<const Shdr*>(contents.data() + header->e_shoff); 268 typedef typename TypeParam::Shdr Shdr; typedef 274 sizeof(Phdr) + 4 * sizeof(Shdr) + 4096 + 311 EXPECT_EQ(sizeof(Shdr), heade [all...] |
/external/libunwind/src/ |
H A D | elfxx.c | 143 Elf_W(Shdr) shdr; 170 Elf_W(Shdr) shdr; 276 static Elf_W(Shdr)* elf_w (section_table) (struct elf_image* ei) { 286 return (Elf_W(Shdr) *) ((char *) ei->u.mapped.image + soff); 298 Elf_W(Shdr)* str_shdr = (Elf_W(Shdr) *) ((char *) ei->u.mapped.image + str_soff); 315 Elf_W(Shdr)* shdr = elf_w (section_table) (ei); 386 shdr = (Elf_W(Shdr) *) (((char *) shdr) + ehdr->e_shentsize); 521 Elf_W (Shdr) *shdr; 556 shdr = (Elf_W (Shdr) *) (((cha [all...] |
H A D | elfxx.h | 65 GET_FIELD(ei, offset, Elf_W(Shdr), shdr, field, false)
|
/external/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 740 for (const auto &Shdr : Obj->sections()) 741 if (Shdr.sh_addr == Addr && Shdr.sh_size > 0) 742 return &Shdr; 749 for (const auto &Shdr : Obj.sections()) { 750 if (Name == unwrapOrError(Obj.getSectionName(&Shdr))) 751 return &Shdr; 2247 const Elf_Shdr *Shdr = findSectionByName(*Obj, ".MIPS.abiflags"); local 2248 if (!Shdr) { 2252 ArrayRef<uint8_t> Sec = unwrapOrError(Obj->getSectionContents(Shdr)); 2292 const Elf_Shdr *Shdr = findSectionByName(*Obj, ".reginfo"); local 2309 const Elf_Shdr *Shdr = findSectionByName(*Obj, ".MIPS.options"); local [all...] |
/external/llvm/include/llvm/Object/ |
H A D | ELFTypes.h | 50 typedef Elf_Shdr_Impl<ELFType<E, Is64>> Shdr; typedef in struct:llvm::object::ELFType 65 typedef ArrayRef<Shdr> ShdrRange;
|
/external/libunwind/src/dwarf/ |
H A D | Gfind_proc_info-lsb.c | 100 Elf_W (Shdr) *sec_hdrs = NULL; 127 sec_hdrs = calloc (ehdr.e_shnum, sizeof (Elf_W (Shdr))); 128 if (sec_hdrs == NULL || fread (sec_hdrs, sizeof (Elf_W (Shdr)), ehdr.e_shnum, f) != ehdr.e_shnum
|
/external/google-breakpad/src/tools/linux/md2core/ |
H A D | minidump-2-core.cc | 64 #define Shdr ElfW(Shdr) macro 1109 ehdr.e_shentsize= sizeof(Shdr);
|
/external/valgrind/coregrind/m_coredump/ |
H A D | coredump-solaris.c | 404 ehdr->e_shentsize = sizeof(VKI_ESZ(Shdr)); 443 static void fill_zero_shdr(VKI_ESZ(Shdr) *shdr, UInt num_phdrs) 932 VKI_ESZ(Shdr) shdr;
|