Searched defs:argstate (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dstr.c240 * argstate - Address of ARGSTATE block to be initialized
243 * On success, *argstate is initialized. On error,
248 STR_CMD_T cmd, ARGSTATE *argstate, int *print_only)
255 bzero(argstate, sizeof (*argstate));
256 argstate->obj_state = obj_state;
268 argstate->optmask |= getopt_ret->gor_idmask;
310 !((argc == 2) && (argstate->optmask & STR_OPT_F_END));
325 argstate->argc = argc;
326 argstate
247 process_args(elfedit_obj_state_t *obj_state, int argc, const char *argv[], STR_CMD_T cmd, ARGSTATE *argstate, int *print_only) argument
425 print_strtab(int autoprint, ARGSTATE *argstate) argument
517 cmd_body_set(ARGSTATE *argstate) argument
619 cmd_body_zero(ARGSTATE *argstate) argument
668 ARGSTATE argstate; local
[all...]
H A Dsyminfo.c143 * argstate - Address of ARGSTATE block to be initialized
146 * On success, *argstate is initialized. On error,
151 * argstate. Use the argstate_add_XXX() routines below to
156 SYMINFO_CMD_T cmd, ARGSTATE *argstate)
161 bzero(argstate, sizeof (*argstate));
162 argstate->obj_state = obj_state;
168 argstate->optmask |= getopt_ret->gor_idmask;
185 argstate->argc = argc;
186 argstate
155 process_args(elfedit_obj_state_t *obj_state, int argc, const char *argv[], SYMINFO_CMD_T cmd, ARGSTATE *argstate) argument
217 argstate_add_sym(ARGSTATE *argstate) argument
227 argstate_add_str(ARGSTATE *argstate) argument
237 argstate_add_dynamic(ARGSTATE *argstate) argument
257 dump_syminfo(ARGSTATE *argstate, Word ndx, Word cnt) argument
313 print_syminfo(SYMINFO_CMD_T cmd, int autoprint, ARGSTATE *argstate, Word ndx, Word cnt) argument
431 arg_to_symndx(ARGSTATE *argstate, const char *arg) argument
462 needed_to_boundto(ARGSTATE *argstate, const char *arg) argument
571 ARGSTATE argstate; local
[all...]
H A Dcap.c146 * argstate - Argument state block
151 * If a string table is found, argstate->str is updated to reference it.
154 * routine returns quietly without modifying argstate->str.
157 argstate_add_str(ARGSTATE *argstate, Boolean required) argument
160 if (argstate->str.sec != NULL)
167 if (argstate->cap.sec->sec_shdr->sh_info == 0) {
171 EC_WORD(argstate->cap.sec->sec_shndx),
172 argstate->cap.sec->sec_name);
176 argstate->str.sec = elfedit_sec_getstr(argstate
186 cap_group_extents(ARGSTATE *argstate, Word ndx, Word *ret_start_ndx, Word *ret_end_ndx) argument
221 cap_group_id(ARGSTATE *argstate) argument
251 argstate_cap_group(ARGSTATE *argstate, Word ndx) argument
271 group_title(ARGSTATE *argstate, Word ndx) argument
295 process_args(elfedit_obj_state_t *obj_state, int argc, const char *argv[], ARGSTATE *argstate) argument
383 print_cap(CAP_CMD_T cmd, int autoprint, ARGSTATE *argstate, PRINT_CAP_T print_type, Word arg) argument
589 arg_to_index(ARGSTATE *argstate, const char *arg, const char *argname, int print_request, PRINT_CAP_T *print_type) argument
690 flag_bitop(ARGSTATE *argstate, Word orig, const elfedit_atoui_sym_t *const_sym) argument
725 cap_set(ARGSTATE *argstate, Cap *cap, Word ndx, Word cap_ndx, const char *cap_name, Xword cap_tag, elfedit_const_t const_type) argument
768 ARGSTATE argstate; local
[all...]
H A Dphdr.c150 * argstate - Address of ARGSTATE block to be initialized
153 * On success, *argstate is initialized. On error,
158 PHDR_CMD_T cmd, ARGSTATE *argstate)
163 bzero(argstate, sizeof (*argstate));
164 argstate->obj_state = obj_state;
170 argstate->optmask |= getopt_ret->gor_idmask;
177 argstate->print_req = 1;
181 argstate->print_req = (argc < 2);
186 argstate
157 process_args(elfedit_obj_state_t *obj_state, int argc, const char *argv[], PHDR_CMD_T cmd, ARGSTATE *argstate) argument
348 print_phdr(PHDR_CMD_T cmd, int autoprint, ARGSTATE *argstate) argument
508 cmd_body_set_interp(ARGSTATE *argstate) argument
665 ARGSTATE argstate; local
[all...]
H A Dshdr.c138 * argstate - Address of ARGSTATE block to be initialized
141 * On success, *argstate is initialized. On error,
146 SHDR_CMD_T cmd, ARGSTATE *argstate)
151 bzero(argstate, sizeof (*argstate));
152 argstate->obj_state = obj_state;
158 argstate->optmask |= getopt_ret->gor_idmask;
181 argstate->argc = argc;
182 argstate->argv = argv;
206 * argstate
145 process_args(elfedit_obj_state_t *obj_state, int argc, const char *argv[], SHDR_CMD_T cmd, ARGSTATE *argstate) argument
212 print_shdr(SHDR_CMD_T cmd, int autoprint, ARGSTATE *argstate, Word ndx, Word cnt, PRINT_SHDR_T print_type) argument
361 ARGSTATE argstate; local
[all...]
H A Dsym.c150 Word ndx; /* If argstate.argc > 0, this is the table index */
193 * argstate - Overall state block
199 * Otherwise, the fields in argstate have been filled in, ready
204 symstate_add_str(ARGSTATE *argstate, SYMSTATE *symstate) argument
209 symstate->str.sec = elfedit_sec_getstr(argstate->obj_state,
213 symstate_add_versym(ARGSTATE *argstate, SYMSTATE *symstate) argument
218 symstate->versym.sec = elfedit_sec_getversym(argstate->obj_state,
222 symstate_add_xshndx(ARGSTATE *argstate, SYMSTATE *symstate) argument
227 symstate->xshndx.sec = elfedit_sec_getxshndx(argstate->obj_state,
237 * argstate
243 dump_symtab(ARGSTATE *argstate, SYMSTATE *symstate, Word ndx, Word cnt) argument
301 all_same(SYM_CMD_T cmd, ARGSTATE *argstate, elfedit_outstyle_t outstyle) argument
424 print_symstate(SYM_CMD_T cmd, ARGSTATE *argstate, SYMSTATE *symstate, elfedit_outstyle_t outstyle, Word ndx, Word cnt) argument
592 print_sym(SYM_CMD_T cmd, int autoprint, ARGSTATE *argstate) argument
682 cmd_body_set_st_bind(ARGSTATE *argstate, SYMSTATE *symstate) argument
740 cmd_body_set_st_name(ARGSTATE *argstate, SYMSTATE *symstate) argument
792 cmd_body_set_st_shndx(ARGSTATE *argstate, SYMSTATE *symstate) argument
937 cmd_body_set_st_type(ARGSTATE *argstate, SYMSTATE *symstate) argument
977 cmd_body_set_st_visibility(ARGSTATE *argstate, SYMSTATE *symstate) argument
1043 static ARGSTATE *argstate; local
1228 symstate_cmd_body(SYM_CMD_T cmd, ARGSTATE *argstate, SYMSTATE *symstate) argument
1408 ARGSTATE *argstate; local
[all...]
H A Ddyn.c147 * Set argstate null_ndx field for current dynamic area
150 set_null_ndx(ARGSTATE *argstate) argument
154 num = argstate->dyn.num;
155 argstate->dyn.num_null_ndx = 0;
157 if (argstate->dyn.data[null_ndx].d_tag == DT_NULL) {
158 argstate->dyn.num_null_ndx++;
161 argstate->dyn.null_ndx = null_ndx;
165 if (argstate->dyn.data[null_ndx].d_tag == DT_NULL)
166 argstate->dyn.num_null_ndx++;
175 * argstate
187 convert_dt_null(ARGSTATE *argstate, Xword d_tag, Xword d_val) argument
230 process_args(elfedit_obj_state_t *obj_state, int argc, const char *argv[], ARGSTATE *argstate) argument
293 print_dyn(DYN_CMD_T cmd, int autoprint, ARGSTATE *argstate, PRINT_DYN_T print_type, Word arg) argument
623 arg_to_index(ARGSTATE *argstate, const char *arg, int print_request, PRINT_DYN_T *print_type) argument
764 cmd_body_value(ARGSTATE *argstate, Word *ret_ndx) argument
963 cmd_body_runpath(ARGSTATE *argstate) argument
1090 flag_bitop(ARGSTATE *argstate, Word orig, elfedit_const_t const_type) argument
1129 ARGSTATE argstate; local
[all...]
H A Dehdr.c155 * argstate - Address of ARGSTATE block to be initialized
158 * On success, *argstate is initialized. On error,
163 ARGSTATE *argstate)
168 bzero(argstate, sizeof (*argstate));
169 argstate->obj_state = obj_state;
174 argstate->optmask |= getopt_ret->gor_idmask;
181 argstate->argc = argc;
182 argstate->argv = argv;
235 * argstate
162 process_args(elfedit_obj_state_t *obj_state, int argc, const char *argv[], ARGSTATE *argstate) argument
238 print_ehdr(EHDR_CMD_T cmd, int e_ident_ndx, int autoprint, ARGSTATE *argstate) argument
671 ARGSTATE argstate; local
[all...]

Completed in 82 milliseconds