diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-05-25 15:37:03 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-05-25 15:37:03 +0000 |
commit | 958e9f99e3837ea018f18799c0055d8dc8075c4d (patch) | |
tree | 174c85de58ce112bf69ce21e5f24d85a1cb71468 /include | |
parent | 243a217c15fdbf920f91fabfae460f957b25e0ec (diff) | |
download | klee-958e9f99e3837ea018f18799c0055d8dc8075c4d.tar.gz |
Name symbolic arrays using the 3rd argument to klee_make_symbolic,
and make sure the name is unique. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@132054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/ExecutionState.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/klee/ExecutionState.h b/include/klee/ExecutionState.h index d2994288..6523c456 100644 --- a/include/klee/ExecutionState.h +++ b/include/klee/ExecutionState.h @@ -99,6 +99,9 @@ public: // FIXME: Move to a shared list structure (not critical). std::vector< std::pair<const MemoryObject*, const Array*> > symbolics; + /// Set of used array names. Used to avoid collisions. + std::set<std::string> arrayNames; + // Used by the checkpoint/rollback methods for fake objects. // FIXME: not freeing things on branch deletion. MemoryMap shadowObjects; |