/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | util_machelf.c | 767 elfedit_section_t *strsec; in elfedit_sec_getstr() local 773 strsec = &obj_state->os_secarr[shndx]; in elfedit_sec_getstr() 788 return (strsec); in elfedit_sec_getstr() 937 strsec->sec_name); in elfedit_dynstr_insert() 950 EC_WORD(strsec->sec_shndx), strsec->sec_name, in elfedit_dynstr_insert() 960 elfedit_modified_data(strsec); in elfedit_dynstr_insert() 1050 EC_WORD(strsec->sec_shdr->sh_link), strsec->sec_name); in elfedit_strtab_insert_test() 1126 EC_WORD(strsec->sec_shdr->sh_link), strsec->sec_name); in elfedit_strtab_insert() 1159 EC_WORD(strsec->sec_shndx), strsec->sec_name); in elfedit_offset_to_str() 1164 EC_WORD(strsec->sec_shndx), strsec->sec_name, in elfedit_offset_to_str() [all …]
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | str.c | 519 elfedit_section_t *strsec = argstate->str.sec; in cmd_body_set() local 535 if ((ndx + ncp) > strsec->sec_data->d_size) in cmd_body_set() 537 EC_WORD(strsec->sec_shndx), strsec->sec_name, in cmd_body_set() 544 EC_WORD(strsec->sec_shndx), strsec->sec_name, in cmd_body_set() 554 EC_WORD(strsec->sec_shndx), strsec->sec_name, in cmd_body_set() 564 strsec->sec_shndx, strsec->sec_name, ndx, newstr); in cmd_body_set() 577 EC_WORD(strsec->sec_shndx), strsec->sec_name, in cmd_body_set() 593 EC_WORD(strsec->sec_shndx), strsec->sec_name, in cmd_body_set() 608 strsec->sec_shndx, strsec->sec_name, ndx, len, oldstr, newstr); in cmd_body_set() 644 strsec->sec_shndx, strsec->sec_name, ndx); in cmd_body_zero() [all …]
|
H A D | phdr.c | 308 strsec = &obj_state->os_secarr[i]; in locate_interp() 313 (strsec->sec_shdr->sh_offset + in locate_interp() 314 strsec->sec_shdr->sh_size))) { in locate_interp() 315 interp->sec = strsec; in locate_interp() 318 strsec->sec_shdr->sh_offset; in locate_interp() 526 strsec = interp.sec; in cmd_body_set_interp() 535 EC_WORD(strsec->sec_shndx), strsec->sec_name, in cmd_body_set_interp() 567 strsec = &obj_state->os_secarr[i]; in cmd_body_set_interp() 576 strsec->sec_shdr->sh_size) <= in cmd_body_set_interp() 594 strsec->sec_shdr->sh_size); in cmd_body_set_interp() [all …]
|
H A D | dyn.c | 263 argstate->strsec = elfedit_sec_getstr(obj_state, in process_args() 431 name = elfedit_offset_to_str(argstate->strsec, in print_dyn() 767 elfedit_section_t *strsec = argstate->strsec; in cmd_body_value() local 826 if (elfedit_sec_findstr(strsec, in cmd_body_value() 834 arg2 = elfedit_dynstr_insert(dynsec, strsec, in cmd_body_value() 875 arg2 = elfedit_dynstr_insert(dynsec, strsec, in cmd_body_value() 918 arg2 = elfedit_dynstr_insert(dynsec, strsec, in cmd_body_value() 966 elfedit_section_t *strsec = argstate->strsec; in cmd_body_runpath() local 1672 elfedit_section_t *dynsec, *strsec; in cpl_posflag1() local 1699 strsec = elfedit_sec_getstr(obj_state, in cpl_posflag1() [all …]
|
H A D | sym.c | 249 elfedit_section_t *strsec; in dump_symtab() local 261 strsec = symstate->str.sec; in dump_symtab() 278 symname = elfedit_offset_to_str(strsec, sym->st_name, in dump_symtab()
|
/illumos-gate/usr/src/cmd/sgs/include/ |
H A D | elfedit.h | 879 const char *elfedit32_dyn_offset_to_str(elfedit32_section_t *strsec, 881 const char *elfedit64_dyn_offset_to_str(elfedit64_section_t *strsec, 890 elfedit32_section_t *strsec, elfedit32_dyn_elt_t *dyn_strpad, 893 elfedit64_section_t *strsec, elfedit64_dyn_elt_t *dyn_strpad, 914 elfedit32_section_t *strsec, const char *name, elfedit_msg_t msg_type, 917 elfedit64_section_t *strsec, const char *name, elfedit_msg_t msg_type, 920 extern const char *elfedit32_offset_to_str(elfedit32_section_t *strsec, 922 extern const char *elfedit64_offset_to_str(elfedit64_section_t *strsec, 992 elfedit32_section_t *strsec, elfedit32_section_t *dynsec, const char *str); 994 elfedit64_section_t *strsec, elfedit64_section_t *dynsec, const char *str); [all …]
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 213 if ((strsec->c_data == NULL) || (strsec->c_data->d_buf == NULL)) in string() 216 strs = (char *)strsec->c_data->d_buf; in string() 217 strn = strsec->c_data->d_size; in string() 249 file, strsec->c_name); in string() 370 if (strsec) in stringtbl() 371 *strsec = &cache[shdr->sh_link]; in stringtbl() 2005 &symnum, &symsec, &strsec) == 0) in syminfo() 2683 Cache *symsec, *strsec; in reloc() local 3528 Cache *symsec, *strsec; in move() local 4258 Cache *symsec, *strsec; in group() local [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_dof.c | 220 dof_secidx_t strsec = DOF_SECIDX_NONE; in dof_add_difo() local 237 dsecs[nsecs++] = strsec = dof_add_lsect(ddo, dp->dtdo_strtab, in dof_add_difo() 303 dofr.dofr_strtab = strsec; in dof_add_difo() 321 dofr.dofr_strtab = strsec; in dof_add_difo()
|