Merge pull request #1178 from palkeo/fix_1176

Fix #1176: load map items
notify-unreachable-code
Bernhard Mueller 5 years ago committed by GitHub
commit 649b0cd07e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mythril/laser/ethereum/state/account.py

@ -74,7 +74,7 @@ class Storage:
item = self._sanitize(cast(BitVecFunc, item).input_)
value = storage[item]
if (
value.value == 0
(value.value == 0 or value.value is None) # 0 for Array, None for K
and self.address
and item.symbolic is False
and self.address.value != 0

Loading…
Cancel
Save