obfuscator
obfuscator copied to clipboard
ollvm,base on llvm-clang 5.0.2, 6.0.1 , 7.0.1,8.0,9.0,9.0.1,10.x,11.x,12.x,13.x,14.x,swift-llvm-clang 5.0,swift-llvm-clang 5.5
我尝试使用如下命令编译了 9.0.1 ``` git clone -b llvm-9.0.1 https://github.com/heroims/obfuscator cd obfuscator mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -G "MinGW Makefiles" ../ mingw32-make.exe -j7 ``` 经过测试他是工作的,但我希望得到 32位的文件,而不是 64位的,请问我该如何修改? 我尝试了使用 cmake 的 set(CMAKE_C_FLAGS...
**Describe the bug** 如果代码这么写:const char keyword[] = "keywords"; 混淆不生效,x86 动态库里依然能找到该value,其他cpu type 混淆成功 如果这么写:const char *keyword = "keywords",则 x86 混淆成功
**Describe the bug** /bin/sh: /Users/XXXXX/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang: Bad CPU type in executable ninja: build stopped: subcommand failed. uname -a: Darwin 21.6.0 Darwin Kernel Version 21.6.0: /RELEASE_X86_64 x86_64
**Describe the bug** i/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find /Users/XXXXX/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/lib/clang/9.0.1/lib/linux/libclang_rt.profile-aarch64-android.a: No such file or directory **To Reproduce** Steps to reproduce the behavior. 1.Macos 编译,100%复现 2.同时发现llvm/prebuilt/darwin-x86_64/lib64/clang/9.0.1/lib/linux 下有该文件,但是64位的,直接CP 过去好像不行,怎么能制作一个32位的ibclang_rt.profile-aarch64-android.a?
``` clang++: error: clang frontend command failed due to signal (use -v to see invocation) clang version 9.0.1 Target: aarch64-none-linux-android24 Thread model: posix InstalledDir: D:\dev\sdk\ndk\213652~1.1\TOOLCH~1\llvm\prebuilt\WINDOW~1\bin clang++: note: diagnostic msg: PLEASE...
make 后很多build 错误,段错误等等
**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...
14.x混淆无效:是我哪里做的不对吗?恳请各路大佬帮忙看看,感谢感谢 环境: - mac os - llvm version:llvm 14.0.5 因为我用首页给的patch的时候,字符串混淆没有相关的参数,所以按照 https://github.com/heroims/obfuscator/issues/14 修改了https://github.com/heroims/obfuscator/files/8455883/ollvm-14.patch.txt,切换到分支14.0.5 编译命令:`cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang" ../../llvm-project/llvm` 因为作者给出了new pass manager的方式,所以没有设置参数:-DLLVM_ENABLE_NEW_PASS_MANAGER=OFF 但是最后使用的时候,用ida查看混淆都没有生效 编译命令:clangPath/clang -isysroot `xcrun --show-sdk-path` -arch arm64 -mllvm -bcf...
The `ollvm14.patch` new pass does not support LLVM 17. I'm getting the following errors trying to patch the source ``` ../ollvm14.patch:74: trailing whitespace. class BogusControlFlowPass : public PassInfoMixin{ ../ollvm14.patch:270: trailing...
您好,我在Mac上,使用ndk版本r25,使用 obfuscator llvm 14x版本,参照文章https://heroims.github.io/2019/01/06/OLLVM%E4%BB%A3%E7%A0%81%E6%B7%B7%E6%B7%86%E7%A7%BB%E6%A4%8D%E4%B8%8E%E4%BD%BF%E7%94%A8/ 替换了clang后,编译工程,在LOCAL_CFLAGS添加-mllvm -bcf参数后,编译卡死,一定停留在第一个编译文件,cpu100%,只使用-mllvm -sub -mllvm -fla参数就没有问题