diff options
author | Hristina Palikareva <h.palikareva@imperial.ac.uk> | 2013-08-06 19:08:41 +0100 |
---|---|---|
committer | Hristina Palikareva <h.palikareva@imperial.ac.uk> | 2013-08-06 19:08:41 +0100 |
commit | 6eae8c62e620c86ef5c95839e899d39e003c13eb (patch) | |
tree | 401ac982d724dd13a4d075818a200c75ada50e6a | |
parent | 4a426569a38760b9ecf34af46b4eeca76e21e8e6 (diff) | |
download | klee-6eae8c62e620c86ef5c95839e899d39e003c13eb.tar.gz |
ObjectState::concreteStore initialised.
-rw-r--r-- | lib/Core/Memory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Core/Memory.cpp b/lib/Core/Memory.cpp index 7b3655f8..08c95d48 100644 --- a/lib/Core/Memory.cpp +++ b/lib/Core/Memory.cpp @@ -110,6 +110,7 @@ ObjectState::ObjectState(const MemoryObject *mo) const Array *array = new Array("tmp_arr" + llvm::utostr(++id), size); updates = UpdateList(array, 0); } + memset(concreteStore, 0, size); } @@ -126,6 +127,7 @@ ObjectState::ObjectState(const MemoryObject *mo, const Array *array) readOnly(false) { mo->refCount++; makeSymbolic(); + memset(concreteStore, 0, size); } ObjectState::ObjectState(const ObjectState &os) |