Skip to content

Commit

Permalink
Fix explicit_analysis_starts correctly (angr#998)
Browse files Browse the repository at this point in the history
  • Loading branch information
mahaloz authored May 10, 2023
1 parent 2fa848c commit cef8957
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions angrmanagement/ui/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,9 +507,10 @@ def run_analysis(self, prompt_for_configuration=True):
cfg_options["start_at_entry"] = False

cfg_options["function_starts"] = function_starts
if "explicit_analysis_starts" in cfg_options:
# discard "explicit_analysis_starts" even if function_starts is not set
del cfg_options["explicit_analysis_starts"]

# discard "explicit_analysis_starts" even if function_starts is not set
if "explicit_analysis_starts" in cfg_options:
del cfg_options["explicit_analysis_starts"]

# update options for region specification
if "regions" in cfg_options:
Expand Down

0 comments on commit cef8957

Please sign in to comment.