angr安装失败, pyvex build faild.

正确方式。开始菜单中打开。 VS2015 x64 Native Tools Command Prompt
然后 pip install angr即可。


之前我是这样解决的太蠢了。

1.先下载 pip download pyvex 解压
pyvex两处修改在/I添加 lib路径
pyvex_c\Makefile-msvc
vex\Makefile-msvc

INCFLAGS=/I "$(VEX_INCLUDE_PATH)" /I"D:\Program Files\Microsoft Visual Studio 9.0\VC\include" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt" /I "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include"

include C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt

2.pip download angr
修改angr-9.0.10730\native\Makefile-win
添加

INCFLAGS=/I "$(PYVEX_INCLUDE_PATH)" /I "$(UNICORN_INCLUDE_PATH)" /I "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include"
posted @ 2021-12-08 15:04  wgf4242  阅读(97)  评论(0编辑  收藏  举报