Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
dbf8ea413e7b4002d6f0f80415fe447652bc466d
/
lib
/
Checker
/
CStringChecker.cpp
d325ffb
Cleanup in CStringChecker. Now properly bifurcates the state for zero/nonzero sizes.
by Jordy Rose
· 15 years ago
bc56d1f
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.
by Jordy Rose
· 15 years ago
a6b808c
Cleanup on CStringChecker and its associated tests. Also check for null arguments...which are allowed if the access length is 0!
by Jordy Rose
· 15 years ago
ccbf7ee
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.
by Jordy Rose
· 15 years ago