add eq implementation to base array

This is used for summary generation
feature/summary
Joran Honig 5 years ago
parent 2148cb5f19
commit 4ed10a750d
  1. 3
      mythril/laser/smt/array.py

@ -31,6 +31,9 @@ class BaseArray:
self.raw = z3.Store(self.raw, key.raw, value.raw) # type: ignore
def __eq__(self, other: "BaseArray"):
return Bool(self.raw == other.raw)
class Array(BaseArray):
"""A basic symbolic array."""

Loading…
Cancel
Save