Searched refs:strsec (Results 1 - 8 of 8) sorted by relevance

/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/elfedit/modules/common/
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 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 Ddyn.c128 elfedit_section_t *strsec; /* Dynamic string table ref */ member in struct:__anon1653
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...]
H A Dsym.c249 elfedit_section_t *strsec; local
261 strsec = symstate->str.sec;
278 symname = elfedit_offset_to_str(strsec, sym->st_name,
/opensolaris-onvv-gate/usr/src/cmd/sgs/include/
H A Delfedit.h876 const char *elfedit32_dyn_offset_to_str(elfedit32_section_t *strsec,
878 const char *elfedit64_dyn_offset_to_str(elfedit64_section_t *strsec,
887 elfedit32_section_t *strsec, elfedit32_dyn_elt_t *dyn_strpad,
890 elfedit64_section_t *strsec, elfedit64_dyn_elt_t *dyn_strpad,
911 elfedit32_section_t *strsec, const char *name, elfedit_msg_t msg_type,
914 elfedit64_section_t *strsec, const char *name, elfedit_msg_t msg_type,
917 extern const char *elfedit32_offset_to_str(elfedit32_section_t *strsec,
919 extern const char *elfedit64_offset_to_str(elfedit64_section_t *strsec,
989 elfedit32_section_t *strsec, elfedit32_section_t *dynsec, const char *str);
991 elfedit64_section_t *strsec, elfedit64_section_
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c194 string(Cache *refsec, Word ndx, Cache *strsec, const char *file, Word name) argument
209 if (strsec->c_data == NULL)
212 strs = (char *)strsec->c_data->d_buf;
213 strn = strsec->c_data->d_size;
225 /* Verify that strsec really is a string table */
226 if (strsec->c_shdr->sh_type != SHT_STRTAB) {
229 file, strsec->c_ndx, refsec->c_ndx);
245 file, strsec->c_name);
250 file, refsec->c_name, EC_WORD(ndx), strsec->c_name,
268 relsymname(Cache *cache, Cache *csec, Cache *strsec, Wor argument
306 stringtbl(Cache *cache, int symtab, Word ndx, Word shnum, const char *file, Word *symnum, Cache **symsec, Cache **strsec) argument
1782 Cache *infocache = NULL, *dyncache = NULL, *symsec, *strsec; local
2538 Cache *symsec, *strsec; local
2976 Cache *_cache = &cache[cnt], *strsec; local
3357 Cache *symsec, *strsec; local
3830 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
4023 Cache *symsec, *strsec; local
4191 Cache *symsec, *strsec; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libdtrace/common/
H A Ddt_dof.c218 dof_secidx_t strsec = DOF_SECIDX_NONE; local
235 dsecs[nsecs++] = strsec = dof_add_lsect(ddo, dp->dtdo_strtab,
301 dofr.dofr_strtab = strsec;
319 dofr.dofr_strtab = strsec;

Completed in 179 milliseconds