Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
The "unused parameter analysis in call references" feature is now enabled for all layers.
  • Loading branch information
maskelihileci authored Nov 29, 2024
1 parent e916e4a commit fa9d57f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Retrospective_Analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}"
Expand Down Expand Up @@ -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!")

Expand Down

0 comments on commit fa9d57f

Please sign in to comment.