- Jul 25, 2012
-
-
Ted Kremenek authored
to fix all the issues. Currently the code is essentially unmaintained and buggy, and needs major revision (with coupled enhancements to the analyzer core). llvm-svn: 160754
-
- Jul 06, 2012
-
-
Dmitri Gribenko authored
very simple semantic analysis that just builds the AST; minor changes for lexer to pick up source locations I didn't think about before. Comments AST is modelled along the ideas of HTML AST: block and inline content. * Block content is a paragraph or a command that has a paragraph as an argument or verbatim command. * Inline content is placed within some block. Inline content includes plain text, inline commands and HTML as tag soup. llvm-svn: 159790
-
- Jun 29, 2012
-
-
Jordan Rose authored
Previously: ...the comment said DFS... ...the WorkList being instantiated said BFS... ...and the implementation was actually DFS... ...due to an unintentional change in 2010... ...and everything kept working anyway. This fixes our std::deque implementation of BFS, but switches back to a SmallVector-based implementation of DFS. We should probably still investigate the ramifications of DFS vs. BFS, especially for large functions (and especially when we hit our block path limit), since this might completely change our memory use. It can also mask some bugs and reveal others depending on when we halt analysis. But at least we will not have this kind of little mistake creep in again. llvm-svn: 159397
-
- Jun 21, 2012
-
-
Chandler Carruth authored
express library-level dependencies within Clang. This is no more verbose really, and plays nicer with the rest of the CMake facilities. It should also have no change in functionality. llvm-svn: 158888
-
- May 16, 2012
-
-
Jordy Rose authored
The new debug.ExprInspection checker looks for calls to clang_analyzer_eval, and emits a warning of TRUE, FALSE, or UNKNOWN (or UNDEFINED) based on the constrained value of its (boolean) argument. It does not modify the analysis state though the conditions tested can result in branches (e.g. through the use of short-circuit operators). llvm-svn: 156919
-
- Apr 05, 2012
-
-
Ted Kremenek authored
consolidate some commonly used category strings into global references (more of this can be done, I just did a few). Fixes <rdar://problem/11191537>. llvm-svn: 154121
-
- Feb 11, 2012
-
-
Ryan Govostes authored
llvm-svn: 150306
-
- 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
-
-
Anna Zaks authored
llvm-svn: 149228
-
- Jan 26, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 149009
-
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 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 29, 2011
-
-
Rafael Espindola authored
llvm-svn: 147338
-
- 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 30, 2011
-
-
Benjamin Kramer authored
llvm-svn: 145506
-
- Nov 16, 2011
-
-
Benjamin Kramer authored
llvm-svn: 144829
-
- Sep 02, 2011
-
-
Jordy Rose authored
[analyzer] Move RetainReleaseChecker to the Checkers library and rename it to RetainCountChecker...and clean up the file while I'm at it. llvm-svn: 139002
-
- Aug 16, 2011
-
-
Jordy Rose authored
[analyzer] Overhaul of checker registration in preparation for basic plugin support. Removes support for checker groups (we can add them back in later if we decide they are still useful), and -analyzer-checker-help output is a little worse for the time being (no packages). llvm-svn: 137758
-
- 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
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
-
- Mar 12, 2011
-
-
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
-
- Mar 01, 2011
-
-
Argyrios Kyrtzidis authored
and hope the wrath of the buildbots will not descend upon me. llvm-svn: 126728
-
- Feb 28, 2011
-
-
Anders Carlsson authored
llvm-svn: 126629
-
- Feb 25, 2011
-
-
Ted Kremenek authored
llvm-svn: 126522
-
- Feb 20, 2011
-
-
Oscar Fuentes authored
llvm-svn: 126093
-
- Feb 19, 2011
-
-
Oscar Fuentes authored
The syntax is (add_dependencies target-name depend-target1 ...). llvm-svn: 126049
-
- Feb 17, 2011
-
-
Oscar Fuentes authored
llvm-svn: 125783
-
- Feb 15, 2011
-
-
Douglas Gregor authored
llvm-svn: 125566
-
- Feb 14, 2011
-
-
Oscar Fuentes authored
for all compiler invocations. llvm-svn: 125514
-
Argyrios Kyrtzidis authored
-Checkers will be defined in the tablegen file 'Checkers.td'. -Apart from checkers, we can define checker "packages" that will contain a collection of checkers. -Checkers can be enabled with -analyzer-checker=<name> and disabled with -analyzer-disable-checker=<name> e.g: Enable checkers from 'cocoa' and 'corefoundation' packages except the self-initialization checker: -analyzer-checker=cocoa -analyzer-checker=corefoundation -analyzer-disable-checker=cocoa.SelfInit -Introduces CheckerManager and CheckerProvider. CheckerProviders get the set of checker names to enable/disable and register them with the CheckerManager which will be the entry point for all checker-related functionality. Currently only the self-initialization checker takes advantage of the new mechanism. llvm-svn: 125503
-
Argyrios Kyrtzidis authored
llvm-svn: 125500
-
Argyrios Kyrtzidis authored
[analyzer] Introduce libclangStaticAnalyzerFrontend and move Checkers/AnalysisConsumer.cpp into Frontend lib. llvm-svn: 125499
-
- Feb 10, 2011
-
-
NAKAMURA Takumi authored
llvm-svn: 125275
-
- Feb 08, 2011
-
-
Argyrios Kyrtzidis authored
Eventually there will also be a lib/StaticAnalyzer/Frontend that will handle initialization and checker registration. Yet another library to avoid cyclic dependencies between Core and Checkers. llvm-svn: 125124
-
Argyrios Kyrtzidis authored
[analyzer] lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.cpp -> lib/StaticAnalyzer/Checkers/ExperimentalChecks.cpp llvm-svn: 125123
-
- Jan 13, 2011
-
-
Ted Kremenek authored
llvm-svn: 123395
-
- Jan 11, 2011
-
-
Argyrios Kyrtzidis authored
[analyzer] Introduce ObjCSelfInitChecker, which checks initialization methods to verify that they assign 'self' to the result of an initialization call (e.g. [super init], or [self initWith..]) before using any instance variable or returning 'self'. llvm-svn: 123264
-
- Jan 10, 2011
-
-
Zhongxing Xu authored
llvm-svn: 123167
-
Douglas Gregor authored
llvm-svn: 123162
-