about summary refs log tree commit diff homepage
path: root/lib/Core/Executor.cpp
diff options
context:
space:
mode:
authorMartinNowack <martin.nowack@gmail.com>2016-07-08 15:05:47 +0200
committerGitHub <noreply@github.com>2016-07-08 15:05:47 +0200
commit7b98c15e45c5d38e9fa9094bbe4f64cd8829675c (patch)
tree51cc59a2ea0cd275831164c175da2420ed6ea33b /lib/Core/Executor.cpp
parent0d199e6174fa03893a64e3781368410368a1235c (diff)
parent4e2c9edd3f89f42bc4629ede54987f9351958952 (diff)
downloadklee-7b98c15e45c5d38e9fa9094bbe4f64cd8829675c.tar.gz
Merge pull request #410 from MartinNowack/feat_log_after_steps
Add options to dump istats and stats statistics every n instructions.
Diffstat (limited to 'lib/Core/Executor.cpp')
-rw-r--r--lib/Core/Executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
index 49b022f8..f23fb3c0 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -364,7 +364,7 @@ const Module *Executor::setModule(llvm::Module *module,
   kmodule->prepare(opts, interpreterHandler);
   specialFunctionHandler->bind();
 
-  if (StatsTracker::useStatistics()) {
+  if (StatsTracker::useStatistics() || userSearcherRequiresMD2U()) {
     statsTracker = 
       new StatsTracker(*this,
                        interpreterHandler->getOutputFilename("assembly.ll"),