add constructor to summary tracking annotation

feature/summary
Joran Honig 5 years ago
parent 2fd420c445
commit d8d9520822
  1. 12
      mythril/laser/ethereum/plugins/implementations/summary/core.py

@ -18,8 +18,16 @@ class SummaryTrackingAnnotation(StateAnnotation):
This annotation is used by the symbolic summary plugin to keep track of data related to a summary that
will be computed during the future exploration of the annotated world state.
"""
def __init__():
pass
def __init__(
self,
entry: GlobalState,
storage_pairs: List[Tuple[BaseArray, BaseArray]],
storage_constraints: List[Bool]
):
self.entry = entry
self.storage_pairs = storage_pairs
self.storage_constraints = storage_constraints
class SymbolicSummary:

Loading…
Cancel
Save