Update rizin with new var counting functions (#3053)

This commit is contained in:
Florian Märkl 2022-11-05 00:13:02 +01:00 committed by GitHub
parent dda1ece261
commit abfcad6584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

2
rizin

@ -1 +1 @@
Subproject commit b59d9a03b2618d7209925da2a7873b40972f42a4
Subproject commit 3f077bce4a0a7c6323b31d06c6a3a631a988fa5f

View File

@ -3051,8 +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_total(fcn, RZ_ANALYSIS_VAR_TYPE_ARGUMENT);
function.nlocals = rz_analysis_var_count_total(fcn, RZ_ANALYSIS_VAR_TYPE_LOCAL);
function.nargs = rz_analysis_arg_count(fcn);
function.nlocals = rz_analysis_var_local_count(fcn);
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();