diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2013-08-07 17:10:10 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2013-08-07 17:10:10 +0100 |
commit | 39616bca565f1d3f958dc7e0e071ac5dc64f5439 (patch) | |
tree | fe7172fe6df50be65ae5317a82ed1d5b16d821ec /lib/Core/Memory.cpp | |
parent | 363e7ab2d7bfa790b666eac1b48b7b7daf02e5e3 (diff) | |
parent | 6eae8c62e620c86ef5c95839e899d39e003c13eb (diff) | |
download | klee-39616bca565f1d3f958dc7e0e071ac5dc64f5439.tar.gz |
Merge branch 'master' of https://github.com/hpalikareva/klee into hpalikareva-master
Diffstat (limited to 'lib/Core/Memory.cpp')
-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) |