From 591585d86a8755ed57620d9f00ffd667f2df286c Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Mon, 1 Dec 2014 21:23:04 +0100 Subject: [Core] Always warn if states get deleted due to memory limits --- lib/Core/Executor.cpp | 4 +--- 1 file changed, 1 insertion(+), 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 arr(states.begin(), states.end()); for (unsigned i=0,N=arr.size(); N && i