open-obfuscator / o-mvll

:electron: O-MVLL is a LLVM-based obfuscator for native code (Android & iOS)
https://obfuscator.re/omvll
Apache License 2.0
574 stars 62 forks source link

Stack exhaustion due to for/while loops #41

Open matbrik opened 2 months ago

matbrik commented 2 months ago

Issue related to https://github.com/open-obfuscator/o-mvll/issues/39

some obfuscation passes of omvll cause stack exhaustion if applied on for loops or while with a lot of iterations due to saving on the stack variables at each iteration.

for now I've found the following cases:

To reproduce the crashes you can use the setup described in https://github.com/open-obfuscator/o-mvll/issues/39