Update rizin (#3044)

This commit is contained in:
Giovanni 2022-10-05 04:35:43 +02:00 committed by GitHub
parent d972f86e6f
commit 8ad700a6dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 7 deletions

2
rizin

@ -1 +1 @@
Subproject commit 32ef171354e2fde6194a354a1a350df357c08afc
Subproject commit fbad0b4859802a62dcc96002c2710e696809a0c3

View File

@ -3051,12 +3051,8 @@ QList<FunctionDescription> CutterCore::getAllFunctions()
FunctionDescription function;
function.offset = fcn->addr;
function.linearSize = rz_analysis_function_linear_size(fcn);
function.nargs = rz_analysis_var_count(core->analysis, fcn, 'b', 1)
+ rz_analysis_var_count(core->analysis, fcn, 'r', 1)
+ rz_analysis_var_count(core->analysis, fcn, 's', 1);
function.nlocals = rz_analysis_var_count(core->analysis, fcn, 'b', 0)
+ rz_analysis_var_count(core->analysis, fcn, 'r', 0)
+ rz_analysis_var_count(core->analysis, fcn, 's', 0);
function.nargs = rz_analysis_var_count_total(fcn, RZ_ANALYSIS_VAR_TYPE_ARGUMENT);
function.nlocals = rz_analysis_var_count_total(fcn, RZ_ANALYSIS_VAR_TYPE_LOCAL);
function.nbbs = rz_list_length(fcn->bbs);
function.calltype = fcn->cc ? QString::fromUtf8(fcn->cc) : QString();
function.name = fcn->name ? QString::fromUtf8(fcn->name) : QString();