Merge pull request #343 from JoranHonig/bugfix/fallback_

Set initial function name to fallback
pull/348/head
JoranHonig 6 years ago committed by GitHub
commit a0500a7837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      mythril/laser/ethereum/svm.py

@ -62,6 +62,7 @@ class LaserEVM:
self.nodes[initial_node.uid] = initial_node
global_state = GlobalState(self.accounts, environment, initial_node)
global_state.environment.active_function_name = "fallback()"
initial_node.states.append(global_state)
# Empty the work_list before starting an execution

Loading…
Cancel
Save