crytic / ethersplay

EVM dissassembler
GNU Affero General Public License v3.0
834 stars 116 forks source link

Cannot load test.evm #49

Closed t4sk closed 3 years ago

t4sk commented 4 years ago

I tried to load test.evm from examples and I get this error

Disallowing the creation of segment @ 0x97 with dataOffset @ 0x97 and length 0x97 which is larger than the parent's length
Added EVM entry point at 0x0
Traceback (most recent call last):
  File "/home/t4sk/bkp/dev/binaryninja/plugins/../python/binaryninja/binaryview.py", line 2023, in _init
    return self.init()
  File "/home/t4sk/.binaryninja/plugins/ethersplay/evm.py", line 443, in init
    scope=SettingsScope.SettingsContextScope
  File "/usr/lib64/python3.7/enum.py", line 349, in __getattr__
    raise AttributeError(name) from None
AttributeError: SettingsContextScope
BinaryView of type 'EVM' failed to initialize!

Has anyone else encountered this issue?

lzhou1110 commented 4 years ago

I had the same issue and indeed updating to SettingsResourceScope made this work again.