hzqst / unicorn_pe

Unicorn PE is an unicorn based instrumentation project designed to emulate code execution for windows PE files.
MIT License
787 stars 199 forks source link

Failed to compile BlackBone in the latest repo, but succeed to compile BlackBone from official repo. #27

Closed lyhyl closed 3 years ago

lyhyl commented 3 years ago

Failed to compile BlackBone in latest repo. Succeed to compile BlackBone from https://github.com/DarthTon/Blackbone

Tons of errors 'xxx' is not a member of 'std', which can be solved by adding #include <functional> to Winheaders.h. But some other errors in MMap.cpp, RemoteExec.cpp, and PDBHelper.h require extra fix.

using Microsoft Visual Studio Community 2019 Version 16.9.1

lyhyl commented 3 years ago

ok, solved.

Errors 'xxx' is not a member of 'std' can be solved by adding #include <functional> to Winheaders.h. Other errors can be solved by switching the C++ Language standard to ISO C++17 (the original standard is latest). The missing dia2.h errors can be solved by adding correct Blackbone\src\3rd_party\DIA path to VC++ Include Directories.