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

/external/elfutils/0.153/libelf/
H A Delf-knowledge.h83 #define SH_INFO_LINK_P(Shdr) \
84 ((Shdr)->sh_type == SHT_REL || (Shdr)->sh_type == SHT_RELA \
85 || ((Shdr)->sh_flags & SHF_INFO_LINK) != 0)
H A Delf32_getshdr.c69 static ElfW2(LIBELFBITS,Shdr) *
72 ElfW2(LIBELFBITS,Shdr) *result;
86 size_t size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr));
90 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr =
91 (ElfW2(LIBELFBITS,Shdr) *) malloc (size);
101 ElfW2(LIBELFBITS,Shdr) *notcvt;
111 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) != 0));
123 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) == 0)
124 notcvt = (ElfW2(LIBELFBITS,Shdr) *)
129 notcvt = (ElfW2(LIBELFBITS,Shdr) *) alloc
[all...]
H A Dgelf_xlate.h64 TYPE (Shdr, LIBELFBITS)
H A Delf32_updatefile.c238 #define shdr_dest ((ElfW2(LIBELFBITS,Shdr) *) shdr_start)
259 void *p = alloca (sizeof (ElfW2(LIBELFBITS,Shdr)));
262 sizeof (ElfW2(LIBELFBITS,Shdr)));
305 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS);
432 sizeof (ElfW2(LIBELFBITS,Shdr)), 1);
436 sizeof (ElfW2(LIBELFBITS,Shdr)));
656 ElfW2(LIBELFBITS,Shdr) *shdr_data;
658 shdr_data = (ElfW2(LIBELFBITS,Shdr) *)
659 alloca (shnum * sizeof (ElfW2(LIBELFBITS,Shdr)));
680 ElfW2(LIBELFBITS,Shdr) *shd
[all...]
H A Dabstract.h104 START (32, Shdr, Ext##Shdr) \
115 END (32, Ext##Shdr)
117 START (64, Shdr, Ext##Shdr) \
128 END (64, Ext##Shdr)
H A Delf32_updatenull.c220 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS);
/external/llvm/tools/obj2yaml/
H A Delf2yaml.cpp30 std::error_code dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S);
31 std::error_code dumpCommonRelocationSection(const Elf_Shdr *Shdr,
34 std::error_code dumpRelocation(const Elf_Shdr *Shdr, const RelT *Rel,
37 ErrorOr<ELFYAML::RelocationSection *> dumpRelSection(const Elf_Shdr *Shdr);
38 ErrorOr<ELFYAML::RelocationSection *> dumpRelaSection(const Elf_Shdr *Shdr);
40 dumpContentSection(const Elf_Shdr *Shdr);
143 const Elf_Shdr *Shdr = Obj.getSection(&*Sym); local
144 if (!Shdr)
147 NameOrErr = Obj.getSectionName(Shdr);
157 std::error_code ELFDumper<ELFT>::dumpRelocation(const Elf_Shdr *Shdr, argument
178 dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S) argument
204 dumpCommonRelocationSection(const Elf_Shdr *Shdr, ELFYAML::RelocationSection &S) argument
221 dumpRelSection(const Elf_Shdr *Shdr) argument
241 dumpRelaSection(const Elf_Shdr *Shdr) argument
262 dumpContentSection(const Elf_Shdr *Shdr) argument
[all...]
/external/chromium_org/tools/relocation_packer/src/
H A Delf_traits.h45 typedef Elf32_Shdr Shdr; typedef in struct:ELF
54 static inline Shdr* getshdr(Elf_Scn* scn) { return elf32_getshdr(scn); }
79 typedef Elf64_Shdr Shdr; typedef in struct:ELF
88 static inline Shdr* getshdr(Elf_Scn* scn) { return elf64_getshdr(scn); }
H A Delf_file.cc121 const ELF::Shdr* section_header) {
214 const ELF::Shdr* section_header = ELF::getshdr(section);
309 ELF::Shdr* section_header = ELF::getshdr(section);
425 const ELF::Shdr* section_header = ELF::getshdr(section);
463 const ELF::Shdr* section_header = ELF::getshdr(section);
575 ELF::Shdr* section_header = ELF::getshdr(holed_section);
597 const ELF::Shdr* split_section_header = ELF::getshdr(split_section);
609 const ELF::Shdr* end_section_header = ELF::getshdr(end_section);
665 const ELF::Shdr* section_header = ELF::getshdr(last_section);
670 const ELF::Shdr* last_section_heade
[all...]
/external/chromium_org/base/third_party/symbolize/
H A Dsymbolize.h100 ElfW(Shdr) *out);
H A Dsymbolize.cc201 ElfW(Word) type, ElfW(Shdr) *out) {
203 ElfW(Shdr) buf[16];
230 ElfW(Shdr) *out) {
236 ElfW(Shdr) shstrtab;
279 uint64_t symbol_offset, const ElfW(Shdr) *strtab,
280 const ElfW(Shdr) *symtab) {
342 ElfW(Shdr) symtab, strtab;
/external/libunwind/src/
H A Delfxx.c36 static Elf_W (Shdr)*
51 return (Elf_W (Shdr) *) ((char *) ei->image + soff);
59 Elf_W (Shdr) *str_shdr;
72 str_shdr = (Elf_W (Shdr) *) ((char *) ei->image + str_soff);
97 Elf_W (Shdr) *shdr;
158 shdr = (Elf_W (Shdr) *) (((char *) shdr) + ehdr->e_shentsize);
222 Elf_W (Shdr) *shdr;
259 shdr = (Elf_W (Shdr) *) (((char *) shdr) + ehdr->e_shentsize);
/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 (fread (sec_hdrs, sizeof (Elf_W (Shdr)), ehdr.e_shnum, f) != ehdr.e_shnum)
/external/llvm/tools/llvm-readobj/
H A DELFDumper.cpp167 for (const auto &Shdr : Obj->sections())
168 if (Shdr.sh_addr == Addr)
169 return &Shdr;
/external/qemu/tcg/
H A Dtcg.c2751 ElfW(Shdr) shdr[7];
2774 .e_ehsize = sizeof(ElfW(Shdr)),
2777 .e_shentsize = sizeof(ElfW(Shdr)),

Completed in 359 milliseconds