From 47cd0577b21041bb8c26c8106a18c237393063be Mon Sep 17 00:00:00 2001 From: pachulo Date: Wed, 26 Apr 2017 12:50:49 +0200 Subject: [PATCH] Fix #7315 - "ahi s" regression In radare/radare2@d9d83914 the fix for "r_parse_filter output for pc relative addrs when color is involved" broke the ahi command in some contexts. --- libr/core/disasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libr/core/disasm.c b/libr/core/disasm.c index 7513b2c988..f32a7ddbe4 100644 --- a/libr/core/disasm.c +++ b/libr/core/disasm.c @@ -750,7 +750,7 @@ static void ds_build_op_str(RDisasmState *ds) { core->parser->relsub_addr = num; } } - r_parse_filter (core->parser, core->flags, asm_str, ds->str, sizeof (ds->str), core->print->big_endian); + r_parse_filter (core->parser, core->flags, ds->opstr, ds->str, sizeof (ds->str), core->print->big_endian); core->parser->flagspace = ofs; free (ds->opstr); ds->opstr = strdup (ds->str);