Searched defs:shstr (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/sgs/librtld/common/ |
H A D | dldump.c | 162 char *shstr, *_shstr, *ipath = NAME(lmp); local 327 shstr = (char *)data->d_buf; 373 _icache->c_name = shstr + (size_t)(shdr->sh_name); 571 if ((shstr = malloc(shstr_size)) == 0) { 575 _shstr = shstr; 634 data->d_buf = (void *)shstr; 637 _icache->c_info = shstr; 724 shdr->sh_name = (Word)(_shstr - shstr);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 172 static char shstr[] = variable 175 /* Offsets within shstr for each name */ 355 size += roundup(sizeof (shstr), SH_ADDRALIGN); 498 sp->sh_size = sizeof (shstr); 504 (void) memcpy(&elfdata[off], shstr, sizeof (shstr));
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | load_elf.c | 303 char *shstr; local 525 shstr = alloc_pread(ef->fd, shdr[ehdr->e_shstrndx].sh_offset, chunk); 526 if (shstr) { 528 if (strcmp(shstr + shdr[i].sh_name, ".ctors") != 0) 538 free(shstr);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 48 mdb_gelf_sect_t *gsp, *shstr = &gf->gf_sects[gf->gf_shstrndx]; local 60 if (IOP_SEEK(gf->gf_io, shstr->gs_shdr.sh_offset, SEEK_SET) == -1) { 65 shstr->gs_data = mdb_zalloc(shstr->gs_shdr.sh_size + 1, UM_SLEEP); 67 if (IOP_READ(gf->gf_io, shstr->gs_data, shstr->gs_shdr.sh_size) != 68 shstr->gs_shdr.sh_size) { 70 mdb_free(shstr->gs_data, shstr->gs_shdr.sh_size); 76 gsp->gs_name = (const char *)shstr [all...] |
Completed in 77 milliseconds