- Mar 08, 2012
-
-
Anna Zaks authored
The final graph contains a single root node, which is a parent of all externally available functions(and 'main'). As well as a list of Parentless/Unreachable functions, which are either truly unreachable or are unreachable due to our analyses imprecision. The analyzer checkers debug.DumpCallGraph or debug.ViewGraph can be used to look at the produced graph. Currently, the graph is not very precise, for example, it entirely skips edges resulted from ObjC method calls. llvm-svn: 152272
-
- Feb 20, 2012
-
-
Anna Zaks authored
checks: - unix.Malloc - Checks for memory leaks, double free, use-after-free. - unix.cstring.NullArg - Checks for null pointers passed as arguments to CString functions + evaluates CString functions. - unix.cstring.BadSizeArg - Checks for common anti-patterns in strncat size argument. llvm-svn: 150988
-
- Feb 11, 2012
-
-
Ryan Govostes authored
llvm-svn: 150306
-
- Feb 09, 2012
-
-
Anna Zaks authored
optimistic. TODO: actually implement the pessimistic version of the checker. Ex: it needs to assume that any function that takes a pointer might free it. The optimistic version relies on annotations to tell us which functions can free the pointer. llvm-svn: 150111
-
- Feb 07, 2012
-
-
Anna Zaks authored
separately. llvm-svn: 149947
-
- Feb 04, 2012
-
-
Anna Zaks authored
- osx.coreFoundation.containers.IndexOutOfBounds - osx.cocoa.SelfInit llvm-svn: 149747
-
- Jan 31, 2012
-
-
Anna Zaks authored
(Since this is syntax only, might be a good candidate for turning into a compiler warning.) llvm-svn: 149407
-
- Jan 30, 2012
- Jan 26, 2012
-
-
Anna Zaks authored
using CFArrayCreate & family. Specifically, CFArrayCreate's input should be: 'A C array of the pointer-sized values to be in the new array.' (radar://10717339) llvm-svn: 149008
-
- Jan 20, 2012
-
-
Ted Kremenek authored
Reenable DeadStoresChecker under --analyze, and move the IdempotentOperationsChecker to the 'experimental' category. Fixes <rdar://problem/10146347>. llvm-svn: 148533
-
Ted Kremenek authored
Implement checker that looks for calls to mktemps and friends that have fewer than 6 Xs. Implements <rdar://problem/6336672>. llvm-svn: 148531
-
Ted Kremenek authored
multiple checks are exposed as separate checkers, but CheckerManager only creates one Checker object. llvm-svn: 148525
-
- Jan 04, 2012
-
-
Ted Kremenek authored
from C++ constructors or destructors. Checker by Lei Zhang with a few tweaks by Ted Kremenek. llvm-svn: 147494
-
- Dec 08, 2011
-
-
Peter Collingbourne authored
between the casted type of the return value of a malloc/calloc/realloc call and the operand of any sizeof expressions contained within its argument(s). llvm-svn: 146144
-
- Dec 05, 2011
-
-
Anna Zaks authored
llvm-svn: 145827
-
- Nov 16, 2011
-
-
Anna Zaks authored
The checker is responsible for defining attack surface and adding taint to symbols. llvm-svn: 144825
-
- Nov 05, 2011
-
-
Anna Zaks authored
llvm-svn: 143787
-
- Oct 25, 2011
-
-
Ted Kremenek authored
llvm-svn: 142885
-
- Sep 02, 2011
-
-
Jordy Rose authored
[analyzer] Move the knowledge of whether or not GC is enabled for the current analysis from CFRefCount to ExprEngine. Remove TransferFuncs from ExprEngine and AnalysisConsumer. Demote RetainReleaseChecker to a regular checker, and give it the name osx.cocoa.RetainCount (class name change coming shortly). Update tests accordingly. llvm-svn: 138998
-
- Aug 16, 2011
-
-
Anna Zaks authored
llvm-svn: 137740
-
- Aug 04, 2011
-
-
Ted Kremenek authored
llvm-svn: 136849
-
Ted Kremenek authored
[analyzer] rename all experimental checker packages to have 'experimental' be the common root package. llvm-svn: 136835
-
- Aug 03, 2011
-
-
Ted Kremenek authored
[analyzer] Introduce MallocOverflowSecurityChecker, a simple flow-sensitive checker that may be useful for security auditing. This checker is currently too noisy to be on by default. llvm-svn: 136804
-
- Aug 02, 2011
-
-
Anna Zaks authored
KeychainAPI checker: only check the paths on which the allocator function returned noErr. (+ minor cleanup) llvm-svn: 136694
-
Anna Zaks authored
Add a skeleton for the Keychain Services API Checker. Register it as OSX experimental for now. Note, the checker still does not handle tracking of escaped values, taking into account the return value of the allocator functions, nor the actual bug reporting.. llvm-svn: 136659
-
- Jun 14, 2011
-
-
Jordy Rose authored
[analyzer] CStringChecker checks functions in the C standard library, not C++. Its external name is now unix.experimental.CString. llvm-svn: 132958
-
- Apr 30, 2011
-
-
Ted Kremenek authored
llvm-svn: 130598
-
- Mar 29, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 128475
-
- Mar 26, 2011
-
-
Ted Kremenek authored
llvm-svn: 128310
-
- Mar 24, 2011
-
-
Ted Kremenek authored
llvm-svn: 128187
-
- Mar 13, 2011
-
-
Anders Carlsson authored
Add an Objective-C checker that checks that arguments passed to some variadic Objective-C methods are of Objective-C pointer types. Ted or Argiris, I'd appreciate a review! llvm-svn: 127572
-
- Mar 12, 2011
-
-
Ted Kremenek authored
Re-enable the IdempotentOperations checker for --analyze, and put it and the DeadStores checker into the "deadcode" group. llvm-svn: 127531
-
Ted Kremenek authored
This checker was created by Jim Goodnow II, and I migrated it to the new Checker interface (recent changes by Argiris). llvm-svn: 127525
-
- Feb 28, 2011
-
-
Argyrios Kyrtzidis authored
They cooperate in that NSErrorChecker listens for ImplicitNullDerefEvent events that DereferenceChecker can dispatch. ImplicitNullDerefEvent is when we dereferenced a location that may be null. llvm-svn: 126659
-
Argyrios Kyrtzidis authored
llvm-svn: 126626
-
Argyrios Kyrtzidis authored
llvm-svn: 126624
-
Argyrios Kyrtzidis authored
llvm-svn: 126623
-
Argyrios Kyrtzidis authored
llvm-svn: 126621
-