Searched refs:symshdr (Results 1 – 5 of 5) sorted by relevance
/third_party/elfutils/src/ |
D | elflint.c | 1372 size_t cnt, const GElf_Shdr *symshdr, Elf_Data *symdata, in check_one_reloc() argument 1392 if (symshdr != NULL in check_one_reloc() 1395 > symshdr->sh_size)) in check_one_reloc() 1412 && (name = elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)) in check_one_reloc() 1511 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in check_rela() local 1528 check_one_reloc (ebl, ehdr, shdr, idx, cnt, symshdr, symdata, in check_rela() 1562 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in check_rel() local 1579 check_one_reloc (ebl, ehdr, shdr, idx, cnt, symshdr, symdata, in check_rel() 1941 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in check_symtab_shndx() local 1942 if (symshdr != NULL && symshdr->sh_type != SHT_SYMTAB) in check_symtab_shndx() [all …]
|
D | objdump.c | 510 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in show_relocs() local 512 if (unlikely (symshdr == NULL || symdata == NULL)) in show_relocs() 535 symshdr->sh_link, shstrndx); in show_relocs() 538 symshdr->sh_link, shstrndx); in show_relocs()
|
D | unstrip.c | 450 size_t map[], size_t map_size, const GElf_Shdr *symshdr) in adjust_relocs() argument 504 if (symshdr->sh_entsize == 0) in adjust_relocs() 506 const size_t nsym = symshdr->sh_size / symshdr->sh_entsize; in adjust_relocs() 565 if (symshdr->sh_entsize == 0) in adjust_relocs() 567 const size_t nent = symshdr->sh_size / symshdr->sh_entsize; in adjust_relocs() 600 adjust_all_relocs (Elf *elf, Elf_Scn *symtab, const GElf_Shdr *symshdr, in adjust_all_relocs() argument 616 adjust_relocs (scn, scn, shdr, map, map_size, symshdr); in adjust_all_relocs() 1044 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in get_group_sig() local 1045 if (symshdr == NULL) in get_group_sig() 1060 const char *sig = elf_strptr (elf, symshdr->sh_link, sym->st_name); in get_group_sig()
|
D | readelf.c | 1610 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in handle_scngrp() local 1613 if (data == NULL || data->d_size < sizeof (Elf32_Word) || symshdr == NULL in handle_scngrp() 1640 : elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)) in handle_scngrp() 2060 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in handle_relocs_rel() local 2068 if (unlikely (symshdr == NULL || symdata == NULL || destshdr == NULL)) in handle_relocs_rel() 2193 elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)); in handle_relocs_rel() 2249 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in handle_relocs_rela() local 2257 if (unlikely (symshdr == NULL || symdata == NULL || destshdr == NULL)) in handle_relocs_rela() 2386 elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)); in handle_relocs_rela() 2604 GElf_Shdr *symshdr = in handle_symtab() local [all …]
|
D | ChangeLog | 2189 (check_symtab_shndx): Check symshdr and data->d_buf are not NULL. 2190 Check shdr and symshdr sh_entsize are not zero. 2192 Check symshdr->sh_entsize is not zero. Check data->d_buf is not 2342 (show_relocs): Make sure destshdr, symshdr and symdata exists.
|