about summary refs log tree commit diff homepage
path: root/lib/Core/Executor.h
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2017-02-28 16:15:27 +0000
committerGitHub <noreply@github.com>2017-02-28 16:15:27 +0000
commite21bf6f653b9c602fe21b74ff7c389aa2430b386 (patch)
tree02b0c15d4c53e885941d2119b272a6e8e83cab16 /lib/Core/Executor.h
parentbff9fb9277f890f2fd9b4acd3b9d5eed0e78f967 (diff)
parent479f8068a769885e0fb50bf37f886ef839e63609 (diff)
downloadklee-e21bf6f653b9c602fe21b74ff7c389aa2430b386.tar.gz
Merge pull request #547 from delcypher/fix_alignment_of_alloc_memory
Teach KLEE to respect the requested memory alignment of allocated memory
Diffstat (limited to 'lib/Core/Executor.h')
-rw-r--r--lib/Core/Executor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Core/Executor.h b/lib/Core/Executor.h
index 4970b8a0..7c18ae1f 100644
--- a/lib/Core/Executor.h
+++ b/lib/Core/Executor.h
@@ -507,6 +507,7 @@ public:
                                std::map<const std::string*, std::set<unsigned> > &res);
 
   Expr::Width getWidthForLLVMType(LLVM_TYPE_Q llvm::Type *type) const;
+  size_t getAllocationAlignment(const llvm::Value *allocSite) const;
 };
   
 } // End klee namespace