Files
revng-revng/lib/FilterForDecompilation
Alvise de Faveri cb3ee3c8ac Remove body of non-isolated functions from the IR
Before decompiling, we want to get rid of all unused stuff from the
IR. To do this, we have to:

1. Modify `FilterForDecompilation` so that it removes the body of
   all non-isolated functions
2. Add `strip-dead-prototypes` to the preparation pipeline, so that
   also the declarations of non-isolated functions that are not
   directly called inside an isolated function are stripped from
   the LLVM module. In this way, we can safely execute `HelpersToHeader`
2022-02-10 17:12:45 +01:00
..