MCPcopy Create free account
hub / github.com/avast/retdec / runOnModule

Method runOnModule

src/bin2llvmir/optimizations/dump_module/dump_module.cpp:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31bool 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

Callers

nothing calls this directly

Calls 2

dumpModuleToFileFunction · 0.85
getOutputDirectoryMethod · 0.80

Tested by

no test coverage detected