lifting-bits / fcd

An optimizing decompiler (modified to use remill semantics)
http://zneak.github.io/fcd
Other
30 stars 3 forks source link

Migrate IR passes from `RemillTranslationContext::FinalizeModule()` #27

Open surovic opened 6 years ago

surovic commented 6 years ago

To facilitate usage of modules that were lifted by other remill-based tools (most notably McSema), IR passes such as RemillArgumentRecovery and RemillStackRecovery need to be run outside of RemillTranslationContext::FinalizeModule(). Ideally put into RunPassPipeline() or a related function in main.cpp. This will allow the passes to be run independently of lifting,