1

当我尝试使用时,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
原因:找不到图像)

你能帮忙解决这个问题吗?

4

1 回答 1

2

我遇到了完全相同的问题。没有遵循安装说明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
于 2018-07-02T05:12:45.977 回答