Home
last modified time | relevance | path

Searched refs:elf_getscn (Results 1 – 25 of 42) sorted by relevance

12

/external/elfutils/src/
Delflint.c309 shdr = gelf_getshdr (elf_getscn (ebl->elf, idx), &shdr_mem); in section_name()
433 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
450 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
482 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
563 Elf_Scn *scn = elf_getscn (ebl->elf, cnt); in check_scn_group()
607 Elf_Data *data = elf_getdata (elf_getscn (ebl->elf, idx), NULL); in check_symtab()
616 GElf_Shdr *strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), in check_symtab()
636 Elf_Scn *xndxscn = elf_getscn (ebl->elf, cnt); in check_symtab()
786 destshdr = gelf_getshdr (elf_getscn (ebl->elf, xndx), &destshdr_mem); in check_symtab()
946 GElf_Shdr *destshdr = gelf_getshdr (elf_getscn (ebl->elf, xndx), in check_symtab()
[all …]
Dunstrip.c254 Elf_Scn *scn0 = elf_getscn (outelf, 0); in copy_elf()
394 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, i), &shdr_mem); in symtab_count_leading_section_symbols()
659 GElf_Shdr *i_shdr = gelf_getshdr (elf_getscn (elf, i), &i_shdr_mem); in add_new_section_symbols()
869 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (outelf, s->shndx), in collect_symbols()
1022 Elf_Scn *symscn = elf_getscn (elf, shdr->sh_link); in get_group_sig()
1174 sec->scn = elf_getscn (main, i + 1); /* Really just for ndx. */ in find_alloc_sections_prelink()
1326 Elf_Scn *scn = elf_getscn (unstripped, i + 1); in new_shstrtab()
1338 Elf_Data *strtab_data = elf_getdata (elf_getscn (unstripped, in new_shstrtab()
1349 Elf_Scn *scn = elf_getscn (unstripped, i + 1); in new_shstrtab()
1443 Elf_Data *shstrtab = elf_getdata (elf_getscn (unstripped, in copy_elided_sections()
[all …]
Dstrip.c378 Elf_Scn *sec = elf_getscn (elf, ndx); in secndx_name()
428 Elf_Scn *scn0 = elf_getscn (elf, 0); in update_shdrstrndx()
465 Elf_Scn *tscn = elf_getscn (elf, shdr->sh_info); in remove_debug_relocations()
514 Elf_Scn * symscn = elf_getscn (elf, symt); in remove_debug_relocations()
1828 scn = elf_getscn (newelf, shdr_info[cnt].idx); in handle_elf()
2100 scn = elf_getscn (newelf, shdr_info[cnt].idx); in handle_elf()
2138 Elf_Data *debugdata = elf_getdata (elf_getscn (debugelf, in handle_elf()
2176 ? elf_getscn (debugelf, cnt) in handle_elf()
2177 : elf_getscn (newelf, in handle_elf()
2237 scn = elf_getscn (newelf, shdr_info[cnt].idx); in handle_elf()
[all …]
Delfcompress.c180 Elf_Scn *zscn = elf_getscn (elf, 0); in setshdrstrndx()
994 scn = elf_getscn (elfnew, shdrstrndx); in process_file()
1052 Elf_Scn *oldscn = elf_getscn (elf, shdrstrndx); in process_file()
1193 Elf_Scn *oldscn = elf_getscn (elf, symtabndx); in process_file()
Dobjdump.c371 destshdr = gelf_getshdr (elf_getscn (ebl->elf, in show_relocs_x()
492 GElf_Shdr *destshdr = gelf_getshdr (elf_getscn (ebl->elf, in show_relocs()
509 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in show_relocs()
/external/elfutils/tests/
Dupdate4.c296 elf32_getshdr (elf_getscn (elf, 1))->sh_name = dwelf_strent_off (firstse); in main()
297 elf32_getshdr (elf_getscn (elf, 2))->sh_name = dwelf_strent_off (secondse); in main()
298 elf32_getshdr (elf_getscn (elf, 3))->sh_name = dwelf_strent_off (thirdse); in main()
299 elf32_getshdr (elf_getscn (elf, 4))->sh_name = dwelf_strent_off (fourthse); in main()
Dnewdata.c42 Elf_Scn *scn = elf_getscn (elf, 1); in add_section_data()
172 Elf_Scn *scn = elf_getscn (elf, 1); in check_section_size()
200 Elf_Scn *scn = elf_getscn (elf, 1); in check_section_data()
313 Elf_Scn *scn = elf_getscn (elf, 1); in check_elf()
Ddwflsyms.c91 Elf_Scn *scn = elf_getscn (elf, shndx); in elf_section_name()
101 Elf_Scn *scn = elf_getscn (elf, shndx); in addr_in_section()
Daddsections.c54 Elf_Scn *zscn = elf_getscn (elf, 0); in setshstrndx()
104 Elf_Scn *shstrtab_scn = elf_getscn (elf, shstrndx); in add_sections()
Delfstrtab.c250 scn = elf_getscn (elf, ndx); in check_elf()
301 scn = elf_getscn (elf, ndx); in check_elf()
Dzstrptr.c75 Elf_Scn *scn = elf_getscn (elf, ndx); in main()
Dasm-tst7.c102 scn = elf_getscn (elf, cnt); in main()
Delfstrmerge.c184 Elf_Scn *shdrstrscn = elf_getscn (elf, shdrstrndx); in main()
220 Elf_Scn *strtabscn = elf_getscn (elf, strtabndx); in main()
400 Elf_Scn *zscn = elf_getscn (elfnew, 0); in main()
Dasm-tst8.c103 scn = elf_getscn (elf, cnt); in main()
Dsectiondump.c63 if (handle_section (elf, elf_getscn (elf, atoi (argv[cnt]))) != 0) in main()
Dasm-tst1.c160 scn = elf_getscn (elf, cnt); in main()
Dasm-tst2.c176 scn = elf_getscn (elf, cnt); in main()
/external/elfutils/libelf/
Delf_getscn.c42 elf_getscn (Elf *elf, size_t idx) in elf_getscn() function
120 INTDEF(elf_getscn)
Dlibelf.map39 elf_getscn;
/external/elfutils/libasm/
Dasm_end.c89 Elf_Scn *scn = elf_getscn (ctx->out.elf, asmscn->data.main.scnndx); in binary_end()
386 Elf_Scn *scn = elf_getscn (ctx->out.elf, symscnndx); in binary_end()
397 scn = elf_getscn (ctx->out.elf, strscnndx); in binary_end()
409 scn = elf_getscn (ctx->out.elf, xndxscnndx); in binary_end()
445 Elf_Scn *scn = elf_getscn (ctx->out.elf, 0); in binary_end()
Ddisasm_cb.c93 xndxdata = elf_getdata (elf_getscn (ctx->elf, xndxscnidx), NULL); in read_symtab_exec()
/external/elfutils/libebl/
Deblsectionstripp.c51 Elf_Scn *scn_l = elf_getscn (ebl->elf, (shdr)->sh_info); in ebl_section_strip_p()
/external/elfutils/libdwfl/
Dderelocate.c153 Elf_Scn *tscn = elf_getscn (mod->main.elf, shdr->sh_info); in cache_sections()
212 Elf_Scn *tscn = elf_getscn (mod->main.elf, shdr->sh_info); in cache_sections()
Drelocate.c52 Elf_Scn *refscn = elf_getscn (elf, shndx); in __libdwfl_relocate_value()
221 Elf_Scn *scn = elf_getscn (symtab->symelf, symtab->strtabndx); in resolve_symbol()
781 Elf_Scn *tscn = elf_getscn (debugfile, shdr->sh_info); in __libdwfl_relocate()
/external/perf_data_converter/src/quipper/
Ddso.cc36 if (!elf_rawdata(elf_getscn(elf, shstrndx), nullptr)) return nullptr; in FindElfSection()

12