Decompilation should prioritize early returns #5666
Labels
Component: Core
Issue needs changes to the core
Core: HLIL
Issue involves High Level IL
IL Optimization
Issue involving optimization of representation (not correctness)
Type: Enhancement
Issue is a small enhancement to existing functionality
What is the feature you'd like to have?
The the structure of a function's decompilation could be improved by prioritizing early returns in cases like the following:
Current decompilation:
Preferred decompilation:
Additional Information:
Question came from @mostobriv on the public slack, with the following text:
The text was updated successfully, but these errors were encountered: