| 29 | } |
| 30 | |
| 31 | bool DumpModule::runOnModule(Module& M) |
| 32 | { |
| 33 | auto* c = ConfigProvider::getConfig(&M); |
| 34 | if (c && fs::exists(c->getOutputDirectory())) |
| 35 | { |
| 36 | dumpModuleToFile(&M, c->getOutputDirectory()); |
| 37 | } |
| 38 | return false; |
| 39 | } |
| 40 | |
| 41 | } // namespace bin2llvmir |
| 42 | } // namespace retdec |
nothing calls this directly
no test coverage detected