diff options
author | Frank Busse <bb0xfb@gmail.com> | 2018-11-17 16:30:06 +0000 |
---|---|---|
committer | MartinNowack <martin.nowack@gmail.com> | 2019-04-04 20:37:41 +0100 |
commit | 36e8826e1ff788b6692b684025de95c69efe9317 (patch) | |
tree | 12df21f2bc7ff200f7d97a55422f045f996cb102 /lib/Core/StatsTracker.h | |
parent | 572d644e8de439fe59f5598fc902d71b60cf8a85 (diff) | |
download | klee-36e8826e1ff788b6692b684025de95c69efe9317.tar.gz |
some minor refactorings
Diffstat (limited to 'lib/Core/StatsTracker.h')
-rw-r--r-- | lib/Core/StatsTracker.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/Core/StatsTracker.h b/lib/Core/StatsTracker.h index f1dea77b..1c4ad6d9 100644 --- a/lib/Core/StatsTracker.h +++ b/lib/Core/StatsTracker.h @@ -40,8 +40,10 @@ namespace klee { std::string objectFilename; std::unique_ptr<llvm::raw_fd_ostream> istatsFile; - sqlite3 *statsFile = nullptr; - sqlite3_stmt *insertStmt = nullptr; + ::sqlite3 *statsFile = nullptr; + ::sqlite3_stmt *transactionBeginStmt = nullptr; + ::sqlite3_stmt *transactionEndStmt = nullptr; + ::sqlite3_stmt *insertStmt = nullptr; std::uint32_t statsCommitEvery; std::uint32_t statsWriteCount = 0; time::Point startWallTime; @@ -68,6 +70,11 @@ namespace klee { bool _updateMinDistToUncovered); ~StatsTracker(); + StatsTracker(const StatsTracker &other) = delete; + StatsTracker(StatsTracker &&other) noexcept = delete; + StatsTracker &operator=(const StatsTracker &other) = delete; + StatsTracker &operator=(StatsTracker &&other) noexcept = delete; + // called after a new StackFrame has been pushed (for callpath tracing) void framePushed(ExecutionState &es, StackFrame *parentFrame); |