/external/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 32 std::error_code dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S); 33 std::error_code dumpCommonRelocationSection(const Elf_Shdr *Shdr, 36 std::error_code dumpRelocation(const Elf_Shdr *Shdr, const RelT *Rel, 39 ErrorOr<ELFYAML::RelocationSection *> dumpRelSection(const Elf_Shdr *Shdr); 40 ErrorOr<ELFYAML::RelocationSection *> dumpRelaSection(const Elf_Shdr *Shdr); 42 dumpContentSection(const Elf_Shdr *Shdr); 43 ErrorOr<ELFYAML::Group *> dumpGroup(const Elf_Shdr *Shdr); 152 const Elf_Shdr *Shdr = Obj.getSection(&*Sym); in dumpSymbol() local 153 if (!Shdr) in dumpSymbol() 156 NameOrErr = Obj.getSectionName(Shdr); in dumpSymbol() [all …]
|
/external/elfutils/src/libelf/ |
D | elf32_getshdr.c | 48 static ElfW2(LIBELFBITS,Shdr) * in ElfW2() argument 51 ElfW2(LIBELFBITS,Shdr) *result; in ElfW2() 64 || shnum > SIZE_MAX / sizeof (ElfW2(LIBELFBITS,Shdr))) in ElfW2() 66 size_t size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr)); in ElfW2() 70 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr = in ElfW2() 71 (ElfW2(LIBELFBITS,Shdr) *) malloc (size); in ElfW2() 91 ElfW2(LIBELFBITS,Shdr) *notcvt; in ElfW2() 104 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) != 0)); in ElfW2() 116 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) == 0) in ElfW2() 117 notcvt = (ElfW2(LIBELFBITS,Shdr) *) in ElfW2() [all …]
|
D | elf-knowledge.h | 60 #define SH_INFO_LINK_P(Shdr) \ argument 61 ((Shdr)->sh_type == SHT_REL || (Shdr)->sh_type == SHT_RELA \ 62 || ((Shdr)->sh_flags & SHF_INFO_LINK) != 0)
|
D | elf32_updatefile.c | 220 #define shdr_dest ((ElfW2(LIBELFBITS,Shdr) *) shdr_start) in __elfw2() 241 void *p = alloca (sizeof (ElfW2(LIBELFBITS,Shdr))); in __elfw2() 244 sizeof (ElfW2(LIBELFBITS,Shdr))); in __elfw2() 287 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS); in __elfw2() 414 sizeof (ElfW2(LIBELFBITS,Shdr)), 1); in __elfw2() 418 sizeof (ElfW2(LIBELFBITS,Shdr))); in __elfw2() 631 + sizeof (ElfW2(LIBELFBITS,Shdr))))) in __elfw2() 642 ElfW2(LIBELFBITS,Shdr) *shdr_data; in __elfw2() 645 shdr_data = (ElfW2(LIBELFBITS,Shdr) *) in __elfw2() 646 alloca (shnum * sizeof (ElfW2(LIBELFBITS,Shdr))); in __elfw2() [all …]
|
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)
|
D | gelf_xlate.h | 43 TYPE (Shdr, LIBELFBITS)
|
D | elf32_updatenull.c | 199 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS); in __elfw2()
|
/external/google-breakpad/src/common/linux/ |
D | dump_symbols.cc | 178 const typename ElfClass::Shdr* stab_section, in LoadStabs() 179 const typename ElfClass::Shdr* stabstr_section, in LoadStabs() 231 typedef typename ElfClass::Shdr Shdr; in LoadDwarf() typedef 243 const Shdr* sections = in LoadDwarf() 244 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff); in LoadDwarf() 246 const Shdr* section_names = sections + elf_header->e_shstrndx; in LoadDwarf() 248 const Shdr* section = §ions[i]; in LoadDwarf() 319 const typename ElfClass::Shdr* section, in LoadDwarfCFI() 321 const typename ElfClass::Shdr* got_section, in LoadDwarfCFI() 322 const typename ElfClass::Shdr* text_section, in LoadDwarfCFI() [all …]
|
D | elfutils.cc | 49 typedef typename ElfClass::Shdr Shdr; in FindElfClassSection() typedef 60 const Shdr* sections = in FindElfClassSection() 61 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff); in FindElfClassSection() 62 const Shdr* section_names = sections + elf_header->e_shstrndx; in FindElfClassSection() 67 const Shdr* section = in FindElfClassSection()
|
D | elfutils.h | 49 typedef Elf32_Shdr Shdr; typedef 62 typedef Elf64_Shdr Shdr; typedef 88 const typename ElfClass::Shdr* 91 const typename ElfClass::Shdr* sections,
|
D | synth_elf_unittest.cc | 201 typedef typename TypeParam::Shdr Shdr; in TYPED_TEST() typedef 206 2 * sizeof(Shdr) + in TYPED_TEST() 236 EXPECT_EQ(sizeof(Shdr), header->e_shentsize); in TYPED_TEST() 240 const Shdr* shdr = in TYPED_TEST() 241 reinterpret_cast<const Shdr*>(contents.data() + header->e_shoff); in TYPED_TEST() 268 typedef typename TypeParam::Shdr Shdr; in TYPED_TEST() typedef 274 sizeof(Phdr) + 4 * sizeof(Shdr) + 4096 + in TYPED_TEST() 311 EXPECT_EQ(sizeof(Shdr), header->e_shentsize); in TYPED_TEST() 315 const Shdr* shdr = in TYPED_TEST() 316 reinterpret_cast<const Shdr*>(contents.data() + header->e_shoff); in TYPED_TEST()
|
D | elfutils-inl.h | 46 const typename ElfClass::Shdr* FindElfSectionByName( in FindElfSectionByName() 49 const typename ElfClass::Shdr* sections, in FindElfSectionByName()
|
/external/libunwind/src/ |
D | elfxx.c | 141 Elf_W(Shdr) shdr; in elf_w() 168 Elf_W(Shdr) shdr; in elf_w() 274 static Elf_W(Shdr)* elf_w (section_table) (struct elf_image* ei) { in Elf_W() argument 284 return (Elf_W(Shdr) *) ((char *) ei->u.mapped.image + soff); in Elf_W() 296 Elf_W(Shdr)* str_shdr = (Elf_W(Shdr) *) ((char *) ei->u.mapped.image + str_soff); in elf_w() 313 Elf_W(Shdr)* shdr = elf_w (section_table) (ei); in elf_w() 384 shdr = (Elf_W(Shdr) *) (((char *) shdr) + ehdr->e_shentsize); in elf_w() 473 Elf_W(Shdr)* shdr; in elf_w() 510 shdr = (Elf_W(Shdr) *) (((char *) shdr) + ehdr->e_shentsize); in elf_w()
|
D | elfxx.h | 65 GET_FIELD(ei, offset, Elf_W(Shdr), shdr, field, false)
|
/external/libunwind/src/dwarf/ |
D | Gfind_proc_info-lsb.c | 99 Elf_W (Shdr) *sec_hdrs = NULL; in load_debug_frame() 122 sec_hdrs = calloc (ehdr.e_shnum, sizeof (Elf_W (Shdr))); in load_debug_frame() 123 if (sec_hdrs == NULL || fread (sec_hdrs, sizeof (Elf_W (Shdr)), ehdr.e_shnum, f) != ehdr.e_shnum) in load_debug_frame()
|
/external/google-breakpad/src/tools/linux/md2core/ |
D | minidump-2-core.cc | 64 #define Shdr ElfW(Shdr) macro 1107 ehdr.e_shentsize= sizeof(Shdr); in main()
|
/external/llvm/tools/llvm-readobj/ |
D | ELFDumper.cpp | 167 for (const auto &Shdr : Obj->sections()) in findSectionByAddress() local 168 if (Shdr.sh_addr == Addr) in findSectionByAddress() 169 return &Shdr; in findSectionByAddress()
|
/external/elfutils/src/ |
D | TODO | 27 When reading (ELF_C_READ*) then there is no need to malloc Shdr
|