about summary refs log tree commit diff homepage
path: root/lib/Core/AddressSpace.h
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2018-09-20 15:50:34 +0100
committerMartinNowack <martin.nowack@gmail.com>2018-10-03 12:25:49 +0100
commitda573cbf6a18892c4ad54ea622fbd4307d8cfdbc (patch)
tree4de98f4b3f0215b7b4971f708794b9bd715c8f60 /lib/Core/AddressSpace.h
parent888ae3b6193a29c5358331c789ba7949ae96d614 (diff)
downloadklee-da573cbf6a18892c4ad54ea622fbd4307d8cfdbc.tar.gz
Marking resolve methods as const
Diffstat (limited to 'lib/Core/AddressSpace.h')
-rw-r--r--lib/Core/AddressSpace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Core/AddressSpace.h b/lib/Core/AddressSpace.h
index fa814950..57c0e472 100644
--- a/lib/Core/AddressSpace.h
+++ b/lib/Core/AddressSpace.h
@@ -69,7 +69,7 @@ namespace klee {
     /// Resolve address to an ObjectPair in result.
     /// \return true iff an object was found.
     bool resolveOne(const ref<ConstantExpr> &address, 
-                    ObjectPair &result);
+                    ObjectPair &result) const;
 
     /// Resolve address to an ObjectPair in result.
     ///
@@ -84,7 +84,7 @@ namespace klee {
                     TimingSolver *solver,
                     ref<Expr> address,
                     ObjectPair &result,
-                    bool &success);
+                    bool &success) const;
 
     /// Resolve pointer `p` to a list of `ObjectPairs` it can point
     /// to. If `maxResolutions` is non-zero then no more than that many
@@ -97,7 +97,7 @@ namespace klee {
                  ref<Expr> p,
                  ResolutionList &rl, 
                  unsigned maxResolutions=0,
-                 double timeout=0.);
+                 double timeout=0.) const;
 
     /***/