Skip to content

Commit

Permalink
better handling of dynamic array allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
DonggeLiu committed Apr 2, 2020
1 parent 31f1b6e commit 372dfba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Legion.py
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,9 @@ def symex(state: State) -> List[State]:
"""
# Note: Need to keep all successors?
LOGGER.debug("computing successors for {}".format(state))
if state is None:
LOGGER.debug("No corresponding state found, any dynamic array allocation in the code?")
return []
successors = state.step().successors
LOGGER.debug("Successors are: {}".format(successors))
return successors
Expand Down

0 comments on commit 372dfba

Please sign in to comment.