diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2016-11-19 19:44:03 +0000 |
---|---|---|
committer | Dan Liew <delcypher@gmail.com> | 2016-11-19 21:48:26 +0000 |
commit | 5133b98f1d989af94902366c6d02eb6447458aa1 (patch) | |
tree | 96b3865dd167c6ab83f66feda4b3ec5a79aecb0f | |
parent | 18bcb212f43f983fe742b8a04cb22e69acba66f1 (diff) | |
download | klee-5133b98f1d989af94902366c6d02eb6447458aa1.tar.gz |
Remove option --randomize-fork. If someone needs this, the right way is to implement it in the solver.
-rw-r--r-- | lib/Core/Executor.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index 1df51b4d..0981b8f4 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -119,12 +119,7 @@ namespace { DumpStatesOnHalt("dump-states-on-halt", cl::init(true), cl::desc("Dump test cases for all active states on exit (default=on)")); - - cl::opt<bool> - RandomizeFork("randomize-fork", - cl::init(false), - cl::desc("Randomly swap the true and false states on a fork (default=off)")); - + cl::opt<bool> AllowExternalSymCalls("allow-external-sym-calls", cl::init(false), @@ -923,9 +918,6 @@ Executor::fork(ExecutionState ¤t, ref<Expr> condition, bool isInternal) { falseState = trueState->branch(); addedStates.push_back(falseState); - if (RandomizeFork && theRNG.getBool()) - std::swap(trueState, falseState); - if (it != seedMap.end()) { std::vector<SeedInfo> seeds = it->second; it->second.clear(); |