diff options
| author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-04-15 20:12:53 +0900 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2023-11-10 16:47:52 +0900 |
| commit | e1d1ef503ab66ed759a0656e142daa3b972c6c80 (patch) | |
| tree | e4b15aa7d671824809e86d7f05aa73a2d2e244e2 /lib/Core/Executor.h | |
| parent | ca85fac2be3353e1e4b1b633d6fc3c62473f2e7a (diff) | |
| download | klee-e1d1ef503ab66ed759a0656e142daa3b972c6c80.tar.gz | |
Lay ground work for concrete execution
Diffstat (limited to 'lib/Core/Executor.h')
| -rw-r--r-- | lib/Core/Executor.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Core/Executor.h b/lib/Core/Executor.h index 8f2850fd..59f41ea7 100644 --- a/lib/Core/Executor.h +++ b/lib/Core/Executor.h @@ -173,6 +173,9 @@ private: /// object. unsigned replayPosition; + /// Program path for concrete execution. + std::string concreteProgram; + /// When non-null a list of "seed" inputs which will be used to /// drive execution. const std::vector<struct KTest *> *usingSeeds; @@ -547,6 +550,10 @@ public: replayPosition = 0; } + void setProgram(const std::string& path) override { + this->concreteProgram = path; + } + llvm::Module *setModule(std::vector<std::unique_ptr<llvm::Module>> &modules, const ModuleOptions &opts) override; |
