1010#define KLEE_INTERPRETER_H
1111
1212#include " TerminationTypes.h"
13+ #include " klee/ADT/SeedFromFile.h"
1314#include " klee/Module/Annotation.h"
1415
1516#include " klee/Module/SarifReport.h"
@@ -200,18 +201,9 @@ class Interpreter {
200201 // to record the symbolic path (as a stream of '0' and '1' bytes).
201202 virtual void setSymbolicPathWriter (TreeStreamWriter *tsw) = 0;
202203
203- // supply a test case to replay from. this can be used to drive the
204- // interpretation down a user specified path. use null to reset.
205- virtual void setReplayKTest (const struct KTest *out) = 0;
206-
207- // supply a list of branch decisions specifying which direction to
208- // take on forks. this can be used to drive the interpretation down
209- // a user specified path. use null to reset.
210- virtual void setReplayPath (const std::vector<bool > *path) = 0;
211-
212204 // supply a set of symbolic bindings that will be used as "seeds"
213205 // for the search. use null to reset.
214- virtual void useSeeds (const std::vector<struct KTest *> * seeds) = 0;
206+ virtual void useSeeds (std::vector<SeedFromFile> seeds) = 0;
215207
216208 virtual void runFunctionAsMain (llvm::Function *f, int argc, char **argv,
217209 char **envp) = 0;
@@ -237,6 +229,9 @@ class Interpreter {
237229 virtual void getConstraintLog (const ExecutionState &state, std::string &res,
238230 LogType logFormat = STP) = 0;
239231
232+ virtual void getSteppedInstructions (const ExecutionState &state,
233+ unsigned &res) = 0;
234+
240235 virtual bool getSymbolicSolution (const ExecutionState &state, KTest &res) = 0;
241236
242237 virtual void addSARIFReport (const ExecutionState &state) = 0;
0 commit comments