fkie-cad / dewolf

A research decompiler implemented as a Binary Ninja plugin.
GNU Lesser General Public License v2.1
162 stars 9 forks source link

Refactoring switch node handler #423

Closed ebehner closed 5 days ago

ebehner commented 1 week ago

Merge the switch-node handler and condition-handler, since they're both in charge of conditions. Furthermore, the switch-node handler is only available on the AST, but the condition-handler on both, the AST and CFG. For some scenarios, it is necessary to have the information of the switch-node handler also on the CFG. Besides, this way everything is synchronized.