forked from obfuscator-llvm/obfuscator
-
Notifications
You must be signed in to change notification settings - Fork 331
Open
Description
14.x混淆无效:是我哪里做的不对吗?恳请各路大佬帮忙看看,感谢感谢
环境:
- mac os
- llvm version:llvm 14.0.5
因为我用首页给的patch的时候,字符串混淆没有相关的参数,所以按照 Support for llvm-14.x #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 -emit-llvm -S hello_ollvm.c -o hello_ollvm_bcf.ll
加上编译选项:-DLLVM_ENABLE_NEW_PASS_MANAGER=OFF就可以生效,但是为什么呀,不是已经适配了new pass manager了吗?
Metadata
Metadata
Assignees
Labels
No labels