-
Notifications
You must be signed in to change notification settings - Fork 9
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
Implementation as a plugin #3
Comments
Yes, it is possible, but this approach does not work for all platforms, in the past one of my main tasks was to support Windows. |
What kind of the issues on running on the Windows platform?
on the platform independent c++ implementation https://en.cppreference.com/w/cpp/numeric/random |
@Deniskore Any update? |
C++ random is very slow. If you notice, this random function is called very often. |
I meant "implement it as a plugin" as it is more natural design to implement passes as pluggable module rather than modifying the LLVM's source code. |
@NewDwarf Sorry for the delay, I will make a separate version of the obfuscator as a plugin. Also in the not so distant future, I will release a new version based on LLVM 15. |
@Deniskore That would be nice! Thanks. |
How do you think whether it is possible to implement the obfuscator as a LLVM plugin?
It would be very flexible solution for using with different toolchains.
As an example, following project can be taken.
https://polarply.medium.com/build-your-first-llvm-obfuscator-80d16583392b
https://github.com/tsarpaul/llvm-string-obfuscator
The idea is clear and simple. First, we generate the bitcode then process the bitcode with our plugin and after that translate it to the native code.
The text was updated successfully, but these errors were encountered: