- Nov 16, 2011
-
-
Anna Zaks authored
Change the ArrayBoundCheckerV2 to be more aggressive in reporting buffer overflows when the offset is tainted. Previously, we did not report bugs when the state was underconstrained (not enough information about the bound to determine if there is an overflow) to avoid false positives. However, if we know that the buffer offset is tainted - comes in from the user space and can be anything, we should report it as a bug. + The very first example of us catching a taint related bug. This is the only example we can currently handle. More to come... llvm-svn: 144826
-
Anna Zaks authored
The checker is responsible for defining attack surface and adding taint to symbols. llvm-svn: 144825
-
Anna Zaks authored
TaintTag.h will contain definitions of different taint kinds and their properties. TaintManager will be responsible for implementing taint specific operations, storing taint. ProgramState will provide API to add/remove taint. llvm-svn: 144824
-
Anna Zaks authored
llvm-svn: 144823
-
Anna Zaks authored
llvm-svn: 144822
-
Anna Zaks authored
llvm-svn: 144821
-
Anna Zaks authored
many checkers are trying to get a name of the callee when visiting a CallExpr, so provide a convenience API. llvm-svn: 144820
-
Chandler Carruth authored
Clang. It isn't any more, and we're not going to twist the code around to make it work. llvm-svn: 144815
-
Kostya Serebryany authored
llvm-svn: 144800
-
Richard Smith authored
llvm-svn: 144799
-
Douglas Gregor authored
header, create our own in-memory buffer to parse all of the appropriate headers, and use that to build the module. This isn't end-to-end testable yet; that's coming next. llvm-svn: 144797
-
Abramo Bagnara authored
llvm-svn: 144796
-
Douglas Gregor authored
llvm-svn: 144795
-
Argyrios Kyrtzidis authored
diagnostic set is necessary. llvm-svn: 144793
-
Argyrios Kyrtzidis authored
unnecessary deserializations. llvm-svn: 144792
-
Argyrios Kyrtzidis authored
unnecessary deserializations. llvm-svn: 144791
-
Evan Cheng authored
llvm-svn: 144789
-
Richard Smith authored
not safely derived. Don't allow lvalue-to-rvalue conversions on the result of dereferencing such a pointer. llvm-svn: 144783
-
Douglas Gregor authored
llvm-svn: 144779
-
Ted Kremenek authored
llvm-svn: 144778
-
-
Argyrios Kyrtzidis authored
do not crash if no client container is registered for a declaration context. llvm-svn: 144765
-
Argyrios Kyrtzidis authored
llvm-svn: 144764
-
Argyrios Kyrtzidis authored
per file. llvm-svn: 144763
-
Argyrios Kyrtzidis authored
in the ASTUnit changed. llvm-svn: 144762
-
Eli Friedman authored
llvm-svn: 144761
-
Eli Friedman authored
llvm-svn: 144745
-
Douglas Gregor authored
and remove stray fprintf. llvm-svn: 144742
-
Douglas Gregor authored
interface. This is currently limited to modules with umbrella headers. llvm-svn: 144736
-
Francois Pichet authored
In Microsoft mode, make "Unqualified lookup into dependent bases of class templates" works inside static functions. llvm-svn: 144729
-
- Nov 15, 2011
-
-
Douglas Gregor authored
incrementally with a new frontend action. llvm-svn: 144723
-
Eli Friedman authored
Compute whether a class is trivial correctly for template classes with an explicitly deleted or defaulted special member. PR11387. llvm-svn: 144715
-
Douglas Gregor authored
differing from GeneratePCHAction fairly soon. llvm-svn: 144703
-
Abramo Bagnara authored
llvm-svn: 144700
-
Douglas Gregor authored
building modules. llvm-svn: 144680
-
Fariborz Jahanian authored
llvm-svn: 144678
-
Fariborz Jahanian authored
their decl. do not match. // rdar://10448471 llvm-svn: 144676
-
Chad Rosier authored
llvm-svn: 144672
-
Chad Rosier authored
warnings/errors for unknown warning options. getDiagnosticsInGroup returns false if the diagnostics is found and true otherwise. Thus, if we're reporting and we have a valid diagnostic, we were actually setting the flag and causing mayhem. rdar://10444207 llvm-svn: 144670
-
Douglas Gregor authored
lifetimes have been extended via reference binding. The type of the reference and the type of the temporary are not necessarily the same, which could cause a crash. Fixes <rdar://problem/10398199>. llvm-svn: 144646
-