Skip to content
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

Stack exhaustion due to for/while loops #41

Open
matbrik opened this issue Apr 16, 2024 · 0 comments
Open

Stack exhaustion due to for/while loops #41

matbrik opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@matbrik
Copy link

matbrik commented Apr 16, 2024

Issue related to #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:

  • obfuscate_constants with for loops
  • flatten_cfg with while and for loops
  • break_control_flow with while and for loops

To reproduce the crashes you can use the setup described in #39

@antoniofrighetto antoniofrighetto self-assigned this Apr 16, 2024
@antoniofrighetto antoniofrighetto added the bug Something isn't working label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants