From e1e58430dc17fb1421d353f3bd9933dfe4e1a6d3 Mon Sep 17 00:00:00 2001 From: Rot127 <45763064+Rot127@users.noreply.github.com> Date: Wed, 24 Jan 2024 10:20:56 +0000 Subject: [PATCH] Print pc bitvector in hex (#4142) --- librz/il/theory_effect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librz/il/theory_effect.c b/librz/il/theory_effect.c index af233e9743..597a78cdf7 100644 --- a/librz/il/theory_effect.c +++ b/librz/il/theory_effect.c @@ -27,7 +27,7 @@ static void rz_il_set(RzILVM *vm, const char *var_name, bool is_local, RZ_OWN Rz bool rz_il_handler_empty(RzILVM *vm, RzILOpEffect *op) { rz_return_val_if_fail(vm && op, false); - char *pc = rz_bv_as_string(vm->pc); + char *pc = rz_bv_as_hex_string(vm->pc, true); RZ_LOG_INFO("Encountered an empty instruction at %s\n", pc); free(pc); return true;