about summary refs log tree commit diff homepage
path: root/lib/Core
diff options
context:
space:
mode:
authorJulian Büning <julian.buening@rwth-aachen.de>2018-10-27 15:28:45 +0200
committerMartinNowack <martin.nowack@gmail.com>2019-03-17 15:22:42 +0000
commit2e167256deb71f3b793978b6a0004aad7e23400f (patch)
tree1626caaf586d88dbd07ebe6a3216832e9671dd99 /lib/Core
parentc1d3977f07ddbf840ca3cdbd580239921a9c5f91 (diff)
downloadklee-2e167256deb71f3b793978b6a0004aad7e23400f.tar.gz
run VerifierPass after optimization and instrumentation
Diffstat (limited to 'lib/Core')
-rw-r--r--lib/Core/Executor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
index 3a5202ac..70561216 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -527,6 +527,7 @@ Executor::setModule(std::vector<std::unique_ptr<llvm::Module>> &modules,
   preservedFunctions.push_back("memmove");
 
   kmodule->optimiseAndPrepare(opts, preservedFunctions);
+  kmodule->checkModule();
 
   // 4.) Manifest the module
   kmodule->manifest(interpreterHandler, StatsTracker::useStatistics());