Disable anal.nopskip on arm binaries

This commit is contained in:
pancake 2023-03-09 18:43:20 +01:00
parent b04bc4164c
commit 8d65fc5f4f
1 changed files with 3 additions and 0 deletions

View File

@ -348,6 +348,9 @@ R_API bool r_core_bin_set_env(RCore *r, RBinFile *binfile) {
sdb_num_add (r->sdb, "orig_baddr", baseaddr, 0);
r->dbg->bp->baddr = baseaddr;
r_config_set (r->config, "asm.arch", arch);
if (!strcmp (arch, "arm")) {
r_config_set_b (r->config, "anal.nopskip", false);
}
r_config_set_i (r->config, "asm.bits", bits);
r_config_set (r->config, "anal.arch", arch);
const char *cpu = R_STR_ISNOTEMPTY (info->cpu)? info->cpu: arch;