llvm-project/clang/test/Analysis
Ted Kremenek 02d6aca867 Tweak UndefBranchChecker to register the most nested "undefined" expression with bugreporter::registerTrackNullOrUndefValue instead of the condition itself.
llvm-svn: 89682
2009-11-23 18:12:03 +00:00
..
CFDateGC.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
CFNumber.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
CFRetainRelease_NSAssertionHandler.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
CGColorSpace.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
CheckNSError.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
MissingDealloc.m Make 'SEL' pointer to a builtin type and not an 2009-11-23 18:04:25 +00:00
NSPanel.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
NSString.m Handle case of missing '@end' in implementation context 2009-11-16 18:57:01 +00:00
NSWindow.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
NoReturn.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
ObjCProperties.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
ObjCRetSigs.m Don't #include <stdio.h> when tests don't need it, or use clang instead of clang-cc when they do. 2009-11-17 08:57:36 +00:00
PR2599.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
PR2978.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
PR3991.m Handle case of missing '@end' in implementation context 2009-11-16 18:57:01 +00:00
array-struct.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
casts.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
casts.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
cfref_PR2519.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
cfref_rdar6080742.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
complex.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
concrete-address.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
conditional-op-missing-lhs.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
dead-stores.c Change CheckDeadStores to use Expr::isNullPointerConstant, which will correctly determine whether an expression is a null pointer constant. 2009-11-22 20:26:21 +00:00
dead-stores.cpp Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
dead-stores.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
delegates.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
elementtype.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
exercise-ps.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
fields.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
func.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
malloc.c Add PreVisitReturn to Malloc checker. Now we can recognize returned memory 2009-11-17 08:58:18 +00:00
misc-ps-64.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
misc-ps-basic-store.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
misc-ps-eager-assume.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
misc-ps-ranges.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
misc-ps-region-store-i386.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
misc-ps-region-store-x86_64.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
misc-ps-region-store.m Add RegionStore test case that shows that floating point values are also implicitly tracked for undefined values. (test case for <rdar://problem/6811085>). 2009-11-21 02:52:12 +00:00
misc-ps.m Tweak UndefBranchChecker to register the most nested "undefined" expression with bugreporter::registerTrackNullOrUndefValue instead of the condition itself. 2009-11-23 18:12:03 +00:00
nil-receiver-undefined-larger-than-voidptr-ret.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
no-exit-cfg.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
no-outofbounds.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
null-deref-ps-region.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
null-deref-ps.c Switch -f{builtin,math-errno,rtti} and -analyzer-purge-dead to -...no... variants instead of using llvm:🆑:init(true) arguments. 2009-11-19 04:55:23 +00:00
outofbound.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
override-werror.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
plist-output.m Add newline at the end of the file. 2009-11-17 06:34:24 +00:00
pr4209.m Handle case of missing '@end' in implementation context 2009-11-16 18:57:01 +00:00
pr_2542_rdar_6793404.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
pr_4164.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
ptr-arith.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
rdar-6442306-1.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
rdar-6540084.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
rdar-6541136-region.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
rdar-6541136.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
rdar-6562655.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
rdar-6582778-basic-store.c Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
rdar-6600344-nil-receiver-undefined-struct-ret.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
rdar-7168531.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
refcnt_naming.m Add clang-cc option "--analyzer-experimental-internal-checks". This 2009-11-13 18:46:29 +00:00
region-1.m Handle case of missing '@end' in implementation context 2009-11-16 18:57:01 +00:00
retain-release-basic-store.m Remove 'StoreManager::OldCastRegion()', TypedViewRegion (which only 2009-07-29 21:43:22 +00:00
retain-release-gc-only.m Really fix test case. 2009-11-20 01:20:12 +00:00
retain-release-region-store.m retain/release checker: Stop tracking reference counts for any symbols touched by StoreManager::InvalidateRegion(). 2009-10-16 00:30:49 +00:00
retain-release.m Add simple static analyzer checker to check for sending 'release', 'retain', etc. directly to a class. Fixes <rdar://problem/7252064>. 2009-11-20 05:27:05 +00:00
security-syntax-checks.m Add check for obsolete function call of getpw(). 2009-11-09 12:19:26 +00:00
sizeofpointer.c Add a test case for CWE-467, and simplify the wording of the warning. 2009-11-09 02:28:12 +00:00
stack-addr-ps.c Drop unnecessary #include. 2009-11-17 22:25:16 +00:00
uninit-msg-expr.m Pull BadCallChecker int UndefinedArgChecker, and have UndefinedArgChecker also handled undefined receivers in message expressions. 2009-11-21 01:25:37 +00:00
uninit-ps-rdar6145427.m Pull BadCallChecker int UndefinedArgChecker, and have UndefinedArgChecker also handled undefined receivers in message expressions. 2009-11-21 01:25:37 +00:00
uninit-vals-ps-region.c Catch uses of undefined values when they are used in assignment, thus catching such bugs closer to the source. 2009-11-04 04:24:16 +00:00
uninit-vals-ps.c Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
uninit-vals.c Prep for new warning. 2009-07-21 18:56:34 +00:00
uninit-vals.m Eliminate &&s in tests. 2009-11-08 01:45:36 +00:00
unions-region.m Fix a few more false positives involving RegionStore and unions, but this time 2009-08-06 22:33:36 +00:00
unused-ivars.m Unused ivar checker: ivars referenced by lexically nested functions should not be flagged as unused. Fixes <rdar://problem/7254495>. 2009-11-20 04:31:57 +00:00