diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2018-05-15 22:29:52 +0100 |
---|---|---|
committer | MartinNowack <martin.nowack@gmail.com> | 2018-05-17 16:33:24 +0100 |
commit | 89c7505012b7c03b603bd527c4fd5e340bfb35cf (patch) | |
tree | fcf99e6050db409100b3d817054d1b97625bb13b /lib/Core/Executor.cpp | |
parent | 8bec949fc84d8fe8dacbf38ff123b404f1eb4737 (diff) | |
download | klee-89c7505012b7c03b603bd527c4fd5e340bfb35cf.tar.gz |
Abort execution if --only-output-states-covering-new is enabled but its dependency --output-istats is not
Diffstat (limited to 'lib/Core/Executor.cpp')
-rw-r--r-- | lib/Core/Executor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index 1e1a142b..f7c71e8d 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -354,6 +354,9 @@ Executor::Executor(LLVMContext &ctx, const InterpreterOptions &opts, initializeSearchOptions(); + if (OnlyOutputStatesCoveringNew && !StatsTracker::useIStats()) + klee_error("To use --only-output-states-covering-new, you need to enable --output-istats."); + if (DebugPrintInstructions.isSet(FILE_ALL) || DebugPrintInstructions.isSet(FILE_COMPACT) || DebugPrintInstructions.isSet(FILE_SRC)) { |