diff options
author | Ole André Vadla Ravnås <oleavr@gmail.com> | 2024-01-20 16:44:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 23:44:05 +0800 |
commit | aaf6a53224f56640a024d4de09cd6e62e3b233c4 (patch) | |
tree | 8d14e2d987e649f3e6bdde297f3c59bf85d9b5a7 | |
parent | 61273ff88bb37e7a4319db80279c459d46bb3a75 (diff) | |
download | capstone-aaf6a53224f56640a024d4de09cd6e62e3b233c4.tar.gz |
cstool: Fix ppc_br_hint comparison (#2254)
-rw-r--r-- | cstool/cstool_powerpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cstool/cstool_powerpc.c b/cstool/cstool_powerpc.c index b46c3113..bb63efbb 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)); } |