当我尝试使用angr
时收到此警告
导入angr警告| 2018-06-30 15:10:26,560 |
angr.state_plugins.unicorn_engine |加载失败
“ angr_native.dylib”,禁用独角兽支持
(dlopen(/usr/local/lib/python2.7/site-packages/angr/lib/angr_native.dylib,
6):库未加载:libunicorn.1.dylib引用自:
/usr/local/lib/python2.7/site-packages/angr/lib/angr_native.dylib
原因:找不到图片:
dlopen(/usr/local/lib/python2.7/site-packages/angr/lib/angr_native.dylib,
6):库未加载:libunicorn.1.dylib引用自:
/usr/local/lib/python2.7/site-packages/angr/lib/angr_native.dylib
原因:找不到图片)
您能帮助解决这个问题吗?
最佳答案
我有完全一样的问题。我没有遵循安装说明https://docs.angr.io/INSTALL.html,这真是可惜。在Mac上,必须完成以下修复。
BASEDIR=/usr/local/lib/python2.7/site-packages
# If you don't know where your site-packages folder is, use this to find them:
python2 -c "import site; print(site.getsitepackages())"
install_name_tool -change libunicorn.1.dylib "$BASEDIR"/unicorn/lib/libunicorn.dylib "$BASEDIR"/angr/lib/angr_native.dylib
install_name_tool -change libpyvex.dylib "$BASEDIR"/pyvex/lib/libpyvex.dylib "$BASEDIR"/angr/lib/angr_native.dylib
关于python - 当我尝试在OS X上使用angr时出现错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/51112297/