diff options
| author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-04-15 20:12:53 +0900 |
|---|---|---|
| committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-06-22 16:13:12 +0900 |
| commit | 546beac8ad21c369093f373f9dc1f9d98d74a058 (patch) | |
| tree | ac535023c1645b859db6809a7d7c8f63c5b317ff /lib/Core/Executor.h | |
| parent | 497c3efd7cd3df4fa981bae87e8cdf7d8ade726a (diff) | |
| download | klee-546beac8ad21c369093f373f9dc1f9d98d74a058.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; |
