diff options
author | Frank Busse <bb0xfb@gmail.com> | 2020-11-05 23:23:50 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2021-05-04 14:58:19 +0100 |
commit | 78026968b7ee1abd97f39227ab7494a898c0d287 (patch) | |
tree | fa193ba3724140517d965c89fc6bc9ac92b59533 /lib/Core | |
parent | 95f7f447432807efd70c8abac598d0d88ba1e9b1 (diff) | |
download | klee-78026968b7ee1abd97f39227ab7494a898c0d287.tar.gz |
differentiate between partial and completed paths in summary and fix paths stats when not dumping states
Diffstat (limited to 'lib/Core')
-rw-r--r-- | lib/Core/Executor.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index 2f806aad..fb83c883 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -3436,8 +3436,10 @@ bool Executor::checkMemoryUsage() { } void Executor::doDumpStates() { - if (!DumpStatesOnHalt || states.empty()) + if (!DumpStatesOnHalt || states.empty()) { + interpreterHandler->incPathsExplored(states.size()); return; + } klee_message("halting execution, dumping remaining states"); for (const auto &state : states) @@ -3638,6 +3640,7 @@ void Executor::terminateStateOnExit(ExecutionState &state) { if (!OnlyOutputStatesCoveringNew || state.coveredNew || (AlwaysOutputSeeds && seedMap.count(&state))) interpreterHandler->processTestCase(state, 0, 0); + interpreterHandler->incPathsCompleted(); terminateState(state); } |