about summary refs log tree commit diff homepage
path: root/lib/Core/Executor.h
diff options
context:
space:
mode:
authorMartinNowack <martin.nowack@gmail.com>2016-07-08 22:53:05 +0200
committerGitHub <noreply@github.com>2016-07-08 22:53:05 +0200
commitf4363713c97769f392b7d85c4782f6e1aeb1a137 (patch)
tree39fd16ed9917fe921b838771054a630fe3bcefef /lib/Core/Executor.h
parent784bbc141946e9c77849cbba13563fd8d0b27c0f (diff)
parent91af7cdc0521a155a050976eaa8856f04a576826 (diff)
downloadklee-f4363713c97769f392b7d85c4782f6e1aeb1a137.tar.gz
Merge pull request #362 from MartinNowack/feat_determ_state_selection
Deterministic state addition and removing
Diffstat (limited to 'lib/Core/Executor.h')
-rw-r--r--lib/Core/Executor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Core/Executor.h b/lib/Core/Executor.h
index 600c7b90..92edc364 100644
--- a/lib/Core/Executor.h
+++ b/lib/Core/Executor.h
@@ -122,12 +122,12 @@ private:
   /// instructions step. 
   /// \invariant \ref addedStates is a subset of \ref states. 
   /// \invariant \ref addedStates and \ref removedStates are disjoint.
-  std::set<ExecutionState*> addedStates;
+  std::vector<ExecutionState *> addedStates;
   /// Used to track states that have been removed during the current
   /// instructions step. 
   /// \invariant \ref removedStates is a subset of \ref states. 
   /// \invariant \ref addedStates and \ref removedStates are disjoint.
-  std::set<ExecutionState*> removedStates;
+  std::vector<ExecutionState *> removedStates;
 
   /// When non-empty the Executor is running in "seed" mode. The
   /// states in this map will be executed in an arbitrary order
@@ -412,6 +412,7 @@ private:
                      double maxInstTime);
   void checkMemoryUsage();
   void printDebugInstructions(ExecutionState &state);
+  void doDumpStates();
 
 public:
   Executor(const InterpreterOptions &opts, InterpreterHandler *ie);