Jordy Rose
|
d5d2e50f3e
|
Cleanup in CStringChecker. Now properly bifurcates the state for zero/nonzero sizes.
llvm-svn: 107935
|
2010-07-08 23:57:29 +00:00 |
|
Jordy Rose
|
65136fb669
|
Add memcmp() and bcmp() to CStringChecker. These check for valid access to the buffer arguments and have a special-case for when the buffer arguments are known to be the same address, or when the size is zero.
llvm-svn: 107761
|
2010-07-07 08:15:01 +00:00 |
|
Jordy Rose
|
33c829a6fd
|
Cleanup on CStringChecker and its associated tests. Also check for null arguments...which are allowed if the access length is 0!
llvm-svn: 107759
|
2010-07-07 07:48:06 +00:00 |
|
Jordy Rose
|
134a236a14
|
Add a new path-sensitive checker for functions in <string.h>, for both null-terminated strings and memory blocks. Currently only checks memcpy(), memmove(), and bcopy(), but this is intended to be expanded soon.
llvm-svn: 107722
|
2010-07-06 23:11:01 +00:00 |
|