aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
AgeCommit message (Expand)AuthorFilesLines
2017-05-03[analyzer] Fix memory error bug category capitalization.Artem Dergachev1-15/+18
2017-05-02[analyzer] Detect bad free of function pointersDaniel Marjamaki1-1/+44
2017-04-26[analyzer] Teach the MallocChecker about Glib API for two argumentsLeslie Zhai1-28/+74
2017-03-09[analyzer] Teach the MallocChecker about about Glib APIAnna Zaks1-7/+40
2017-01-13[analyzer] Add LocationContext as a parameter to checkRegionChangesAnna Zaks1-1/+1
2017-01-05Migrate PathDiagnosticPiece to std::shared_ptrDavid Blaikie1-10/+8
2016-12-16[analyzer] Fix crash in MallocChecker.Devin Coughlin1-2/+1
2016-12-16[analyzer] Add another exception for Qt in MallocCheckerArtem Dergachev1-0/+5
2016-10-16Revert "Revert "[analyzer] Make MallocChecker more robust against custom rede...Devin Coughlin1-0/+4
2016-10-16Revert "[analyzer] Make MallocChecker more robust against custom redeclarations"Devin Coughlin1-4/+0
2016-10-16[analyzer] Make MallocChecker more robust against custom redeclarationsDevin Coughlin1-0/+4
2016-09-19[analyzer] Calculate extent size for memory regions allocated by new expression.Gabor Horvath1-0/+52
2016-08-18[analyzer] Small cleanups when checkers retrieving statements from explodedGabor Horvath1-22/+4
2016-07-18[NFC] Header cleanupMehdi Amini1-1/+0
2016-06-24Use more ArrayRefsDavid Majnemer1-1/+1
2016-05-27Apply clang-tidy's misc-move-constructor-init throughout Clang.Benjamin Kramer1-1/+2
2016-03-08[analyzer] Fix missed leak from MSVC specific allocation functionsAnna Zaks1-13/+23
2016-01-13[analyzer] Fix SVal/SymExpr/MemRegion class and enum names for consistency.Artem Dergachev1-3/+3
2016-01-06[analyzer] Fix false warning about memory leak for QApplication::postEventAnna Zaks1-0/+10
2015-12-28Refactor: Simplify boolean conditional return statements in lib/StaticAnalyze...Alexander Kornienko1-6/+3
2015-10-27[analyzer] Assume escape is possible through system functions taking void*Anna Zaks1-1/+1
2015-09-22[analyzer] Make realloc(ptr, 0) handling equivalent to malloc(0).Devin Coughlin1-13/+25
2015-09-16[analyzer] Add generateErrorNode() APIs to CheckerContext.Devin Coughlin1-11/+13
2015-09-08[analyzer] Apply whitespace cleanups by Honggyu Kim.Ted Kremenek1-74/+74
2015-08-13Wdeprecated: BugReporterVisitors are copied for cloning (BugReporterVisitorIm...David Blaikie1-3/+2
2015-08-13Wdeprecated: CollectReachableSymbolsCallback are move constructed/returned by...David Blaikie1-1/+1
2015-06-23Clarify pointer ownership semantics by hoisting the std::unique_ptr creation ...Aaron Ballman1-28/+29
2015-04-14[analyzer] This implements potential undefbehavior.ZeroAllocDereference checker.Anton Yartsev1-11/+155
2015-04-11Use 'override/final' instead of 'virtual' for overridden methodsAlexander Kornienko1-1/+1
2015-03-10[analyzer] Make getCheckIfTracked() return either leak or regular checker.Anton Yartsev1-19/+29
2015-03-07[analyzer] Remove unused type (addition to r231540: "Revert changes from r229...Anton Yartsev1-1/+0
2015-03-07[analyzer] Revert changes from r229593; an enhancement is under discussionAnton Yartsev1-87/+67
2015-03-04[analyzer] Bug fix: do not report leaks for alloca()Anton Yartsev1-0/+5
2015-03-04[analyzer] Individual configuration options can be specified for checkers.Gabor Horvath1-25/+19
2015-03-03[analyzer] unix.Malloc: preserve AllocaRegion bound to __builtin_alloca().Anton Yartsev1-13/+17
2015-02-19[analyzer] Different handling of alloca().Anton Yartsev1-30/+78
2015-02-18[analyzer] Refactoring: clarified the way the proper check kind is chosen.Anton Yartsev1-64/+86
2015-02-10[analyzer] Pass actual state to alloc/dealloc handling functions.Anton Yartsev1-43/+78
2015-02-05[analyzer] Look for allocation site in the parent frames as well as the curre...Anna Zaks1-3/+5
2014-10-03Remove stray enum keywords. MSVC sees this as a redeclaration at global scope.Benjamin Kramer1-2/+2
2014-10-03[analyzer] Make Malloc Checker track memory allocated by if_nameindexAnna Zaks1-37/+81
2014-09-05[analyzer] Don't crash if malloc() has an unexpected function prototype.Jordan Rose1-4/+4
2014-09-04unique_ptrify BugReporter::visitorsDavid Blaikie1-5/+5
2014-08-29unique_ptr-ify PathDiagnosticPiece ownershipDavid Blaikie1-4/+5
2014-08-05[Analyzer] fix for PR19102Anton Yartsev1-0/+41
2014-05-27[C++11] Use 'nullptr'. StaticAnalyzer edition.Craig Topper1-57/+58
2014-05-02Updated the attribute tablegen emitter for variadic arguments to emit a range...Aaron Ballman1-3/+2
2014-03-26[analyzer] Handle the M_ZERO and __GFP_ZERO flags in kernel mallocs.Jordan Rose1-5/+114
2014-03-15[C++11] Add 'override' keyword to virtual methods that override their base cl...Craig Topper1-7/+8
2014-03-10[C++11] Replacing DeclBase iterators specific_attr_begin() and specific_attr_...Aaron Ballman1-18/+9