Searched defs:strsec (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_dof.c220 dof_secidx_t strsec = DOF_SECIDX_NONE; local
237 dsecs[nsecs++] = strsec = dof_add_lsect(ddo, dp->dtdo_strtab,
303 dofr.dofr_strtab = strsec;
321 dofr.dofr_strtab = strsec;
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c190 * strsec = String section
212 elfedit_name_to_symndx(elfedit_section_t *symsec, elfedit_section_t *strsec, argument
224 curname = elfedit_offset_to_str(strsec, offset,
767 elfedit_section_t *strsec; local
773 strsec = &obj_state->os_secarr[shndx];
774 if (strsec->sec_shdr->sh_type == SHT_STRTAB) {
776 EC_WORD(shndx), strsec->sec_name);
778 ((strsec->sec_shdr->sh_flags & SHF_STRINGS) != 0) &&
779 (strsec->sec_shdr->sh_entsize <= 1) &&
780 (strsec
914 elfedit_dynstr_insert(elfedit_section_t *dynsec, elfedit_section_t *strsec, elfedit_dyn_elt_t *dyn_strpad, const char *str) argument
992 elfedit_strtab_insert_test(elfedit_obj_state_t *obj_state, elfedit_section_t *strsec, elfedit_section_t *dynsec, const char *str) argument
1078 elfedit_strtab_insert(elfedit_obj_state_t *obj_state, elfedit_section_t *strsec, elfedit_section_t *dynsec, const char *str) argument
1151 elfedit_offset_to_str(elfedit_section_t *strsec, Word offset, elfedit_msg_t msg_type, int debug_msg) argument
1194 elfedit_dyn_offset_to_str(elfedit_section_t *strsec, elfedit_dyn_elt_t *dynelt) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dstr.c519 elfedit_section_t *strsec = argstate->str.sec; local
535 if ((ndx + ncp) > strsec->sec_data->d_size)
537 EC_WORD(strsec->sec_shndx), strsec->sec_name,
541 if (((ndx + ncp) == strsec->sec_data->d_size) &&
544 EC_WORD(strsec->sec_shndx), strsec->sec_name,
554 EC_WORD(strsec->sec_shndx), strsec->sec_name,
558 oldstr = ndx + (char *)strsec
621 elfedit_section_t *strsec = argstate->str.sec; local
[all...]
H A Dphdr.c273 elfedit_section_t *strsec; /* String table */ local
308 strsec = &obj_state->os_secarr[i];
310 if ((strsec->sec_shdr->sh_type != SHT_NOBITS) &&
311 (interp->phdr->p_offset >= strsec->sec_shdr->sh_offset) &&
313 (strsec->sec_shdr->sh_offset +
314 strsec->sec_shdr->sh_size))) {
315 interp->sec = strsec;
318 strsec->sec_shdr->sh_offset;
319 interp->str = ((char *)strsec->sec_data->d_buf) +
511 elfedit_section_t *strsec; /* Strin local
[all...]
H A Dsym.c249 elfedit_section_t *strsec; local
261 strsec = symstate->str.sec;
278 symname = elfedit_offset_to_str(strsec, sym->st_name,
H A Ddyn.c128 elfedit_section_t *strsec; /* Dynamic string table ref */ member in struct:__anon1495
263 argstate->strsec = elfedit_sec_getstr(obj_state,
431 name = elfedit_offset_to_str(argstate->strsec,
437 name = elfedit_offset_to_str(argstate->strsec,
465 name = elfedit_offset_to_str(argstate->strsec,
706 name = elfedit_offset_to_str(argstate->strsec,
767 elfedit_section_t *strsec = argstate->strsec; local
826 if (elfedit_sec_findstr(strsec,
834 arg2 = elfedit_dynstr_insert(dynsec, strsec,
966 elfedit_section_t *strsec = argstate->strsec; local
1672 elfedit_section_t *dynsec, *strsec; local
[all...]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c198 string(Cache *refsec, Word ndx, Cache *strsec, const char *file, Word name) argument
213 if ((strsec->c_data == NULL) || (strsec->c_data->d_buf == NULL))
216 strs = (char *)strsec->c_data->d_buf;
217 strn = strsec->c_data->d_size;
229 /* Verify that strsec really is a string table */
230 if (strsec->c_shdr->sh_type != SHT_STRTAB) {
233 file, strsec->c_ndx, refsec->c_ndx);
249 file, strsec->c_name);
254 file, refsec->c_name, EC_WORD(ndx), strsec
272 relsymname(Cache *cache, Cache *csec, Cache *strsec, Word symndx, Word symnum, Word relndx, Sym *syms, char *secstr, size_t secsz, const char *file) argument
310 stringtbl(Cache *cache, int symtab, Word ndx, Word shnum, const char *file, Word *symnum, Cache **symsec, Cache **strsec) argument
1866 Cache *infocache = NULL, *dyncache = NULL, *symsec, *strsec; local
2630 Cache *symsec, *strsec; local
3068 Cache *_cache = &cache[cnt], *strsec; local
3449 Cache *symsec, *strsec; local
3934 hash_entry(Cache *refsec, Cache *strsec, const char *hsecname, Word hashndx, Word symndx, Word symn, Sym *syms, const char *file, ulong_t bkts, uint_t flags, int chain) argument
4179 Cache *symsec, *strsec; local
4347 Cache *symsec, *strsec; local
[all...]

Completed in 96 milliseconds