about summary refs log tree commit diff homepage
path: root/lib/Core
diff options
context:
space:
mode:
authorMartin Nowack <martin@se.inf.tu-dresden.de>2014-12-01 21:23:04 +0100
committerMartin Nowack <martin@se.inf.tu-dresden.de>2015-03-12 13:12:41 +0100
commit591585d86a8755ed57620d9f00ffd667f2df286c (patch)
treedb49951f03abdf86e0bd08c13062f0746a46950d /lib/Core
parent93b5671574cb1922e13ead59493dcc185e9c626d (diff)
downloadklee-591585d86a8755ed57620d9f00ffd667f2df286c.tar.gz
[Core] Always warn if states get deleted due to memory limits
Diffstat (limited to 'lib/Core')
-rw-r--r--lib/Core/Executor.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
index c78c9f8a..45876659 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -2592,9 +2592,7 @@ void Executor::run(ExecutionState &initialState) {
             unsigned numStates = states.size();
             unsigned toKill = std::max(1U, numStates - numStates*MaxMemory/mbs);
 
-            if (MaxMemoryInhibit)
-              klee_warning("killing %d states (over memory cap)",
-                           toKill);
+            klee_warning("killing %d states (over memory cap)", toKill);
 
             std::vector<ExecutionState*> arr(states.begin(), states.end());
             for (unsigned i=0,N=arr.size(); N && i<toKill; ++i,--N) {