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

Add configuration option for allowing for-loops #351

Merged
merged 3 commits into from
Oct 16, 2023

Conversation

ebehner
Copy link
Collaborator

@ebehner ebehner commented Oct 16, 2023

For the ISR cooperation, we promised a config-option that turns the reconstruction of for-loops on and off.
This is now implemented. If the option is set to true, still all other configuration options have to hold in order to reconstruct a for-loop. If it is set to false, no for loop is restructured.

Question: This overwrites the option force_for_loop, i.e., if restructure_for_loop is set to false and force_for_loop to true, no for-loop is restructured. Do we want a warning in this scenario?

@ebehner ebehner requested a review from steffenenders October 16, 2023 08:50
decompiler/util/default.json Outdated Show resolved Hide resolved
@steffenenders steffenenders enabled auto-merge (squash) October 16, 2023 09:14
@steffenenders steffenenders merged commit 9c77091 into main Oct 16, 2023
1 check passed
@steffenenders steffenenders deleted the config_option_no_for_loop branch October 16, 2023 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants