/external/elfutils/libelf/ |
gelf_getshdr.c | 77 rwlock_rdlock (scn->elf->lock); 79 if (scn->elf->class == ELFCLASS32) 122 rwlock_unlock (scn->elf->lock);
|
gelf_getsym.c | 80 rwlock_rdlock (data_scn->s->elf->lock); 85 if (data_scn->s->elf->class == ELFCLASS32) 134 rwlock_unlock (data_scn->s->elf->lock);
|
gelf_update_auxv.c | 87 rwlock_wrlock (scn->elf->lock); 89 if (scn->elf->class == ELFCLASS32) 132 rwlock_unlock (scn->elf->lock);
|
gelf_update_dyn.c | 88 rwlock_wrlock (scn->elf->lock); 90 if (scn->elf->class == ELFCLASS32) 134 rwlock_unlock (scn->elf->lock);
|
gelf_update_rel.c | 85 rwlock_wrlock (scn->elf->lock); 87 if (scn->elf->class == ELFCLASS32) 132 rwlock_unlock (scn->elf->lock);
|
gelf_update_rela.c | 85 rwlock_wrlock (scn->elf->lock); 87 if (scn->elf->class == ELFCLASS32) 135 rwlock_unlock (scn->elf->lock);
|
gelf_update_sym.c | 89 rwlock_wrlock (scn->elf->lock); 91 if (scn->elf->class == ELFCLASS32) 143 rwlock_unlock (scn->elf->lock);
|
gelf_getsymshndx.c | 87 rwlock_rdlock (symdata_scn->s->elf->lock); 105 if (symdata_scn->s->elf->class == ELFCLASS32) 158 rwlock_unlock (symdata_scn->s->elf->lock);
|
gelf_update_symshndx.c | 95 the same ELF file. */ 96 rwlock_wrlock (scn->elf->lock); 117 if (scn->elf->class == ELFCLASS32) 173 rwlock_unlock (scn->elf->lock);
|
elf_flagdata.c | 1 /* Manipulate ELF data flag. 75 if (data_scn == NULL || unlikely (data_scn->s->elf->kind != ELF_K_ELF))
|
elf_flagscn.c | 1 /* Manipulate ELF section flags. 72 if (unlikely (scn->elf->kind != ELF_K_ELF))
|
elf_flagshdr.c | 1 /* Manipulate ELF section header flags. 72 if (unlikely (scn->elf->kind != ELF_K_ELF))
|
elf_rawdata.c | 65 if (scn == NULL || scn->elf->kind != ELF_K_ELF)
|
/external/elfutils/src/ |
nm.c | 1 /* Print symbol information from ELF file in human-readable form. 127 static int handle_ar (int fd, Elf *elf, const char *prefix, const char *fname, 130 /* Handle ELF file. */ 131 static int handle_elf (Elf *elf, const char *prefix, const char *fname, 367 /* Now get the ELF descriptor. */ 368 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); local 369 if (elf != NULL [all...] |
objdump.c | 1 /* Print information from ELF file in human-readable form. 96 static int handle_ar (int fd, Elf *elf, const char *prefix, const char *fname, 99 /* Handle ELF file. */ 100 static int handle_elf (Elf *elf, const char *prefix, const char *fname, 261 /* Now get the ELF descriptor. */ 262 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); local 263 if (elf != NULL [all...] |
findtextrel.c | 100 GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw, 231 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); local 232 if (elf == NULL) 234 error (0, 0, gettext ("cannot create ELF descriptor for '%s': %s"), 241 GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem); 244 error (0, 0, gettext ("cannot get ELF header '%s': %s"), 247 elf_end (elf); 263 while ((scn = elf_nextscn (elf, scn)) != NULL [all...] |
ranlib.c | 146 copy_content (Elf *elf, int newfd, off_t off, size_t n) 149 char *rawfile = elf_rawfile (elf, &len); 181 /* First we walk through the file, looking for all ELF files to 183 Elf *arelf = elf_begin (fd, ELF_C_READ_MMAP, NULL); 186 error (0, 0, gettext ("cannot create ELF descriptor for '%s': %s"), 206 Elf *elf; local 208 while ((elf = elf_begin (fd, cmd, arelf)) != NULL) 210 Elf_Arhdr *arhdr = elf_getarhdr (elf); [all...] |
/external/elfutils/tests/ |
asm-tst3.c | 69 Elf *elf; local 156 elf = elf_begin (fd, ELF_C_READ, NULL); 157 if (elf == NULL) 159 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); 163 if (elf_kind (elf) != ELF_K_ELF) 165 puts ("not a valid ELF file"); 170 ehdr = gelf_getehdr (elf, &ehdr_mem); 173 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); 184 scn = elf_getscn (elf, cnt) [all...] |
saridx.c | 99 Elf *elf; local 124 /* Set the ELF version we are using here. */ 127 puts ("ELF library too old"); 133 elf = elf_begin (fd, cmd, NULL); 134 if (elf == NULL) 141 if (elf_kind (elf) != ELF_K_AR) 150 Elf *subelf; 155 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 169 fputs ("ELF file:\n", stdout) [all...] |
asm-tst9.c | 97 Elf *elf; local 183 elf = elf_begin (fd, ELF_C_READ, NULL); 184 if (elf == NULL) 186 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); 190 if (elf_kind (elf) != ELF_K_ELF) 192 puts ("not a valid ELF file"); 197 ehdr = gelf_getehdr (elf, &ehdr_mem); 200 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); 207 puts ("ELF header does not match") [all...] |
/external/elfutils/libebl/ |
eblopenbackend.c | 1 /* Generate ELF backend handle. 67 as the ELF specification is concerned. */ 163 static bool default_reloc_valid_use (Elf *elf, int ignore); 165 static bool default_gotpc_reloc_check (Elf *elf, int ignore); 208 static bool default_check_special_symbol (Elf *elf, GElf_Ehdr *ehdr, 214 static bool default_bss_plt_p (Elf *elf, GElf_Ehdr *ehdr) [all...] |
/external/e2fsprogs/lib/ |
Makefile.solaris-lib | 2 # This is a Makefile stub which handles the creation of Linux ELF shared 36 installdirs-elf-lib:: 40 installdirs:: installdirs-elf-lib 42 install-shlibs install:: $(ELF_LIB) installdirs-elf-lib
|
/external/elfutils/libasm/ |
disasm_cb.c | 58 // XXX Look up in ELF file. 78 while ((scn = elf_nextscn (ctx->elf, scn)) != NULL) 90 xndxdata = elf_getdata (elf_getscn (ctx->elf, xndxscnidx), NULL); 118 GElf_Ehdr *ehdr = gelf_getehdr (ctx->elf, &ehdr_mem); 159 if (ctx->elf != NULL) 161 /* Read all symbols of the ELF file and stuff them into a hash
|
/external/qemu/elff/ |
elf_alloc.h | 29 /* Chunk size. Even on relatively small ELF files, there are a lot of DWARF
63 * Due to the implementation of ELF/DWARF framework in this library, data,
64 * collected during ELF/DWARF parsing stays in memory for as long, as instance
121 * Implements allocation of objects of derived classes from elf's "chunked"
125 * elf - ELF file instance that owns the allocating object.
129 void* operator new(size_t size, const ElfFile* elf);
|
/ndk/sources/host-tools/ndk-stack/elff/ |
elf_alloc.h | 29 /* Chunk size. Even on relatively small ELF files, there are a lot of DWARF 63 * Due to the implementation of ELF/DWARF framework in this library, data, 64 * collected during ELF/DWARF parsing stays in memory for as long, as instance 121 * Implements allocation of objects of derived classes from elf's "chunked" 125 * elf - ELF file instance that owns the allocating object. 129 void* operator new(size_t size, const ElfFile* elf);
|