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

  /external/elfutils/0.153/libelf/
elf32_newphdr.c 91 elf->class = ELFW(ELFCLASS,LIBELFBITS);
92 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS)))
99 if (unlikely (elf->state.ELFW(elf,LIBELFBITS).ehdr == NULL))
110 if (elf->state.ELFW(elf,LIBELFBITS).phdr != NULL)
112 if (elf->state.ELFW(elf,LIBELFBITS).phdr_flags & ELF_F_MALLOCED)
113 free (elf->state.ELFW(elf,LIBELFBITS).phdr);
116 elf->state.ELFW(elf,LIBELFBITS).phdr = NULL;
118 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = 0;
120 if (elf->state.ELFW(elf,LIBELFBITS).scns.cnt > 0)
121 elf->state.ELFW(elf,LIBELFBITS).scns.data[0
    [all...]
elf32_newehdr.c 83 elf->class = ELFW(ELFCLASS,LIBELFBITS);
84 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS)))
92 if (elf->state.ELFW(elf,LIBELFBITS).ehdr == NULL)
95 elf->state.ELFW(elf,LIBELFBITS).ehdr =
96 &elf->state.ELFW(elf,LIBELFBITS).ehdr_mem;
99 memset (elf->state.ELFW(elf,LIBELFBITS).ehdr, '\0',
103 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY;
106 result = elf->state.ELFW(elf,LIBELFBITS).ehdr;
elf32_getphdr.c 78 result = elf->state.ELFW(elf,LIBELFBITS).phdr;
83 elf->class = ELFW(ELFCLASS,LIBELFBITS);
84 else if (elf->class != ELFW(ELFCLASS,LIBELFBITS))
94 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
125 elf->state.ELFW(elf,LIBELFBITS).phdr = file_phdr;
133 phdr = elf->state.ELFW(elf,LIBELFBITS).phdr =
135 if (elf->state.ELFW(elf,LIBELFBITS).phdr == NULL)
140 elf->state.ELFW(elf,LIBELFBITS).phdr_flags |=
181 elf->state.ELFW(elf,LIBELFBITS).phdr =
183 if (elf->state.ELFW(elf,LIBELFBITS).phdr == NULL
    [all...]
elf32_offscn.c 80 Elf_ScnList *runp = &elf->state.ELFW(elf,LIBELFBITS).scns;
85 && unlikely (runp->data[0].shdr.ELFW(e,LIBELFBITS) == NULL)
97 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_offset == offset)
104 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_size != 0)
elf32_xlatetof.c 77 size_t recsize = __libelf_type_sizes[src->d_version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
79 size_t recsize = __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
128 fctp = __elf_xfctstom[dest->d_version - 1][src->d_version - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
130 fctp = __elf_xfctstom[0][0][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
elf32_xlatetom.c 77 size_t recsize = __libelf_type_sizes[src->d_version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
79 size_t recsize = __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
129 fctp = __elf_xfctstom[src->d_version - 1][dest->d_version - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
131 fctp = __elf_xfctstom[0][0][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
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)
132 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
135 if ((elf->state.ELFW(elf,LIBELFBITS).ehdr_flags | elf->flags) & ELF_F_DIRTY
    [all...]
elf32_getshdr.c 76 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
79 result = scn->shdr.ELFW(e,LIBELFBITS);
90 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr =
92 if (elf->state.ELFW(elf,LIBELFBITS).shdr == NULL)
97 elf->state.ELFW(elf,LIBELFBITS).shdr_malloced = 1;
154 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index
159 if (elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index == 0)
160 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index
169 elf->state.ELFW(elf,LIBELFBITS).shdr, size,
203 elf->state.ELFW(elf,LIBELFBITS).shdr = NULL
    [all...]
elf32_updatenull.c 72 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr,
79 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY;
83 update_if_changed (ehdr->e_ident[EI_CLASS], ELFW(ELFCLASS,LIBELFBITS),
84 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags);
91 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY;
106 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags);
118 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags);
122 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags);
127 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY;
145 if (ELFW(default_ehdr,LIBELFBITS) (elf, ehdr, shnum, change_bop) != 0
    [all...]
elf32_fsize.c 85 * __libelf_type_sizes[version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][type]);
88 * __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][type]);
elf32_getehdr.c 89 elf->class = ELFW(ELFCLASS,LIBELFBITS);
91 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS)))
97 return elf->state.ELFW(elf,LIBELFBITS).ehdr;
elf32_checksum.c 102 ident = elf->state.ELFW(elf,LIBELFBITS).ehdr->e_ident;
libelfP.h 80 #define ELFW(Name, Bits) ELFW_(Name, Bits)
433 (__libelf_type_sizes[EV_CURRENT - 1][ELFW(ELFCLASS,class) - 1][type] * n)
  /bionic/linker/
dlfcn.cpp 102 ElfW(Sym)* sym = nullptr;
148 ElfW(Sym)* sym = dladdr_find_symbol(si, addr);
197 static ElfW(Sym) g_libdl_symtab[] = {
202 ELFW(SYM_INITIALIZER)(sizeof(ANDROID_LIBDL_STRTAB) - 1, nullptr, 0),
203 ELFW(SYM_INITIALIZER)( 0, &dlopen, 1),
204 ELFW(SYM_INITIALIZER)( 7, &dlclose, 1),
205 ELFW(SYM_INITIALIZER)( 15, &dlsym, 1),
206 ELFW(SYM_INITIALIZER)( 21, &dlerror, 1),
207 ELFW(SYM_INITIALIZER)( 29, &dladdr, 1),
208 ELFW(SYM_INITIALIZER)( 36, &android_update_LD_LIBRARY_PATH, 1)
    [all...]
linker.h 58 #define ELFW(what) ELF64_ ## what
60 #define ELFW(what) ELF32_ ## what
119 const ElfW(Phdr)* phdr;
121 ElfW(Addr) entry;
122 ElfW(Addr) base;
129 ElfW(Dyn)* dynamic;
142 ElfW(Sym)* symtab;
152 ElfW(Addr)** plt_got;
156 ElfW(Rela)* plt_rela;
159 ElfW(Rela)* rela
    [all...]
linker.cpp 84 static ElfW(Addr) get_elf_exec_load_bias(const ElfW(Ehdr)* elf);
418 static ElfW(Sym)* soinfo_elf_lookup(soinfo* si, unsigned hash, const char* name) {
419 ElfW(Sym)* symtab = si->symtab;
425 ElfW(Sym)* s = symtab + n;
482 static ElfW(Sym)* soinfo_do_lookup(soinfo* si, const char* name, soinfo** lsi) {
484 ElfW(Sym)* s = nullptr;
646 ElfW(Sym)* dlsym_handle_lookup(soinfo* si, soinfo** found, const char* name) {
657 ElfW(Sym)* result = soinfo_elf_lookup(current_soinfo, elfhash(name), name);
678 ElfW(Sym)* dlsym_linear_lookup(const char* name, soinfo** found, soinfo* start)
    [all...]

Completed in 306 milliseconds