Check aab argument value

This commit is contained in:
pancake 2019-01-26 01:21:04 +01:00 committed by radare
parent 00a1b6bd58
commit 18cb56cbe7

View File

@ -5345,7 +5345,11 @@ static void cmd_anal_blocks(RCore *core, const char *input) {
}
}
} else {
ut64 sz = r_num_math (core->num, arg + 1);
st64 sz = r_num_math (core->num, arg + 1);
if (sz < 1) {
eprintf ("Invalid range\n");
return;
}
r_core_cmdf (core, "abb 0x%08"PFMT64x" @ 0x%08"PFMT64x, sz, core->offset);
}
ctrl_c: