obfuscator
obfuscator copied to clipboard
String obfuscation NOT obfuscating in Windows
String obfuscation NOT obfuscating in Windows Patch & build in Linux, String obfuscation works properly. Patch & build in Windows, String obfuscation simple doesn't works.
Build process:
cmake -S llvm -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi" -DLLVM_ENABLE_ASSERTIONS=No -DLLVM_ENABLE_NEW_PASS_MANAGER=Off
Compiling with string obfuscation option -mmlvm -sobf
C:\>\llvm-project_14.x\build\bin\clang.exe -mllvm -sobf hello.c -o hello.exe
Source code to test
Results of the compiled source code with -mllvm -sobf
As seen in the image, the strings remains intact (not obfuscated).
Software:
- OS: Windows 10
- Visual Studio 2022
- LLVM 14.0.6
- cflag: -mllvm -sobf
String obfuscation NOT obfuscating in Windows Patch & build in Linux, String obfuscation works properly. Patch & build in Windows, String obfuscation simple doesn't works.
Build process:
cmake -S llvm -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi" -DLLVM_ENABLE_ASSERTIONS=No -DLLVM_ENABLE_NEW_PASS_MANAGER=Off
Compiling with string obfuscation option
-mmlvm -sobf
C:\>\llvm-project_14.x\build\bin\clang.exe -mllvm -sobf hello.c -o hello.exe
Source code to test
Results of the compiled source code with
-mllvm -sobf
As seen in the image, the strings remains intact (not obfuscated).
Software:
- OS: Windows 10
- Visual Studio 2022
- LLVM 14.0.6
- cflag: -mllvm -sobf
Did you ever get this working? Also could the error be caused by you disabling the newpass?