Commit Graph

4 Commits

Author SHA1 Message Date
Pietro Fezzardi a231d013d0 improve lazy serialization of branch conditions 2019-03-29 11:08:13 +01:00
Pietro Fezzardi dadbf54631 Rework decompiler 2019-03-20 17:47:04 +01:00
Andrea Gussoni 3cf9ffd3ca Move beautify passes in DecompilationPass
Moved a lot of passes that apply optimizations on the AST in the
decompilation pass.

All the optimization functions are now in a dedicated file
(`CDecompilerBeautify.cpp`) and the only function used as interface with
the `CDecompilerAction` pass is the `beautifyAST` function.

This means that now the simplifications will be applied on the already
flattened AST.

Some basic transformations have been left in the `RestructureCFG` pass,
to avoid having an AST of poor quality as output of the pass.
2019-03-14 18:03:36 +01:00
Pietro Fezzardi bc6e2fcb01 Add MarkForSerialization MonotoneFramework 2019-03-14 09:50:14 +01:00