diff options
author | Dan Liew <delcypher@gmail.com> | 2015-12-18 12:48:18 +0000 |
---|---|---|
committer | Dan Liew <delcypher@gmail.com> | 2015-12-18 12:48:18 +0000 |
commit | 535be01be5ab33a0e7106e2d5511bba2797d1ed0 (patch) | |
tree | 026a4f1b16c1996755954f7824e0d10f8ed0ef8e /lib/Core/Executor.h | |
parent | 7e75fa79b2e76251c2cd417a7eae8a7620b014ae (diff) | |
parent | 53ff7a002a8213a5d5e778bef2a895998d9890e1 (diff) | |
download | klee-535be01be5ab33a0e7106e2d5511bba2797d1ed0.tar.gz |
Merge pull request #315 from delcypher/array_leak
Try to fix leaking Array objects detected by ASan.
Diffstat (limited to 'lib/Core/Executor.h')
-rw-r--r-- | lib/Core/Executor.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Core/Executor.h b/lib/Core/Executor.h index 523b3648..919d2124 100644 --- a/lib/Core/Executor.h +++ b/lib/Core/Executor.h @@ -20,6 +20,7 @@ #include "klee/Internal/Module/Cell.h" #include "klee/Internal/Module/KInstruction.h" #include "klee/Internal/Module/KModule.h" +#include "klee/util/ArrayCache.h" #include "llvm/ADT/Twine.h" @@ -177,7 +178,10 @@ private: /// The maximum time to allow for a single core solver query. /// (e.g. for a single STP query) - double coreSolverTimeout; + double coreSolverTimeout; + + /// Assumes ownership of the created array objects + ArrayCache arrayCache; llvm::Function* getTargetFunction(llvm::Value *calledVal, ExecutionState &state); |