Searched refs:Shdr (Results 1 - 17 of 17) sorted by relevance

/external/elfutils/src/libelf/
H A Delf-knowledge.h60 #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 Delf32_getshdr.c48 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;
104 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) != 0));
116 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) == 0)
117 notcvt = (ElfW2(LIBELFBITS,Shdr) *)
[all...]
H A Dgelf_xlate.h43 TYPE (Shdr, LIBELFBITS)
H A Delf32_updatefile.c220 #define shdr_dest ((ElfW2(LIBELFBITS,Shdr) *) shdr_start)
241 void *p = alloca (sizeof (ElfW2(LIBELFBITS,Shdr)));
244 sizeof (ElfW2(LIBELFBITS,Shdr)));
287 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS);
414 sizeof (ElfW2(LIBELFBITS,Shdr)), 1);
418 sizeof (ElfW2(LIBELFBITS,Shdr)));
631 + sizeof (ElfW2(LIBELFBITS,Shdr)))))
642 ElfW2(LIBELFBITS,Shdr) *shdr_data;
645 shdr_data = (ElfW2(LIBELFBITS,Shdr) *)
646 alloca (shnum * sizeof (ElfW2(LIBELFBITS,Shdr)));
[all...]
H A Dabstract.h83 START (32, Shdr, Ext##Shdr) \
94 END (32, Ext##Shdr)
96 START (64, Shdr, Ext##Shdr) \
107 END (64, Ext##Shdr)
H A Delf32_updatenull.c199 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS);
/external/llvm/tools/obj2yaml/
H A Delf2yaml.cpp32 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); local
153 if (!Shdr)
156 NameOrErr = Obj.getSectionName(Shdr);
166 dumpRelocation(const Elf_Shdr *Shdr, const RelT *Rel, ELFYAML::Relocation &R) argument
187 dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S) argument
213 dumpCommonRelocationSection(const Elf_Shdr *Shdr, ELFYAML::RelocationSection &S) argument
230 dumpRelSection(const Elf_Shdr *Shdr) argument
250 dumpRelaSection(const Elf_Shdr *Shdr) argument
271 dumpContentSection(const Elf_Shdr *Shdr) argument
287 dumpGroup(const Elf_Shdr *Shdr) argument
[all...]
/external/google-breakpad/src/common/linux/
H A Delfutils.h49 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 Delfutils-inl.h46 const typename ElfClass::Shdr* FindElfSectionByName(
49 const typename ElfClass::Shdr* sections,
H A Delfutils.cc49 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 Ddump_symbols.cc178 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 = &sections[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 Dsynth_elf_unittest.cc201 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 Delfxx.c141 Elf_W(Shdr) shdr;
168 Elf_W(Shdr) shdr;
274 static Elf_W(Shdr)* elf_w (section_table) (struct elf_image* ei) {
284 return (Elf_W(Shdr) *) ((char *) ei->u.mapped.image + soff);
296 Elf_W(Shdr)* str_shdr = (Elf_W(Shdr) *) ((char *) ei->u.mapped.image + str_soff);
313 Elf_W(Shdr)* shdr = elf_w (section_table) (ei);
384 shdr = (Elf_W(Shdr) *) (((char *) shdr) + ehdr->e_shentsize);
473 Elf_W(Shdr)* shdr;
510 shdr = (Elf_W(Shdr) *) (((cha
[all...]
H A Delfxx.h65 GET_FIELD(ei, offset, Elf_W(Shdr), shdr, field, false)
/external/libunwind/src/dwarf/
H A DGfind_proc_info-lsb.c99 Elf_W (Shdr) *sec_hdrs = NULL;
122 sec_hdrs = calloc (ehdr.e_shnum, sizeof (Elf_W (Shdr)));
123 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 Dminidump-2-core.cc64 #define Shdr ElfW(Shdr) macro
1107 ehdr.e_shentsize= sizeof(Shdr);
/external/llvm/tools/llvm-readobj/
H A DELFDumper.cpp167 for (const auto &Shdr : Obj->sections())
168 if (Shdr.sh_addr == Addr)
169 return &Shdr;

Completed in 292 milliseconds