diff options
author | Timotej Kapus <timotej.kapus13@imperial.ac.uk> | 2017-12-13 17:37:16 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2018-05-17 15:38:14 +0100 |
commit | 8bec949fc84d8fe8dacbf38ff123b404f1eb4737 (patch) | |
tree | 2d703f77babe6ff009574049e9d01757453a4ed1 /lib/Core/Memory.h | |
parent | 8fe14b1041f39b61cdb43c32840f3d2cb97cc110 (diff) | |
download | klee-8bec949fc84d8fe8dacbf38ff123b404f1eb4737.tar.gz |
Add support for concretizing symbolic objects passed to external functions
Diffstat (limited to 'lib/Core/Memory.h')
-rw-r--r-- | lib/Core/Memory.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Core/Memory.h b/lib/Core/Memory.h index e854502c..47dd892a 100644 --- a/lib/Core/Memory.h +++ b/lib/Core/Memory.h @@ -11,6 +11,7 @@ #define KLEE_MEMORY_H #include "Context.h" +#include "TimingSolver.h" #include "klee/Expr.h" #include "llvm/ADT/StringExtras.h" @@ -205,9 +206,15 @@ public: void write16(unsigned offset, uint16_t value); void write32(unsigned offset, uint32_t value); void write64(unsigned offset, uint64_t value); - void print() const; + /* + Looks at all the symbolic bytes of this object, gets a value for them + from the solver and puts them in the concreteStore. + */ + void flushToConcreteStore(TimingSolver *solver, + const ExecutionState &state) const; + private: const UpdateList &getUpdates() const; |