mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-02 11:16:15 +00:00
Reset asm.filter after pdc bug #6066
This commit is contained in:
parent
54afd47d9e
commit
878d25a8d5
@ -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 asmsection = r_config_get_i (core->config, "asm.section");
|
||||||
int asmcmtcol = r_config_get_i (core->config, "asm.cmtcol");
|
int asmcmtcol = r_config_get_i (core->config, "asm.cmtcol");
|
||||||
//int asmtabs = r_config_get_i (core->config, "asm.tabs");
|
//int asmtabs = r_config_get_i (core->config, "asm.tabs");
|
||||||
|
int asmfilter = r_config_get_i (core->config, "asm.filter");
|
||||||
if (!fcn) {
|
if (!fcn) {
|
||||||
eprintf ("Cannot find function in 0x%08"PFMT64x"\n",
|
eprintf ("Cannot find function in 0x%08"PFMT64x"\n",
|
||||||
core->offset);
|
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.comments", asmcomments);
|
||||||
r_config_set_i (core->config, "asm.functions", asmfunctions);
|
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.section", asmsection);
|
||||||
|
r_config_set_i (core->config, "asm.filter", asmfilter);
|
||||||
sdb_free (db);
|
sdb_free (db);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user