-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ollvm13.x生成的clang.exe,替换到vs2022以后,无法混淆 #21
Comments
cmake时加-DLLVM_USE_NEWPM=OFF或编译时加-flegacy-pass-manager |
试了一下,在要混淆的工程中, |
Same thing happening here, running on llvm-13.x compiled with CMake and Ninja, nothing else changed. |
切换到12.x就可以了..13.x目前还有问题,,作者好像没处理 |
Same here with Xcode toolchain from obfuscator-llvm13 but this work https://github.com/lemon4ex/obfuscator branch llvm-13 |
我是按以下方式使用的
编译
1 从github下载ollvm13.x
2 用cmake-gui生成sln
3 编译生成clang
替换
用生成的clang.exe,及其它exe全部替换到vs2022的llvm工具集里面
使用
1 vs2022,添了LLVM (clang-cl), 然后选择了LLVM (clang-cl)
2 在c/c++->命令行->添加-mllvm -sub -mllvm -bcf -mllvm -fla
3 重新生成
最后用ida打开生成的exe,但是和代码里面一样.并没有混淆
The text was updated successfully, but these errors were encountered: