/titanic_44/usr/src/cmd/sgs/elfedit/common/ |
H A D | sys.c | 484 cpl_help(void *obj_state, void *cpldata, int argc, const char *argv[], in cpl_help() argument 491 elfedit_cpl_command(cpldata); in cpl_help() 535 cpl_load(void *obj_state, void *cpldata, int argc, const char *argv[], in cpl_load() argument 545 elfedit_cpl_module(cpldata, 1); in cpl_load() 708 cpl_set(void *obj_state, void *cpldata, int argc, const char *argv[], in cpl_set() argument 724 elfedit_cpl_match(cpldata, MSG_ORIG(MSG_STR_A), 1); in cpl_set() 725 elfedit_cpl_match(cpldata, MSG_ORIG(MSG_STR_D), 1); in cpl_set() 726 elfedit_cpl_match(cpldata, MSG_ORIG(MSG_STR_O), 1); in cpl_set() 727 elfedit_cpl_match(cpldata, MSG_ORIG(MSG_STR_W), 1); in cpl_set() 743 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_BOOL); in cpl_set() [all …]
|
H A D | util.c | 194 elfedit_cpl_atoi(void *cpldata, const elfedit_atoi_sym_t *sym) in elfedit_cpl_atoi() argument 197 elfedit_cpl_match(cpldata, sym->sym_name, 1); in elfedit_cpl_atoi() 200 elfedit_cpl_atoui(void *cpldata, const elfedit_atoui_sym_t *sym) in elfedit_cpl_atoui() argument 203 elfedit_cpl_match(cpldata, sym->sym_name, 1); in elfedit_cpl_atoui() 206 elfedit_cpl_atoconst(void *cpldata, elfedit_const_t const_type) in elfedit_cpl_atoconst() argument 208 elfedit_cpl_atoui(cpldata, elfedit_const_to_atoui(const_type)); in elfedit_cpl_atoconst()
|
H A D | elfedit.c | 2918 elfedit_cpl_match(void *cpldata, const char *str, int casefold) in elfedit_cpl_match() argument 2920 ELFEDIT_CPL_STATE *cstate = (ELFEDIT_CPL_STATE *) cpldata; in elfedit_cpl_match() 2963 elfedit_cpl_ndx(void *cpldata, uint_t ndx) in elfedit_cpl_ndx() argument 2969 elfedit_cpl_match(cpldata, buf.buf, 0); in elfedit_cpl_ndx() 3007 elfedit_cpl_module(void *cpldata, int load_all_modules) in elfedit_cpl_module() argument 3009 ELFEDIT_CPL_STATE *cstate = (ELFEDIT_CPL_STATE *) cpldata; in elfedit_cpl_module() 3031 elfedit_cpl_command(void *cpldata) in elfedit_cpl_command() argument 3033 ELFEDIT_CPL_STATE *cstate = (ELFEDIT_CPL_STATE *) cpldata; in elfedit_cpl_command() 3062 elfedit_cpl_module(cpldata, 1); in elfedit_cpl_command()
|
/titanic_44/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | ehdr.c | 1363 cpl_e_ident(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_e_ident() argument 1376 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_EI); in cpl_e_ident() 1396 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_ELFCLASS); in cpl_e_ident() 1399 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_ELFDATA); in cpl_e_ident() 1402 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_EV); in cpl_e_ident() 1405 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_ELFOSABI); in cpl_e_ident() 1412 cpl_e_type(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_e_type() argument 1423 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_ET); in cpl_e_type() 1428 cpl_e_machine(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_e_machine() argument 1439 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_EM); in cpl_e_machine() [all …]
|
H A D | cap.c | 1052 cpl_capid_opt(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_capid_opt() argument 1076 elfedit_cpl_match(cpldata, elfedit_offset_to_str( in cpl_capid_opt() 1088 cpl_eltarg(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_eltarg() argument 1095 cpl_capid_opt(obj_state, cpldata, argc, argv, num_opt); in cpl_eltarg() 1113 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_CA); in cpl_eltarg() 1118 cpl_tag(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_tag() argument 1123 cpl_capid_opt(obj_state, cpldata, argc, argv, num_opt); in cpl_tag() 1129 cpl_eltarg(obj_state, cpldata, argc, argv, num_opt); in cpl_tag() 1135 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_CA); in cpl_tag() 1140 cpl_hw1(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_hw1() argument [all …]
|
H A D | shdr.c | 753 cpl_1starg_sec(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_1starg_sec() argument 777 elfedit_cpl_match(cpldata, sec->sec_name, 0); in cpl_1starg_sec() 781 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_SHN); in cpl_1starg_sec() 785 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_SHT); in cpl_1starg_sec() 793 cpl_sh_flags(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_sh_flags() argument 797 cpl_1starg_sec(obj_state, cpldata, argc, argv, num_opt); in cpl_sh_flags() 801 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_SHF); in cpl_sh_flags() 810 cpl_sh_infolink(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_sh_infolink() argument 818 cpl_1starg_sec(obj_state, cpldata, argc, argv, num_opt); in cpl_sh_infolink() 838 elfedit_cpl_match(cpldata, sec->sec_name, 0); in cpl_sh_infolink() [all …]
|
H A D | str.c | 720 add_shtyp_match(Word sh_type, void *cpldata) in add_shtyp_match() argument 727 elfedit_cpl_match(cpldata, s, 1); in add_shtyp_match() 740 elfedit_cpl_match(cpldata, buf, 1); in add_shtyp_match() 748 cpl_sh_opt(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_sh_opt() argument 773 elfedit_cpl_match(cpldata, in cpl_sh_opt() 798 elfedit_cpl_match(cpldata, sec->sec_name, 0); in cpl_sh_opt() 801 elfedit_cpl_ndx(cpldata, sec->sec_shndx); in cpl_sh_opt() 805 add_shtyp_match(shdr->sh_type, cpldata); in cpl_sh_opt() 818 cpl_sec_str(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_sec_str() argument 827 cpl_sh_opt(obj_state, cpldata, argc, argv, num_opt); in cpl_sec_str() [all …]
|
H A D | dyn.c | 1590 cpl_eltarg(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_eltarg() argument 1614 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_DT); in cpl_eltarg() 1627 elfedit_cpl_match(cpldata, s, 1); in cpl_eltarg() 1640 elfedit_cpl_match(cpldata, buf, 1); in cpl_eltarg() 1647 cpl_tag(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_tag() argument 1652 cpl_eltarg(obj_state, cpldata, argc, argv, num_opt); in cpl_tag() 1658 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_DT); in cpl_tag() 1663 cpl_posflag1(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_posflag1() argument 1703 elfedit_cpl_match(cpldata, in cpl_posflag1() 1712 elfedit_cpl_ndx(cpldata, i); in cpl_posflag1() [all …]
|
H A D | sym.c | 1469 cpl_sh_opt(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_sh_opt() argument 1487 elfedit_cpl_atoconst(cpldata, in cpl_sh_opt() 1508 elfedit_cpl_match(cpldata, sec->sec_name, 0); in cpl_sh_opt() 1511 elfedit_cpl_ndx(cpldata, symtab->symt_shndx); in cpl_sh_opt() 1519 elfedit_cpl_atoui(cpldata, cpl_list); in cpl_sh_opt() 1528 cpl_st_bind(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_st_bind() argument 1532 cpl_sh_opt(obj_state, cpldata, argc, argv, num_opt); in cpl_st_bind() 1536 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_STB); in cpl_st_bind() 1541 cpl_st_shndx(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_st_shndx() argument 1549 cpl_sh_opt(obj_state, cpldata, argc, argv, num_opt); in cpl_st_shndx() [all …]
|
H A D | phdr.c | 957 cpl_1starg_pt(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_1starg_pt() argument 967 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_PT); in cpl_1starg_pt() 972 cpl_p_type(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_p_type() argument 976 cpl_1starg_pt(obj_state, cpldata, argc, argv, num_opt); in cpl_p_type() 980 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_PT); in cpl_p_type() 986 cpl_p_flags(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_p_flags() argument 990 cpl_1starg_pt(obj_state, cpldata, argc, argv, num_opt); in cpl_p_flags() 994 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_PF); in cpl_p_flags()
|
H A D | syminfo.c | 708 cpl_si_boundto(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_si_boundto() argument 725 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_SYMINFO_BT); in cpl_si_boundto() 730 cpl_si_flags(elfedit_obj_state_t *obj_state, void *cpldata, int argc, in cpl_si_flags() argument 735 elfedit_cpl_atoconst(cpldata, ELFEDIT_CONST_SYMINFO_FLG); in cpl_si_flags()
|
/titanic_44/usr/src/cmd/sgs/include/ |
H A D | elfedit.h | 369 void *cpldata, int argc, const char *argv[], int num_opt); 371 void *cpldata, int argc, const char *argv[], int num_opt); 608 extern void elfedit_cpl_command(void *cpldata); 609 extern void elfedit_cpl_match(void *cpldata, const char *str, int casefold); 610 extern void elfedit_cpl_ndx(void *cpldata, uint_t ndx); 626 extern void elfedit_cpl_module(void *cpldata, int load_all_modules); 794 extern void elfedit_cpl_atoi(void *cpldata, const elfedit_atoi_sym_t *sym); 795 extern void elfedit_cpl_atoui(void *cpldata, const elfedit_atoui_sym_t *sym); 796 extern void elfedit_cpl_atoconst(void *cpldata, elfedit_const_t const_type);
|