Home
last modified time | relevance | path

Searched refs:symshdr (Results 1 – 5 of 5) sorted by relevance

/external/elfutils/src/
Delflint.c1373 size_t cnt, const GElf_Shdr *symshdr, Elf_Data *symdata, in check_one_reloc() argument
1393 if (symshdr != NULL in check_one_reloc()
1396 > symshdr->sh_size)) in check_one_reloc()
1413 && (name = elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)) in check_one_reloc()
1512 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in check_rela() local
1529 check_one_reloc (ebl, ehdr, shdr, idx, cnt, symshdr, symdata, in check_rela()
1563 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in check_rel() local
1580 check_one_reloc (ebl, ehdr, shdr, idx, cnt, symshdr, symdata, in check_rel()
1942 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in check_symtab_shndx() local
1943 if (symshdr != NULL && symshdr->sh_type != SHT_SYMTAB) in check_symtab_shndx()
[all …]
Dobjdump.c511 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in show_relocs() local
513 if (unlikely (symshdr == NULL || symdata == NULL)) in show_relocs()
536 symshdr->sh_link, shstrndx); in show_relocs()
539 symshdr->sh_link, shstrndx); in show_relocs()
Dunstrip.c438 size_t map[], size_t map_size, const GElf_Shdr *symshdr) in adjust_relocs() argument
501 if (symshdr->sh_entsize == 0) in adjust_relocs()
503 const size_t nsym = symshdr->sh_size / symshdr->sh_entsize; in adjust_relocs()
563 if (symshdr->sh_entsize == 0) in adjust_relocs()
565 const size_t nent = symshdr->sh_size / symshdr->sh_entsize; in adjust_relocs()
598 adjust_all_relocs (Elf *elf, Elf_Scn *symtab, const GElf_Shdr *symshdr, in adjust_all_relocs() argument
614 adjust_relocs (scn, scn, shdr, map, map_size, symshdr); in adjust_all_relocs()
1042 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in get_group_sig() local
1043 if (symshdr == NULL) in get_group_sig()
1058 const char *sig = elf_strptr (elf, symshdr->sh_link, sym->st_name); in get_group_sig()
Dreadelf.c1591 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in handle_scngrp() local
1594 if (data == NULL || data->d_size < sizeof (Elf32_Word) || symshdr == NULL in handle_scngrp()
1622 : elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)) in handle_scngrp()
1984 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in handle_relocs_rel() local
1992 if (unlikely (symshdr == NULL || symdata == NULL || destshdr == NULL)) in handle_relocs_rel()
2118 elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)); in handle_relocs_rel()
2174 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in handle_relocs_rela() local
2182 if (unlikely (symshdr == NULL || symdata == NULL || destshdr == NULL)) in handle_relocs_rela()
2312 elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)); in handle_relocs_rela()
2531 GElf_Shdr *symshdr = in handle_symtab() local
[all …]
DChangeLog1907 (check_symtab_shndx): Check symshdr and data->d_buf are not NULL.
1908 Check shdr and symshdr sh_entsize are not zero.
1910 Check symshdr->sh_entsize is not zero. Check data->d_buf is not
2060 (show_relocs): Make sure destshdr, symshdr and symdata exists.