From fa9d57f51c7aa0a0e53fe0078ebae0efa8d003f4 Mon Sep 17 00:00:00 2001 From: maskelihileci <41159853+maskelihileci@users.noreply.github.com> Date: Sat, 30 Nov 2024 01:56:50 +0300 Subject: [PATCH] Add files via upload The "unused parameter analysis in call references" feature is now enabled for all layers. --- Retrospective_Analysis.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Retrospective_Analysis.py b/Retrospective_Analysis.py index 6e04c03..c382045 100644 --- a/Retrospective_Analysis.py +++ b/Retrospective_Analysis.py @@ -1095,6 +1095,8 @@ def debug_print(msg): # Remove unused parameters self._analyze_and_remove_unused_parameters(func_ea) + if config["unused_param_analysis"]: + self._analyze_calls_and_update_signature(func_ea) # Refresh view if in pseudocode window widget_name = f"Pseudocode-{idc.get_func_name(func_ea)}" @@ -1311,8 +1313,7 @@ def process_function_backwards(self, start_ea): if progress.check_cancelled(): print(f"\nOperation cancelled by user during function processing.") return - if config["unused_param_analysis"]: - fixer._analyze_calls_and_update_signature(start_ea) + progress.replace_message("Analysis completed successfully!") print("\nAnalysis completed successfully!")