Print pc bitvector in hex (#4142)

This commit is contained in:
Rot127 2024-01-24 10:20:56 +00:00 committed by GitHub
parent 2b0552158f
commit e1e58430dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;