bluesadi / Pluto

Obfuscator based on LLVM 14.0.6
831 stars 185 forks source link

Can i use this compiler with visual studio? #10

Closed Buntu0001 closed 2 years ago

Buntu0001 commented 2 years ago

I want to use this compiler with visual studio. Is this compiler can work with visual studio 2022?

bluesadi commented 2 years ago

Of course. You can refer to the following commands, which will generate a VS project:

cd build
cmake -G "Visual Studio 17 2022" -DLLVM_ENABLE_PROJECTS="clang" \
    -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" \
    -DBUILD_SHARED_LIBS=On ../llvm

Reference from https://cmake.org/cmake/help/latest/generator/Visual%20Studio%2017%202022.html

bluesadi commented 2 years ago

What's more, the MBAObfuscation depends on z3-solver. So you need to install libz3 on your Windows machine. I haven't tried it yet.

Buntu0001 commented 2 years ago

i got some error while compile on Visual Studio 2022 image