diff options
author | Martin Nowack <martin@se.inf.tu-dresden.de> | 2014-12-01 21:23:04 +0100 |
---|---|---|
committer | Martin Nowack <martin@se.inf.tu-dresden.de> | 2015-03-12 13:12:41 +0100 |
commit | 591585d86a8755ed57620d9f00ffd667f2df286c (patch) | |
tree | db49951f03abdf86e0bd08c13062f0746a46950d /lib/Core/Executor.cpp | |
parent | 93b5671574cb1922e13ead59493dcc185e9c626d (diff) | |
download | klee-591585d86a8755ed57620d9f00ffd667f2df286c.tar.gz |
[Core] Always warn if states get deleted due to memory limits
Diffstat (limited to 'lib/Core/Executor.cpp')
-rw-r--r-- | lib/Core/Executor.cpp | 4 |
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) { |