Lines Matching refs:shdr
425 Elf_Shdr *shdr = &EI_Shdr; in process_shdr() local
439 if ((strtab = malloc(shdr->sh_size)) == NULL) in process_shdr()
442 if (pread64(EI->elffd, strtab, shdr->sh_size, shdr->sh_offset) in process_shdr()
443 != shdr->sh_size) in process_shdr()
446 strtab_sz = shdr->sh_size; in process_shdr()
455 if (shdr->sh_type == SHT_NULL) { in process_shdr()
460 cap_off = shdr->sh_offset; in process_shdr()
461 if (shdr->sh_type == SHT_SUNW_cap) { in process_shdr()
464 if (shdr->sh_size == 0 || shdr->sh_entsize == 0) { in process_shdr()
469 capn = (shdr->sh_size / shdr->sh_entsize); in process_shdr()
539 (shdr->sh_type == SHT_SYMTAB)) { in process_shdr()
544 if (shdr->sh_name >= strtab_sz) in process_shdr()
547 shnam = &strtab[shdr->sh_name]; in process_shdr()
550 ((shdr->sh_type == SHT_SUNW_DEBUG) || in process_shdr()
551 (shdr->sh_type == SHT_SUNW_DEBUGSTR) || in process_shdr()