diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2019-03-15 12:45:25 +0000 |
---|---|---|
committer | MartinNowack <martin.nowack@gmail.com> | 2019-03-15 22:53:39 +0000 |
commit | 9896c3e7168aea4890de026e6c9a050e55a05784 (patch) | |
tree | ca3fbdbe7357397c3ae690ee03dc43360ce7b9a3 /lib | |
parent | 380622261e76f89b482d227a2c54413e0bb7f1f3 (diff) | |
download | klee-9896c3e7168aea4890de026e6c9a050e55a05784.tar.gz |
Added help message for --use-constant-arrays, and placed option in the constraint solving category
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Core/Memory.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/Core/Memory.cpp b/lib/Core/Memory.cpp index 5c855fb8..9348105e 100644 --- a/lib/Core/Memory.cpp +++ b/lib/Core/Memory.cpp @@ -10,19 +10,18 @@ #include "Memory.h" #include "Context.h" +#include "MemoryManager.h" +#include "ObjectHolder.h" #include "klee/Expr.h" -#include "klee/Solver.h" -#include "klee/util/BitArray.h" #include "klee/Internal/Support/ErrorHandling.h" +#include "klee/OptionCategories.h" +#include "klee/Solver.h" #include "klee/util/ArrayCache.h" - -#include "ObjectHolder.h" -#include "MemoryManager.h" +#include "klee/util/BitArray.h" #include "llvm/IR/Function.h" #include "llvm/IR/Instruction.h" #include "llvm/IR/Value.h" - #include "llvm/Support/CommandLine.h" #include "llvm/Support/raw_ostream.h" @@ -35,7 +34,9 @@ using namespace klee; namespace { cl::opt<bool> UseConstantArrays("use-constant-arrays", - cl::init(true)); + cl::desc("Use constant arrays instead of updates when possible (default=true)\n"), + cl::init(true), + cl::cat(SolvingCat)); } /***/ |