ucsb-seclab/karonte

please add installation script/support for Python 3

docfate111 opened this issue · 3 comments

This looks really cool and enjoyed the Black Hat talk.
It is rough to install angr on python2 especially the version this project uses
To run on Python3 I ran ``2to3 -w .then removed the dot from every dot importfrom .a import b -> from a import b`
Looking from the website SimEngineVEX isn't supported for Python 2 or 3 anymore.
Is there a specific version of angr I need and how should I install it?

Traceback (most recent call last):
  File "/Users/thelshell/Documents/Code/karonte/tool/karonte.py", line 6, in <module>
    from binary_dependency_graph import BinaryDependencyGraph
  File "/Users/thelshell/Documents/Code/karonte/tool/binary_dependency_graph/__init__.py", line 1, in <module>
    from .binary_dependency_graph import *
  File "/Users/thelshell/Documents/Code/karonte/tool/binary_dependency_graph/binary_dependency_graph.py", line 4, in <module>
    import simuvex
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/simuvex/__init__.py", line 14, in <module>
    from angr.engines import SimEngine, SimSuccessors, SimEngineVEX, SimEngineProcedure, SimEngineUnicorn
ImportError: cannot import name 'SimEngineVEX' from 'angr.engines' (/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/angr/engines/__init__.py)

so one year passed , did you find the solution to this problem ?

Yes, the support for python3 has been merged into master in September 2021.