From 878d25a8d5f731d742120ebc21621040d26f40b2 Mon Sep 17 00:00:00 2001 From: Maijin Date: Sat, 29 Oct 2016 12:15:46 +0200 Subject: [PATCH] Reset asm.filter after pdc bug #6066 --- libr/core/pseudo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libr/core/pseudo.c b/libr/core/pseudo.c index b0b59ef587..1cfaa103c0 100644 --- a/libr/core/pseudo.c +++ b/libr/core/pseudo.c @@ -21,6 +21,7 @@ R_API int r_core_pseudo_code (RCore *core, const char *input) { int asmsection = r_config_get_i (core->config, "asm.section"); int asmcmtcol = r_config_get_i (core->config, "asm.cmtcol"); //int asmtabs = r_config_get_i (core->config, "asm.tabs"); + int asmfilter = r_config_get_i (core->config, "asm.filter"); if (!fcn) { eprintf ("Cannot find function in 0x%08"PFMT64x"\n", core->offset); @@ -218,6 +219,7 @@ R_API int r_core_pseudo_code (RCore *core, const char *input) { r_config_set_i (core->config, "asm.comments", asmcomments); r_config_set_i (core->config, "asm.functions", asmfunctions); r_config_set_i (core->config, "asm.section", asmsection); + r_config_set_i (core->config, "asm.filter", asmfilter); sdb_free (db); return true; }