anal.strings does not disable bin.strings ##analysis

This commit is contained in:
pancake 2023-06-11 17:47:06 +02:00 committed by GitHub
parent 7ec83ab05b
commit 14a1609bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,15 +329,6 @@ static bool cb_anal_nonull(void *user, void *data) {
return true;
}
static bool cb_analstrings(void *user, void *data) {
RCore *core = (RCore*) user;
RConfigNode *node = (RConfigNode*) data;
if (node->i_value) {
r_config_set_b (core->config, "bin.strings", false);
}
return true;
}
static bool cb_anal_ignbithints(void *user, void *data) {
RCore *core = (RCore*) user;
RConfigNode *node = (RConfigNode*) data;
@ -3498,7 +3489,7 @@ R_API int r_core_config_init(RCore *core) {
SETBPREF ("anal.hasnext", "false", "continue analysis after each function");
SETICB ("anal.nonull", 0, &cb_anal_nonull, "do not analyze regions of N null bytes");
SETBPREF ("anal.esil", "false", "use the new ESIL code analysis");
SETCB ("anal.strings", "false", &cb_analstrings, "identify and register strings during analysis (aar only)");
SETBPREF ("anal.strings", "false", "flag strings when performing analysis (see af,aar, e bin.strings)");
SETPREF ("anal.types.spec", "gcc", "set profile for specifying format chars used in type analysis");
SETBPREF ("anal.types.verbose", "false", "verbose output from type analysis");
SETBPREF ("anal.types.constraint", "false", "enable constraint types analysis for variables");