From 5133b98f1d989af94902366c6d02eb6447458aa1 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Sat, 19 Nov 2016 19:44:03 +0000 Subject: Remove option --randomize-fork. If someone needs this, the right way is to implement it in the solver. --- lib/Core/Executor.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'lib/Core') 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 - RandomizeFork("randomize-fork", - cl::init(false), - cl::desc("Randomly swap the true and false states on a fork (default=off)")); - + cl::opt AllowExternalSymCalls("allow-external-sym-calls", cl::init(false), @@ -923,9 +918,6 @@ Executor::fork(ExecutionState ¤t, ref condition, bool isInternal) { falseState = trueState->branch(); addedStates.push_back(falseState); - if (RandomizeFork && theRNG.getBool()) - std::swap(trueState, falseState); - if (it != seedMap.end()) { std::vector seeds = it->second; it->second.clear(); -- cgit 1.4.1