diff options
| author | Frank Busse <bb0xfb@gmail.com> | 2020-06-25 21:35:25 +0100 |
|---|---|---|
| committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2020-07-30 16:44:31 +0100 |
| commit | 661fba88fff0205ea258a1149907f2822458cd83 (patch) | |
| tree | f9bc1fb96d55d55312dd10b19a0cf94a7ebe89e7 /lib/Core/Executor.h | |
| parent | 169022a56d62cdb2f15540a0c592c5f90fdb39cb (diff) | |
| download | klee-661fba88fff0205ea258a1149907f2822458cd83.tar.gz | |
introduce --rng-initial-seed=<unsigned>
* move global theRNG into Executor * pass theRNG via ctor to searchers * remove some type warnings from RNG.cpp Fixes #1023.
Diffstat (limited to 'lib/Core/Executor.h')
| -rw-r--r-- | lib/Core/Executor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Core/Executor.h b/lib/Core/Executor.h index 31882cd4..25a874cd 100644 --- a/lib/Core/Executor.h +++ b/lib/Core/Executor.h @@ -18,6 +18,7 @@ #include "ExecutionState.h" #include "UserSearcher.h" +#include "klee/ADT/RNG.h" #include "klee/Core/Interpreter.h" #include "klee/Expr/ArrayCache.h" #include "klee/Expr/ArrayExprOptimizer.h" @@ -111,6 +112,9 @@ public: Unhandled }; + /// The random number generator. + RNG theRNG; + private: static const char *TerminateReasonNames[]; |
