Fix #318 - file.analyze doesn't work

This commit is contained in:
pancake 2013-11-09 03:34:11 +01:00
parent ec9b04e758
commit 75b59283d8
1 changed files with 3 additions and 0 deletions

View File

@ -441,6 +441,9 @@ int main(int argc, char **argv) {
r_core_cmd_file (&r, homerc);
free (homerc);
}
if (r_config_get_i (r.config, "file.analyze")) {
r_core_cmd0 (&r, "aa");
}
}
if (asmarch) r_config_set (r.config, "asm.arch", asmarch);
if (asmbits) r_config_set (r.config, "asm.bits", asmbits);