diff options
author | Cristian Cadar <cristic@cs.stanford.edu> | 2010-06-28 15:07:59 +0000 |
---|---|---|
committer | Cristian Cadar <cristic@cs.stanford.edu> | 2010-06-28 15:07:59 +0000 |
commit | e3414c0e8cc91a35cdcae09c0af8162b8f7c2f94 (patch) | |
tree | 112586608310b81d1179c003fd8a73734e2577c9 /lib | |
parent | ff0d675fc2861e34e1f0767af6b8b73e1a854889 (diff) | |
download | klee-e3414c0e8cc91a35cdcae09c0af8162b8f7c2f94.tar.gz |
Applied Stefan Bucur's patch from
http://llvm.org/bugs/show_bug.cgi?id=6690. The patch adds specialized versions of klee_get_value for different types, fixing the previous klee_get_value function that sometimes truncated 64bit parameters to 32bit. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@107006 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Core/SpecialFunctionHandler.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Core/SpecialFunctionHandler.cpp b/lib/Core/SpecialFunctionHandler.cpp index d3a86aac..2ef80acc 100644 --- a/lib/Core/SpecialFunctionHandler.cpp +++ b/lib/Core/SpecialFunctionHandler.cpp @@ -68,7 +68,12 @@ HandlerInfo handlerInfo[] = { add("free", handleFree, false), add("klee_assume", handleAssume, false), add("klee_check_memory_access", handleCheckMemoryAccess, false), - add("klee_get_value", handleGetValue, true), + add("klee_get_valuef", handleGetValue, true), + add("klee_get_valued", handleGetValue, true), + add("klee_get_valuel", handleGetValue, true), + add("klee_get_valuell", handleGetValue, true), + add("klee_get_value_i32", handleGetValue, true), + add("klee_get_value_i64", handleGetValue, true), add("klee_define_fixed_object", handleDefineFixedObject, false), add("klee_get_obj_size", handleGetObjSize, true), add("klee_get_errno", handleGetErrno, true), |