Home
last modified time | relevance | path

Searched refs:gelf_fsize (Results 1 – 25 of 26) sorted by relevance

12

/external/elfutils/libelf/
Dgelf_fsize.c83 gelf_fsize (Elf *elf, Elf_Type type, size_t count, unsigned int version) in gelf_fsize() function
108 INTDEF(gelf_fsize)
Dlibelf.map58 gelf_fsize;
Dnlist.c133 / INTUSE(gelf_fsize) (elf, ELF_T_SYM, 1, EV_CURRENT)); in nlist()
DAndroid.mk86 gelf_fsize.c \
DMakefile.am47 elf32_fsize.c elf64_fsize.c gelf_fsize.c \
Dgelf.h159 extern size_t gelf_fsize (Elf *__elf, Elf_Type __type, size_t __count,
DChangeLog69 * gelf_fsize.c (__libelf_type_sizes): Add ELF_T_CHDR.
258 * nlist.c (nlist): Call gelf_fsize with EV_CURRENT.
508 * gelf.h (gelf_fsize): Fix typo in comment.
582 * gelf_fsize.c (__libelf_type_sizes): Add entries for ELF_T_LIB
1002 * gelf_fsize.c (__libelf_type_sizes): Likewise.
/external/elfutils/src/
Dstrip.c849 size_t elsize = gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT); in handle_elf()
1260 size_t elsize = gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT); in handle_elf()
1497 size_t symsize = gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT); in handle_elf()
1568 size_t elsize = gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT); in handle_elf()
1628 size_t elsize = gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT); in handle_elf()
1697 size_t symz = gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT); in handle_elf()
1708 size_t elsize = gelf_fsize (elf, verd->d_type, 1, EV_CURRENT); in handle_elf()
1718 verd->d_size = gelf_fsize (newelf, verd->d_type, in handle_elf()
1720 / gelf_fsize (elf, symd->d_type, 1, in handle_elf()
1737 size_t symsz = gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT); in handle_elf()
[all …]
Delfcompress.c415 + gelf_fsize (elf, ELF_T_PHDR, phnum, EV_CURRENT)); in process_file()
916 size_t elsize = gelf_fsize (elfnew, ELF_T_SYM, 1, EV_CURRENT); in process_file()
1121 size_t elsize = gelf_fsize (elfnew, ELF_T_SYM, 1, EV_CURRENT); in process_file()
1210 const size_t offsize = gelf_fsize (elfnew, ELF_T_OFF, 1, EV_CURRENT); in process_file()
Dxelf.h159 : gelf_fsize (elf, type, cnt, EV_CURRENT))
291 : gelf_fsize (elf, type, cnt, EV_CURRENT))
390 gelf_fsize (elf, type, cnt, EV_CURRENT)
Delflint.c639 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_SYM, 1, EV_CURRENT); in check_symtab()
1271 size_t sh_entsize = gelf_fsize (ebl->elf, reltype, 1, EV_CURRENT); in check_reloc_shdr()
1374 * gelf_fsize (ebl->elf, ELF_T_SYM, 1, EV_CURRENT) in check_one_reloc()
1495 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_RELA, 1, EV_CURRENT); in check_rela()
1546 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT); in check_rel()
1653 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_DYN, 1, EV_CURRENT); in check_dynamic()
2613 if (shdr->sh_info >= symshdr->sh_size / gelf_fsize (ebl->elf, ELF_T_SYM, in check_group()
3085 if (need->vn_cnt > 0 && need->vn_aux < gelf_fsize (ebl->elf, ELF_T_VNEED, in check_verneed()
3152 && aux->vna_next < gelf_fsize (ebl->elf, ELF_T_VNAUX, 1, in check_verneed()
3162 gelf_fsize (ebl->elf, ELF_T_VNAUX, 1, EV_CURRENT)); in check_verneed()
[all …]
Dobjdump.c417 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT); in show_relocs_rel()
438 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_RELA, 1, EV_CURRENT); in show_relocs_rela()
Dunstrip.c1023 src.d_size = gelf_fsize (main, ELF_T_EHDR, 1, EV_CURRENT); in find_alloc_sections_prelink()
1042 size_t phsize = gelf_fsize (main, ELF_T_PHDR, phnum, EV_CURRENT); in find_alloc_sections_prelink()
1044 src.d_size = gelf_fsize (main, ELF_T_SHDR, shnum - 1, EV_CURRENT); in find_alloc_sections_prelink()
1878 offset = gelf_fsize (unstripped, ELF_T_EHDR, 1, EV_CURRENT); in copy_elided_sections()
Dreadelf.c1669 sh_entsize = gelf_fsize (ebl->elf, ELF_T_DYN, 1, EV_CURRENT); in handle_dynamic()
1837 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT); in handle_relocs_rel()
2027 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_RELA, 1, EV_CURRENT); in handle_relocs_rela()
2942 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_HALF, 1, EV_CURRENT); in handle_versym()
3356 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_LIB, 1, EV_CURRENT); in print_liblist()
8451 .d_size = size ?: gelf_fsize (core, type, count, EV_CURRENT), in convert()
8501 size_t size = gelf_fsize (core, item->type, count, EV_CURRENT); in handle_core_item()
8811 size_t eltsz = item->offset + gelf_fsize (core, item->type, in handle_core_items()
9091 const size_t nauxv = descsz / gelf_fsize (core, ELF_T_AUXV, 1, EV_CURRENT); in handle_auxv_note()
9175 size_t sz = gelf_fsize (core, ELF_T_ADDR, 1, EV_CURRENT); in buf_read_ulong()
[all …]
Dnm.c1230 || entsize != gelf_fsize (ebl->elf, ELF_T_SYM, 1, EV_CURRENT)) in show_symbols()
DChangeLog340 * nm.c (show_symbols): Call gelf_fsize with EV_CURRENT.
589 (show_relocs_rel): Don't rely on shdr->sh_entsize, use gelf_fsize.
879 Use gelf_fsize instead of relying on shdr->sh_entsize.
/external/elfutils/tests/
Delfstrmerge.c263 + gelf_fsize (elf, ELF_T_PHDR, phnum, EV_CURRENT)); in main()
293 size_t elsize = gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT); in main()
514 / gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT)); in main()
632 const size_t offsize = gelf_fsize (elf, ELF_T_OFF, 1, EV_CURRENT); in main()
Dasm-tst7.c123 / gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT)); in main()
Dasm-tst8.c124 / gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT)); in main()
Dasm-tst3.c243 / gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT)); in main()
/external/elfutils/libdwfl/
Drelocate.c544 size_t ehsize = gelf_fsize (relocated, ELF_T_EHDR, 1, EV_CURRENT); in relocate_section()
554 size_t shentsize = gelf_fsize (relocated, ELF_T_SHDR, 1, EV_CURRENT); in relocate_section()
569 size_t phentsize = gelf_fsize (relocated, ELF_T_PHDR, 1, EV_CURRENT); in relocate_section()
587 = gelf_fsize (relocated, shdr->sh_type == SHT_REL ? ELF_T_REL : ELF_T_RELA, in relocate_section()
Ddwfl_module_getdwarf.c320 src.d_size = gelf_fsize (mod->main.elf, ELF_T_EHDR, 1, EV_CURRENT); in find_prelink_address_sync()
327 size_t shentsize = gelf_fsize (mod->main.elf, ELF_T_SHDR, 1, EV_CURRENT); in find_prelink_address_sync()
328 size_t phentsize = gelf_fsize (mod->main.elf, ELF_T_PHDR, 1, EV_CURRENT); in find_prelink_address_sync()
433 src.d_size = gelf_fsize (mod->main.elf, ELF_T_SHDR, shnum - 1, EV_CURRENT); in find_prelink_address_sync()
785 / gelf_fsize (mod->main.elf, in translate_offs()
792 gelf_fsize (mod->main.elf, in translate_offs()
846 size_t n = data->d_size / gelf_fsize (mod->main.elf, in find_dynsym()
Dlink_map.c608 const size_t entsize = gelf_fsize (mod->main.elf, in consider_executable()
/external/elfutils/libasm/
Dasm_end.c172 data->d_size = gelf_fsize (ctx->out.elf, ELF_T_SYM, in binary_end()
281 shdr->sh_entsize = gelf_fsize (ctx->out.elf, ELF_T_SYM, 1, EV_CURRENT); in binary_end()
282 shdr->sh_addralign = gelf_fsize (ctx->out.elf, ELF_T_ADDR, 1, in binary_end()
/external/elfutils/libebl/
Deblobjnote.c67 size_t addrs_size = gelf_fsize (ebl->elf, ELF_T_ADDR, 3, EV_CURRENT); in ebl_object_note()

12