Home
last modified time | relevance | path

Searched refs:symscn (Results 1 – 10 of 10) sorted by relevance

/external/elfutils/libelf/
Dnlist.c65 Elf_Scn *symscn = NULL; in nlist() local
102 symscn = scn; in nlist()
108 symscn = scn; in nlist()
111 if (symscn == NULL) in nlist()
119 shdr = INTUSE(gelf_getshdr) (symscn, &shdr_mem); in nlist()
126 data = INTUSE(elf_getdata) (symscn, NULL); in nlist()
DChangeLog584 * nlist.c (nlist): Check symscn shdr exists before use.
/external/elfutils/src/
Dfindtextrel.c92 GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw,
239 Elf_Scn *symscn = NULL; in process_file() local
244 && (!seen_dynamic || symscn == NULL)) in process_file()
291 symscn = scn; in process_file()
401 && symscn == NULL) in process_file()
403 symscn = elf_getscn (elf, shdr->sh_link); in process_file()
404 if (symscn == NULL) in process_file()
435 symscn, dw, fname, more_than_one, &knownsrcs); in process_file()
458 symscn, dw, fname, more_than_one, &knownsrcs); in process_file()
493 GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw, in check_rel() argument
[all …]
Dobjdump.c509 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in show_relocs() local
511 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in show_relocs()
512 Elf_Data *symdata = elf_getdata (symscn, NULL); in show_relocs()
526 && xndxshdr->sh_link == elf_ndxscn (symscn)) in show_relocs()
Dunstrip.c619 Elf *elf, bool rel, Elf_Scn *symscn, size_t shnum) in add_new_section_symbols() argument
624 GElf_Shdr *shdr = gelf_getshdr (symscn, &shdr_mem); in add_new_section_symbols()
634 update_shdr (symscn, shdr); in add_new_section_symbols()
636 Elf_Data *symdata = elf_getdata (symscn, NULL); in add_new_section_symbols()
694 adjust_all_relocs (elf, symscn, shdr, symndx_map, nsym - 1); in add_new_section_symbols()
836 collect_symbols (Elf *outelf, bool rel, Elf_Scn *symscn, Elf_Scn *strscn, in collect_symbols() argument
841 Elf_Data *symdata = elf_getdata (symscn, NULL); in collect_symbols()
1032 Elf_Scn *symscn = elf_getscn (elf, shdr->sh_link); in get_group_sig() local
1033 if (symscn == NULL) in get_group_sig()
1038 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in get_group_sig()
[all …]
Delflint.c1506 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_rela() local
1508 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in check_rela()
1509 Elf_Data *symdata = elf_getdata (symscn, NULL); in check_rela()
1557 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_rel() local
1559 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in check_rel()
1560 Elf_Data *symdata = elf_getdata (symscn, NULL); in check_rel()
1936 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_symtab_shndx() local
1938 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in check_symtab_shndx()
1947 Elf_Data *symdata = elf_getdata (symscn, NULL); in check_symtab_shndx()
2629 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_group() local
[all …]
Dstrip.c387 get_xndxdata (Elf *elf, Elf_Scn *symscn) in get_xndxdata() argument
391 GElf_Shdr *shdr = gelf_getshdr (symscn, &shdr_mem); in get_xndxdata()
394 size_t scnndx = elf_ndxscn (symscn); in get_xndxdata()
514 Elf_Scn * symscn = elf_getscn (elf, symt); in remove_debug_relocations() local
515 symdata = elf_getdata (symscn, NULL); in remove_debug_relocations()
516 xndxdata = get_xndxdata (elf, symscn); in remove_debug_relocations()
Dreadelf.c1585 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in handle_scngrp() local
1587 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in handle_scngrp()
1588 Elf_Data *symdata = elf_getdata (symscn, NULL); in handle_scngrp()
1978 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in handle_relocs_rel() local
1980 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in handle_relocs_rel()
1981 Elf_Data *symdata = elf_getdata (symscn, NULL); in handle_relocs_rel()
2168 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in handle_relocs_rela() local
2170 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in handle_relocs_rela()
2171 Elf_Data *symdata = elf_getdata (symscn, NULL); in handle_relocs_rela()
/external/elfutils/libasm/
Dasm_end.c160 Elf_Scn *symscn = elf_newscn (ctx->out.elf); in binary_end() local
161 data = elf_newdata (symscn); in binary_end()
162 shdr = gelf_getshdr (symscn, &shdr_mem); in binary_end()
168 symscnndx = elf_ndxscn (symscn); in binary_end()
285 (void) gelf_update_shdr (symscn, shdr); in binary_end()
/external/elfutils/libdwfl/
Ddwfl_module_getdwarf.c605 Elf_Scn **symscn, Elf_Scn **xndxscn, in load_symtab() argument
620 *symscn = scn; in load_symtab()
635 *symscn = scn; in load_symtab()
1065 Elf_Scn *symscn = NULL, *xndxscn = NULL; in find_symtab() local
1068 mod->symerr = load_symtab (&mod->main, &mod->symfile, &symscn, in find_symtab()
1088 mod->symerr = load_symtab (&mod->debug, &mod->symfile, &symscn, in find_symtab()
1110 if (symscn != NULL) in find_symtab()
1195 shdr = gelf_getshdr (symscn, &shdr_mem); in find_symtab()
1200 if (elf_compress (symscn, 0, 0) < 0) in find_symtab()
1203 mod->symdata = elf_getdata (symscn, NULL); in find_symtab()
[all …]