From aaf6a53224f56640a024d4de09cd6e62e3b233c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Sat, 20 Jan 2024 16:44:05 +0100 Subject: [PATCH] cstool: Fix ppc_br_hint comparison (#2254) --- cstool/cstool_powerpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cstool/cstool_powerpc.c b/cstool/cstool_powerpc.c index b46c3113ba..bb63efbb01 100644 --- a/cstool/cstool_powerpc.c +++ b/cstool/cstool_powerpc.c @@ -149,7 +149,7 @@ void print_insn_detail_ppc(csh handle, cs_insn *ins) } if (ppc->bc.pred_ctr != PPC_PRED_INVALID) printf("\t\tpred CTR: %s\n", get_pred_name(ppc->bc.pred_ctr)); - if (ppc->bc.hint != PPC_BH_INVALID) + if (ppc->bc.hint != PPC_BR_NOT_GIVEN) printf("\t\thint: %s\n", get_pred_hint(ppc->bc.hint)); }