Home
last modified time | relevance | path

Searched refs:dhx (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/lib/libdisasm/common/
H A Ddis_i386.c95 dis_handle_i386_t *dhx; in dis_i386_handle_attach() local
109 if ((dhx = dis_zalloc(sizeof (dis_handle_i386_t))) == NULL) { in dis_i386_handle_attach()
113 dhp->dh_arch_private = dhx; in dis_i386_handle_attach()
119 dhx->dhx_mode = SIZE16; in dis_i386_handle_attach()
121 dhx->dhx_mode = SIZE64; in dis_i386_handle_attach()
123 dhx->dhx_mode = SIZE32; in dis_i386_handle_attach()
126 dhx->dhx_dis.d86_flags = DIS_F_OCTAL; in dis_i386_handle_attach()
128 dhx->dhx_dis.d86_sprintf_func = dis_snprintf; in dis_i386_handle_attach()
129 dhx->dhx_dis.d86_get_byte = get_byte; in dis_i386_handle_attach()
130 dhx->dhx_dis.d86_sym_lookup = do_lookup; in dis_i386_handle_attach()
[all …]
H A Ddis_sparc.c116 dis_handle_sparc_t *dhx; in dis_sparc_handle_attach() local
130 if ((dhx = dis_zalloc(sizeof (dis_handle_sparc_t))) == NULL) { in dis_sparc_handle_attach()
134 dhx->dhx_debug = DIS_DEBUG_COMPAT; in dis_sparc_handle_attach()
135 dhp->dh_arch_private = dhx; in dis_sparc_handle_attach()
146 dis_free(dhx, sizeof (dis_handle_sparc_t)); in dis_sparc_handle_attach()
159 dhx->dhx_debug |= DIS_DEBUG_SYN_ALL; in dis_sparc_handle_attach()
162 dhx->dhx_debug |= DIS_DEBUG_COMPAT; in dis_sparc_handle_attach()
165 dhx->dhx_debug &= ~(DIS_DEBUG_SYN_ALL|DIS_DEBUG_COMPAT); in dis_sparc_handle_attach()
168 dhx->dhx_debug |= DIS_DEBUG_PRTBIN; in dis_sparc_handle_attach()
171 dhx->dhx_debug |= DIS_DEBUG_PRTFMT; in dis_sparc_handle_attach()
[all …]
H A Ddis_sparc_fmt.c700 dis_handle_sparc_t *dhx = dhp->dh_arch_private; in fmt_call() local
708 if ((dhx->dhx_debug & DIS_DEBUG_PRTFMT) != 0) { in fmt_call()
721 (void) strlcat(dhx->dhx_buf, " <", dhx->dhx_buflen); in fmt_call()
723 curlen = strlen(dhx->dhx_buf); in fmt_call()
725 dhx->dhx_buf + curlen, dhx->dhx_buflen - curlen - 1, NULL, in fmt_call()
727 (void) strlcat(dhx->dhx_buf, ">", dhx->dhx_buflen); in fmt_call()
736 dis_handle_sparc_t *dhx = dhp->dh_arch_private; in fmt_sethi() local
739 if ((dhx->dhx_debug & DIS_DEBUG_PRTFMT) != 0) { in fmt_sethi()
775 dis_handle_sparc_t *dhx = dhp->dh_arch_private; in fmt_branch() local
790 if ((dhx->dhx_debug & DIS_DEBUG_PRTFMT) != 0) { in fmt_branch()
[all …]