Searched refs:sh_name (Results 51 - 73 of 73) sorted by relevance

123

/opensolaris-onvv-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c76 gsp->gs_name = (const char *)shstr->gs_data + shp->sh_name;
78 if (shp->sh_name >= shstr->gs_shdr.sh_size) {
80 IOP_NAME(gf->gf_io), i, shp->sh_name);
200 dst->sh_name = src->sh_name;
/opensolaris-onvv-gate/usr/src/lib/libproc/common/
H A DPsymtab.c1768 if (cp->c_shdr.sh_name >= shdata->d_size) {
1773 cp->c_name = (const char *)shdata->d_buf + cp->c_shdr.sh_name;
2902 shdr.sh_name != 0 &&
2903 shdr.sh_name < fptr->file_shstrsz)
2904 si.prs_name = fptr->file_shstrs + shdr.sh_name;
/opensolaris-onvv-gate/usr/src/cmd/mdb/intel/modules/mdb_kb/
H A Dmdb_kb.c1012 shp->sh_name = 1; /* xkb_shstrtab[1] = ".symtab" */
1024 shp->sh_name = 9; /* xkb_shstrtab[9] = ".strtab" */
1034 shp->sh_name = 17; /* xkb_shstrtab[17] = ".shstrtab" */
/opensolaris-onvv-gate/usr/src/cmd/dis/
H A Ddis_target.c626 sdata.ds_shdr.sh_name)) == NULL) {
/opensolaris-onvv-gate/usr/src/cmd/sgs/libld/common/
H A Dfiles.c2558 if ((name = elf_strptr(elf, (size_t)sndx, (size_t)shdr->sh_name)) ==
2570 * Reset the name since the shdr->sh_name could have been changed as
2573 if ((name = elf_strptr(elf, (size_t)sndx, (size_t)shdr->sh_name)) ==
2617 name = str + (size_t)(shdr->sh_name);
2624 * Reset the name since the shdr->sh_name could have been
2627 name = str + (size_t)(shdr->sh_name);
H A Dupdate.c436 osp->os_shdr->sh_name = (Word)stoff;
/opensolaris-onvv-gate/usr/src/cmd/sysdef/
H A Dsysdef.c323 (size_t)shdr->sh_name);
/opensolaris-onvv-gate/usr/src/lib/libshell/common/sh/
H A Ddeparse.c331 cp = ((char*)(shtab_testops+(flags&037)-1)->sh_name);
H A Dxec.c2172 op = (char*)(shtab_testops+(n&037)-1)->sh_name;
/opensolaris-onvv-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c675 shdr.sh_name = sp->sect_str;
/opensolaris-onvv-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_conn.c690 if (u8_strcmp(ssp->ss_name, tcon->tc_sh.sh_name, 0,
H A Dsmb_usr.c584 tcon->tc_sh.sh_name[SMBIOC_MAX_NAME-1] = '\0';
/opensolaris-onvv-gate/usr/src/lib/libdtrace/common/
H A Ddt_module.c482 (s = elf_strptr(dmp->dm_elf, shstrs, sh.sh_name)) == NULL)
869 (s = elf_strptr(dmp->dm_elf, shstrs, sh.sh_name)) == NULL)
/opensolaris-onvv-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c4501 if (_cache->c_shdr->sh_name &&
4503 (nameshdr->sh_size > _cache->c_shdr->sh_name)) {
4507 secname = names + _cache->c_shdr->sh_name;
4551 if ((_cache->c_shdr->sh_name == 0) ||
4553 (nameshdr->sh_size <= _cache->c_shdr->sh_name)) {
4557 EC_XWORD(_cache->c_shdr->sh_name));
H A Dfake_shdr.c902 * sh_name should be the offset of the name in the shstrtab
905 * sh_name to 0, knowing that elfdump doesn't look at it.
907 sec->shdr->sh_name = 0;
/opensolaris-onvv-gate/usr/src/uts/common/krtld/
H A Dkobj.c2642 if (shp->sh_size != 0 && shp->sh_name < shstrlen &&
2643 strcmp(shstrtab + shp->sh_name, ".SUNW_ctf") == 0) {
2692 if (strcmp(shstrtab + shp->sh_name, ".bss") == 0)
2698 " %s data size=%d\n", shstrtab + shp->sh_name,
2745 if (shp->sh_size != 0 && shp->sh_name < shstrlen &&
2746 strcmp(shstrtab + shp->sh_name,
/opensolaris-onvv-gate/usr/src/cmd/sgs/dump/common/
H A Ddump.c1442 field, EC_WORD(shdr0.sh_name));
1698 elf_strptr(elf_file, shstrndx, buffer->p_shdr.sh_name);
/opensolaris-onvv-gate/usr/src/cmd/sgs/libelf/common/
H A Dxlate.m41239 tofw(dst, src->sh_name, SH1_name_$2);
1805 dst->sh_name = tomw(src, SH1_name_$2);
H A Dxlate64.m41230 tofw(dst, src->sh_name, SH1_name_$2);
1843 dst->sh_name = tomw(src, SH1_name_$2);
/opensolaris-onvv-gate/usr/src/cmd/sgs/pvs/common/
H A Dpvs.c1184 _cache->c_name = names + shdr.sh_name;
/opensolaris-onvv-gate/usr/src/tools/ctf/dump/
H A Ddump.c796 elf_strptr(elf, ehdr->e_shstrndx, shdr.sh_name)) != NULL &&
/opensolaris-onvv-gate/usr/src/cmd/abi/appcert/static_prof/
H A Dstatic_prof.c892 shdr->sh_name);
/opensolaris-onvv-gate/usr/src/cmd/sgs/packages/common/
H A DSUNWonld-README486 4524767 elfdump dies on bogus sh_name fields...

Completed in 404 milliseconds

123