diff --git a/rizin b/rizin index b59d9a03..3f077bce 160000 --- a/rizin +++ b/rizin @@ -1 +1 @@ -Subproject commit b59d9a03b2618d7209925da2a7873b40972f42a4 +Subproject commit 3f077bce4a0a7c6323b31d06c6a3a631a988fa5f diff --git a/src/core/Cutter.cpp b/src/core/Cutter.cpp index 696cea7f..ce9d4cdb 100644 --- a/src/core/Cutter.cpp +++ b/src/core/Cutter.cpp @@ -3051,8 +3051,8 @@ QList 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();