From 9c19e3f6aefbb3bcacbf117b69cc929d06b78aca Mon Sep 17 00:00:00 2001 From: pancake Date: Sat, 7 Oct 2017 11:10:22 +0200 Subject: [PATCH] Better asm.offless --- libr/core/disasm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libr/core/disasm.c b/libr/core/disasm.c index d91830c126..9b80afe626 100644 --- a/libr/core/disasm.c +++ b/libr/core/disasm.c @@ -716,6 +716,8 @@ static void offless(char *opstr) { } memmove (n, p, strlen (p) + 1); } + r_str_replace (opstr, " - ", "", 1); + r_str_replace (opstr, " + ", "", 1); } static void ds_build_op_str(RDisasmState *ds) {