Home
last modified time | relevance | path

Searched refs:Shdr (Results 1 – 16 of 16) sorted by relevance

/external/llvm/tools/obj2yaml/
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); in dumpSymbol() local
144 if (!Shdr) in dumpSymbol()
147 NameOrErr = Obj.getSectionName(Shdr); in dumpSymbol()
157 std::error_code ELFDumper<ELFT>::dumpRelocation(const Elf_Shdr *Shdr, in dumpRelocation() argument
[all …]
/external/elfutils/0.153/libelf/
Delf32_getshdr.c69 static ElfW2(LIBELFBITS,Shdr) * in ElfW2() argument
72 ElfW2(LIBELFBITS,Shdr) *result; in ElfW2()
86 size_t size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr)); in ElfW2()
90 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr = in ElfW2()
91 (ElfW2(LIBELFBITS,Shdr) *) malloc (size); in ElfW2()
101 ElfW2(LIBELFBITS,Shdr) *notcvt; in ElfW2()
111 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) != 0)); in ElfW2()
123 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) == 0) in ElfW2()
124 notcvt = (ElfW2(LIBELFBITS,Shdr) *) in ElfW2()
129 notcvt = (ElfW2(LIBELFBITS,Shdr) *) alloca (size); in ElfW2()
[all …]
Delf-knowledge.h83 #define SH_INFO_LINK_P(Shdr) \ argument
84 ((Shdr)->sh_type == SHT_REL || (Shdr)->sh_type == SHT_RELA \
85 || ((Shdr)->sh_flags & SHF_INFO_LINK) != 0)
Delf32_updatefile.c238 #define shdr_dest ((ElfW2(LIBELFBITS,Shdr) *) shdr_start) in __elfw2()
259 void *p = alloca (sizeof (ElfW2(LIBELFBITS,Shdr))); in __elfw2()
262 sizeof (ElfW2(LIBELFBITS,Shdr))); in __elfw2()
305 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS); in __elfw2()
432 sizeof (ElfW2(LIBELFBITS,Shdr)), 1); in __elfw2()
436 sizeof (ElfW2(LIBELFBITS,Shdr))); in __elfw2()
656 ElfW2(LIBELFBITS,Shdr) *shdr_data; in __elfw2()
658 shdr_data = (ElfW2(LIBELFBITS,Shdr) *) in __elfw2()
659 alloca (shnum * sizeof (ElfW2(LIBELFBITS,Shdr))); in __elfw2()
680 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS); in __elfw2()
[all …]
Dabstract.h104 START (32, Shdr, Ext##Shdr) \
115 END (32, Ext##Shdr)
117 START (64, Shdr, Ext##Shdr) \
128 END (64, Ext##Shdr)
Dgelf_xlate.h64 TYPE (Shdr, LIBELFBITS)
Delf32_updatenull.c220 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS); in __elfw2()
/external/chromium_org/tools/relocation_packer/src/
Delf_traits.h45 typedef Elf32_Shdr Shdr; typedef
54 static inline Shdr* getshdr(Elf_Scn* scn) { return elf32_getshdr(scn); } in getshdr()
79 typedef Elf64_Shdr Shdr; typedef
88 static inline Shdr* getshdr(Elf_Scn* scn) { return elf64_getshdr(scn); } in getshdr()
Delf_file.cc121 const ELF::Shdr* section_header) { in VerboseLogSectionHeader()
214 const ELF::Shdr* section_header = ELF::getshdr(section); in Load()
309 ELF::Shdr* section_header = ELF::getshdr(section); in AdjustSectionHeadersForHole()
425 const ELF::Shdr* section_header = ELF::getshdr(section); in FindSectionContainingHole()
463 const ELF::Shdr* section_header = ELF::getshdr(section); in FindLastSectionInSegment()
575 ELF::Shdr* section_header = ELF::getshdr(holed_section); in SplitProgramHeadersForHole()
597 const ELF::Shdr* split_section_header = ELF::getshdr(split_section); in SplitProgramHeadersForHole()
609 const ELF::Shdr* end_section_header = ELF::getshdr(end_section); in SplitProgramHeadersForHole()
665 const ELF::Shdr* section_header = ELF::getshdr(last_section); in CoalesceProgramHeadersForHole()
670 const ELF::Shdr* last_section_header = ELF::getshdr(last_section); in CoalesceProgramHeadersForHole()
[all …]
/external/libunwind/src/
Delfxx.c36 static Elf_W (Shdr)* in Elf_W() argument
51 return (Elf_W (Shdr) *) ((char *) ei->image + soff); in Elf_W()
59 Elf_W (Shdr) *str_shdr; in elf_w()
72 str_shdr = (Elf_W (Shdr) *) ((char *) ei->image + str_soff); in elf_w()
97 Elf_W (Shdr) *shdr; in elf_w()
158 shdr = (Elf_W (Shdr) *) (((char *) shdr) + ehdr->e_shentsize); in elf_w()
222 Elf_W (Shdr) *shdr; in elf_w()
259 shdr = (Elf_W (Shdr) *) (((char *) shdr) + ehdr->e_shentsize); in elf_w()
/external/chromium_org/base/third_party/symbolize/
Dsymbolize.cc201 ElfW(Word) type, ElfW(Shdr) *out) { in GetSectionHeaderByType()
203 ElfW(Shdr) buf[16]; in GetSectionHeaderByType()
230 ElfW(Shdr) *out) { in GetSectionHeaderByName()
236 ElfW(Shdr) shstrtab; in GetSectionHeaderByName()
279 uint64_t symbol_offset, const ElfW(Shdr) *strtab, in FindSymbol()
280 const ElfW(Shdr) *symtab) { in FindSymbol()
342 ElfW(Shdr) symtab, strtab; in GetSymbolFromObjectFile()
Dsymbolize.h100 ElfW(Shdr) *out);
/external/libunwind/src/dwarf/
DGfind_proc_info-lsb.c99 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 (fread (sec_hdrs, sizeof (Elf_W (Shdr)), ehdr.e_shnum, f) != ehdr.e_shnum) in load_debug_frame()
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp167 for (const auto &Shdr : Obj->sections()) in findSectionByAddress() local
168 if (Shdr.sh_addr == Addr) in findSectionByAddress()
169 return &Shdr; in findSectionByAddress()
/external/elfutils/0.153/
DTODO27 When reading (ELF_C_READ*) then there is no need to malloc Shdr
/external/qemu/tcg/
Dtcg.c2751 ElfW(Shdr) shdr[7]; in tcg_register_jit_int()
2774 .e_ehsize = sizeof(ElfW(Shdr)), in tcg_register_jit_int()
2777 .e_shentsize = sizeof(ElfW(Shdr)), in tcg_register_jit_int()