SheLLVM / SheLLVM

A collection of LLVM transform and analysis passes to write shellcode in regular C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiling on Windows - Visual Studio 2019 - ClangCL

colinsenner opened this issue · comments

I'm attempting to compile this on windows using clang-cl.

I ran cmake with the following:

cmake -G "Visual Studio 16 2019" -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_INSTALL_PREFIX=C:/Program\ Files/SheLLVM -A x64 -T ClangCL ..

I'm getting and error when compiling the shellvm project:

"no matching function for call to 'Create' - shellvm - MergeCallsPass.h - line 119

CallInst *UnifiedCall = CallInst::Create( cast<Value>(Target), ArrayRef<Value *>(CallArgs), "", CallBlock);

Any insight what might be causing this? Thanks.

Thank you for reporting this. Support for LLVM >= 10 has been introduced as of c697946.