Fix duplicate function name

pull/1347/head
Bernhard Mueller 5 years ago
parent 58bdc64b84
commit 29f45165ea
  1. 2
      mythril/laser/ethereum/plugins/implementations/dependency_pruner.py
  2. 2
      mythril/laser/ethereum/plugins/implementations/mutation_pruner.py

@ -246,7 +246,7 @@ class DependencyPruner(LaserPlugin):
annotation.has_call = True
@symbolic_vm.pre_hook("STATICCALL")
def call_hook(state: GlobalState):
def staticcall_hook(state: GlobalState):
annotation = get_dependency_annotation(state)
self.update_calls(annotation.path)

@ -43,7 +43,7 @@ class MutationPruner(LaserPlugin):
global_state.annotate(MutationAnnotation())
@symbolic_vm.pre_hook("STATICCALL")
def call_mutator_hook(global_state: GlobalState):
def staticcall_mutator_hook(global_state: GlobalState):
global_state.annotate(MutationAnnotation())
@symbolic_vm.laser_hook("add_world_state")

Loading…
Cancel
Save