Home
last modified time | relevance | path

Searched refs:elf_getscn (Results 1 - 25 of 44) sorted by relevance

12

/third_party/elfutils/libelf/
H A Delf_getscn.c42 elf_getscn (Elf *elf, size_t idx) in elf_getscn() function
120 INTDEF(elf_getscn)
/third_party/elfutils/tests/
H A Dnewdata.c43 Elf_Scn *scn = elf_getscn (elf, 1); in add_section_data()
173 Elf_Scn *scn = elf_getscn (elf, 1); in check_section_size()
201 Elf_Scn *scn = elf_getscn (elf, 1); in check_section_data()
314 Elf_Scn *scn = elf_getscn (elf, 1); in check_elf()
H A Dupdate4.c297 elf32_getshdr (elf_getscn (elf, 1))->sh_name = dwelf_strent_off (firstse); in main()
298 elf32_getshdr (elf_getscn (elf, 2))->sh_name = dwelf_strent_off (secondse); in main()
299 elf32_getshdr (elf_getscn (elf, 3))->sh_name = dwelf_strent_off (thirdse); in main()
300 elf32_getshdr (elf_getscn (elf, 4))->sh_name = dwelf_strent_off (fourthse); in main()
H A 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()
H A Daddsections.c54 Elf_Scn *zscn = elf_getscn (elf, 0); in setshstrndx()
104 Elf_Scn *shstrtab_scn = elf_getscn (elf, shstrndx); in add_sections()
H A Dzstrptr.c95 Elf_Scn *scn = elf_getscn (elf, ndx); in main()
H A Delfstrtab.c251 scn = elf_getscn (elf, ndx); in check_elf()
302 scn = elf_getscn (elf, ndx); in check_elf()
H A Delfstrmerge.c225 Elf_Scn *shdrstrscn = elf_getscn (elf, shdrstrndx); in main()
261 Elf_Scn *strtabscn = elf_getscn (elf, strtabndx); in main()
418 Elf_Scn *zscn = elf_getscn (elfnew, 0); in main()
H A Dasm-tst8.c104 scn = elf_getscn (elf, cnt); in main()
H A Dasm-tst7.c103 scn = elf_getscn (elf, cnt); in main()
H A Dsectiondump.c63 if (handle_section (elf, elf_getscn (elf, atoi (argv[cnt]))) != 0) in main()
H A Dasm-tst2.c177 scn = elf_getscn (elf, cnt); in main()
H A Dasm-tst1.c161 scn = elf_getscn (elf, cnt); in main()
/third_party/elfutils/src/
H A Delflint.c308 shdr = gelf_getshdr (elf_getscn (ebl->elf, idx), &shdr_mem); in section_name()
432 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
449 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
481 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (ebl->elf, 0), &shdr_mem); in check_elf_header()
562 Elf_Scn *scn = elf_getscn (ebl->elf, cnt); in check_scn_group()
606 Elf_Data *data = elf_getdata (elf_getscn (ebl->elf, idx), NULL); in check_symtab()
615 GElf_Shdr *strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), in check_symtab()
635 Elf_Scn *xndxscn = elf_getscn (ebl->elf, cnt); in check_symtab()
789 destshdr = gelf_getshdr (elf_getscn (ebl->elf, xndx), &destshdr_mem); in check_symtab()
949 GElf_Shdr *destshdr = gelf_getshdr (elf_getscn (eb in check_symtab()
[all...]
H A Dunstrip.c250 Elf_Scn *scn0 = elf_getscn (outelf, 0); in copy_elf()
396 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (elf, i), &shdr_mem); in symtab_count_leading_section_symbols()
671 GElf_Shdr *i_shdr = gelf_getshdr (elf_getscn (elf, i), &i_shdr_mem); in add_new_section_symbols()
887 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (outelf, s->shndx), in collect_symbols()
1040 Elf_Scn *symscn = elf_getscn (elf, shdr->sh_link); in get_group_sig()
1206 sec->scn = elf_getscn (main, i + 1); /* Really just for ndx. */ in find_alloc_sections_prelink()
1348 Elf_Scn *scn = elf_getscn (unstripped, i + 1); in new_shstrtab()
1361 Elf_Data *strtab_data = elf_getdata (elf_getscn (unstripped, in new_shstrtab()
1372 Elf_Scn *scn = elf_getscn (unstripped, i + 1); in new_shstrtab()
1457 Elf_Data *shstrtab = elf_getdata (elf_getscn (unstrippe in copy_elided_sections()
[all...]
H A Dstrip.c375 Elf_Scn *sec = elf_getscn (elf, ndx); in secndx_name()
425 Elf_Scn *scn0 = elf_getscn (elf, 0); in update_shdrstrndx()
584 Elf_Scn *tscn = elf_getscn (elf, shdr->sh_info); in remove_debug_relocations()
634 Elf_Scn * symscn = elf_getscn (elf, symt); in remove_debug_relocations()
969 Elf_Data *debugdata = elf_getdata (elf_getscn (debugelf, in update_section_size()
1882 scn = elf_getscn (newelf, shdr_info[cnt].idx); in handle_elf()
2155 scn = elf_getscn (newelf, shdr_info[cnt].idx); in handle_elf()
2207 ? elf_getscn (debugelf, cnt) in handle_elf()
2208 : elf_getscn (newelf, info->idx)); in handle_elf()
2263 scn = elf_getscn (newel in handle_elf()
[all...]
H A Delfcompress.c182 Elf_Scn *zscn = elf_getscn (elf, 0); in setshdrstrndx()
986 scn = elf_getscn (elfnew, shdrstrndx); in process_file()
1044 Elf_Scn *oldscn = elf_getscn (elf, shdrstrndx); in process_file()
1185 Elf_Scn *oldscn = elf_getscn (elf, symtabndx); in process_file()
H A Dobjdump.c370 destshdr = gelf_getshdr (elf_getscn (ebl->elf, in show_relocs_x()
491 GElf_Shdr *destshdr = gelf_getshdr (elf_getscn (ebl->elf, in show_relocs()
508 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in show_relocs()
/third_party/elfutils/libasm/
H A Dasm_end.c86 Elf_Scn *scn = elf_getscn (ctx->out.elf, asmscn->data.main.scnndx); in binary_end()
383 Elf_Scn *scn = elf_getscn (ctx->out.elf, symscnndx); in binary_end()
394 scn = elf_getscn (ctx->out.elf, strscnndx); in binary_end()
406 scn = elf_getscn (ctx->out.elf, xndxscnndx); in binary_end()
442 Elf_Scn *scn = elf_getscn (ctx->out.elf, 0); in binary_end()
H A Ddisasm_cb.c93 xndxdata = elf_getdata (elf_getscn (ctx->elf, xndxscnidx), NULL); in read_symtab_exec()
/third_party/elfutils/libebl/
H A Deblsectionstripp.c51 Elf_Scn *scn_l = elf_getscn (ebl->elf, (shdr)->sh_info); in ebl_section_strip_p()
/third_party/libabigail/src/
H A Dabg-elf-helpers.cc702 strtab_section = elf_getscn(elf_handle, symtab_shdr->sh_link); in find_strtab_for_symtab_section()
930 Elf_Scn* kcrctab_section = elf_getscn(elf_handle, crc_section_index); in get_crc_for_symbol()
1325 Elf_Scn* symbol_section = elf_getscn(elf_handle, sym->st_shndx); in maybe_adjust_et_rel_sym_addr_to_abs_addr()
1442 gelf_getshdr(elf_getscn(elf, in lookup_data_tag_from_dynamic_segment()
/third_party/elfutils/libdwfl/
H A Drelocate.c54 Elf_Scn *refscn = elf_getscn (elf, shndx); in __libdwfl_relocate_value()
223 Elf_Scn *scn = elf_getscn (symtab->symelf, symtab->strtabndx); in resolve_symbol()
783 Elf_Scn *tscn = elf_getscn (debugfile, shdr->sh_info); in __libdwfl_relocate()
H A 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()
/third_party/elfutils/libdw/
H A Ddwarf_begin_elf.c455 Elf_Scn *scn = elf_getscn (elf, scnidx[cnt]); in scngrp_read()
473 Elf_Scn *scn = elf_getscn (elf, scnidx[cnt]); in scngrp_read()

Completed in 22 milliseconds

12