mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-02 10:16:21 +00:00
fixing bug in anal type matching
It should stop its work if the calling convention is not found
This commit is contained in:
parent
c4f301e52e
commit
38f8f7bf60
@ -58,7 +58,8 @@ static void type_match(RCore *core, ut64 addr, char *name) {
|
||||
}
|
||||
const char* cc = r_anal_type_func_cc (anal, fcn_name);
|
||||
if (!cc || !r_anal_cc_exist (anal, cc)) {
|
||||
eprintf("cant find %s calling convention %s\n", fcn_name, cc);
|
||||
eprintf ("can't find %s calling convention %s\n", fcn_name, cc);
|
||||
return;
|
||||
}
|
||||
int i, j, max = r_anal_type_func_args_count (anal, fcn_name);
|
||||
int size = 0, idx = sdb_num_get (trace, "idx", 0);
|
||||
|
Loading…
Reference in New Issue
Block a user