mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 12:12:06 +00:00
Honor anal.depth
in aac
.
This commit is contained in:
parent
b331ba86f7
commit
bc0bd43be6
@ -2100,6 +2100,7 @@ static void cmd_anal_calls(RCore *core, const char *input) {
|
||||
RBinFile *binfile;
|
||||
RAnalOp op;
|
||||
ut64 addr, addr_end;
|
||||
int depth = r_config_get_i (core->config, "anal.depth");
|
||||
ut64 len = r_num_math (core->num, input);
|
||||
if (len > 0xffffff) {
|
||||
eprintf ("Too big\n");
|
||||
@ -2160,7 +2161,7 @@ static void cmd_anal_calls(RCore *core, const char *input) {
|
||||
if (op.size < 1) op.size = minop; // XXX must be +4 on arm/mips/.. like we do in disasm.c
|
||||
if (op.type == R_ANAL_OP_TYPE_CALL) {
|
||||
r_core_anal_fcn (core, op.jump, UT64_MAX,
|
||||
R_ANAL_REF_TYPE_NULL, 16);
|
||||
R_ANAL_REF_TYPE_NULL, depth);
|
||||
}
|
||||
} else {
|
||||
op.size = minop;
|
||||
|
Loading…
x
Reference in New Issue
Block a user