HomeSort by relevance Sort by last modified time
    Searched refs:Shdr (Results 1 - 17 of 17) sorted by null

  /external/elfutils/0.153/libelf/
elf-knowledge.h 58 #define SECTION_STRIP_P(shdr, name, remove_comment) \
60 (((shdr)->sh_flags & SHF_ALLOC) == 0 \
62 && (shdr)->sh_type != SHT_NOTE \
63 && (((shdr)->sh_type) != SHT_PROGBITS \
71 && (shdr)->sh_type < SHT_NUM)
83 #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)
elf32_getshdr.c 69 static ElfW2(LIBELFBITS,Shdr) *
72 ElfW2(LIBELFBITS,Shdr) *result;
79 result = scn->shdr.ELFW(e,LIBELFBITS);
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);
92 if (elf->state.ELFW(elf,LIBELFBITS).shdr == NULL)
101 ElfW2(LIBELFBITS,Shdr) *notcvt
    [all...]
gelf_xlate.h 64 TYPE (Shdr, LIBELFBITS)
elf32_updatefile.c 80 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset
81 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset)
84 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset
85 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset)
88 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_size
89 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_size)
92 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_size
93 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_size)
238 #define shdr_dest ((ElfW2(LIBELFBITS,Shdr) *) shdr_start)
251 && scn->shdr.ELFW(e,LIBELFBITS) != &shdr_dest[scn->index]
    [all...]
abstract.h 104 START (32, Shdr, Ext##Shdr) \
115 END (32, Ext##Shdr)
117 START (64, Shdr, Ext##Shdr) \
128 END (64, Ext##Shdr)
elf32_updatenull.c 203 update_if_changed (scn0->shdr.ELFW(e,LIBELFBITS)->sh_size,
212 if (list->data[1].shdr.ELFW(e,LIBELFBITS) == NULL)
220 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS);
223 assert (shdr != NULL);
224 ElfW2(LIBELFBITS,Word) sh_entsize = shdr->sh_entsize;
225 ElfW2(LIBELFBITS,Word) sh_align = shdr->sh_addralign ?: 1;
228 switch (shdr->sh_type)
271 update_if_changed (shdr->sh_entsize, sh_entsize
    [all...]
  /external/llvm/tools/obj2yaml/
elf2yaml.cpp 30 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);
144 if (!Shdr)
147 NameOrErr = Obj.getSectionName(Shdr);
157 std::error_code ELFDumper<ELFT>::dumpRelocation(const Elf_Shdr *Shdr,
    [all...]
  /external/chromium_org/base/third_party/symbolize/
symbolize.h 100 ElfW(Shdr) *out);
symbolize.cc 201 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/
elfxx.c 36 static Elf_W (Shdr)*
51 return (Elf_W (Shdr) *) ((char *) ei->image + soff);
59 Elf_W (Shdr) *str_shdr;
67 Debug (1, "string shdr table outside of image? (%lu > %lu)\n",
72 str_shdr = (Elf_W (Shdr) *) ((char *) ei->image + str_soff);
97 Elf_W (Shdr) *shdr;
105 shdr = elf_w (section_table) (ei);
106 if (!shdr)
111 switch (shdr->sh_type
    [all...]
  /bionic/libc/bionic/
vdso.cpp 75 ElfW(Shdr)* vdso_shdr = reinterpret_cast<ElfW(Shdr)*>(vdso_ehdr_addr + vdso_ehdr->e_shoff);
  /frameworks/compile/mclinker/include/mcld/ADT/
SizeTraits.h 56 typedef llvm::ELF::Elf32_Shdr Shdr;
77 typedef llvm::ELF::Elf64_Shdr Shdr;
  /ndk/sources/host-tools/ndk-depends/
ndk-depends.cc 400 struct Shdr {
441 struct Shdr {
466 typedef typename ELF::Shdr Shdr;
499 if (table_entry_size_ < static_cast<Half>(sizeof(Shdr))) {
538 Word sh_type = GetWordAt(table_offset + offsetof(Shdr, sh_type));
540 *size = GetOffAt(table_offset + offsetof(Shdr, sh_size));
541 return GetOffAt(table_offset + offsetof(Shdr, sh_offset));
555 Word sh_type = GetWordAt(table_offset + offsetof(Shdr, sh_type));
557 return GetWordAt(table_offset + offsetof(Shdr, sh_link))
    [all...]
  /frameworks/compile/mclinker/lib/LD/
ELFObjectWriter.cpp 196 sizeof(ELFSizeTraits<32>::Shdr) * pModule.size();
199 sizeof(ELFSizeTraits<64>::Shdr) * pModule.size();
213 typedef typename ELFSizeTraits<SIZE>::Shdr ElfXX_Shdr;
309 typedef typename ELFSizeTraits<SIZE>::Shdr ElfXX_Shdr;
316 ElfXX_Shdr* shdr = (ElfXX_Shdr*)region.begin(); local
323 shdr[sectIdx].sh_name = shstridx;
324 shdr[sectIdx].sh_type = ld_sect->type();
325 shdr[sectIdx].sh_flags = ld_sect->flag();
326 shdr[sectIdx].sh_addr = ld_sect->addr();
327 shdr[sectIdx].sh_offset = ld_sect->offset()
    [all...]
  /external/libunwind/src/dwarf/
Gfind_proc_info-lsb.c 99 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/
ELFDumper.cpp 167 for (const auto &Shdr : Obj->sections())
168 if (Shdr.sh_addr == Addr)
169 return &Shdr;
    [all...]
  /external/qemu/tcg/
tcg.c     [all...]

Completed in 860 milliseconds