-
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
Support for llvm-14.x #14
Comments
P.S. To disable new pass manager add cmake flag |
Also with support new pass manager NOTE: When llvm builded with new pass manager by default, then flags doesn't work with |
Does it work on Android NDK 24 that just got released? |
@VanHoevenTR yes, it work. but this patches may contain bugs - use fork from my PR #15 (bugs is fixed in PR) |
Patch witch fixed bugs and improve performance ( like in PR #15 ) - ollvm-14.patch.txt |
I don't know why string obfuscation doesn't work use "-mllvm sobf" |
@HarukaMomono string obfuscator is disabled for new pass manager, because it crash compiler. You can use any constexpr string obfuscator since C++11 |
It can work normally~~ |
Added to new PM: |
sorry for late reply, you tried this way to install NDK right? just making sure because last time i tried i got libunwind error. |
Thanks |
@HarukaMomono ,hello is the "-mllvm sobf" work in yur machine? how did you get it, i apply https://github.com/heroims/obfuscator/files/8455883/ollvm-14.patch.txt on llvm 14.x but the "-mllvm sobf" was not work. What can I do to solve this problem? thans for your reply. |
Patch for recent commit fd98b0f1a6a1
How to install
git clone -b release/14.x https://github.com/llvm/llvm-project.git cd llvm-project git checkout fd98b0f1a6a1 wget https://github.com/heroims/obfuscator/files/8426512/ollvm-14.patch.txt git apply ollvm-14.patch.txt
Done! Now you have sources llvm-14.0.1 with obfuscation support. Next, you can follow instruction from Wiki to build it.
P.S. Integrate with android-ndk
The text was updated successfully, but these errors were encountered: