Ted Kremenek
|
99bb39afb4
[analyzer] Apply whitespace cleanups by Honggyu Kim.
|
10 anos atrás |
David Blaikie
|
f95b352161
Wdeprecated: BugReporterVisitors are copied for cloning (BugReporterVisitorImpl), make sure such copies are safe
|
10 anos atrás |
David Blaikie
|
881f428893
Wdeprecated: CollectReachableSymbolsCallback are move constructed/returned by value, so make sure they're copy/moveable
|
10 anos atrás |
Aaron Ballman
|
e1c2ad65ca
Clarify pointer ownership semantics by hoisting the std::unique_ptr creation to the caller instead of hiding it in emitReport. NFC.
|
10 anos atrás |
Anton Yartsev
|
5799bcb6fe
[analyzer] This implements potential undefbehavior.ZeroAllocDereference checker.
|
10 anos atrás |
Alexander Kornienko
|
dfa4cf3126
Use 'override/final' instead of 'virtual' for overridden methods
|
10 anos atrás |
Anton Yartsev
|
57b4d9371b
[analyzer] Make getCheckIfTracked() return either leak or regular checker.
|
10 anos atrás |
Anton Yartsev
|
322df65506
[analyzer] Remove unused type (addition to r231540: "Revert changes from r229593")
|
10 anos atrás |
Anton Yartsev
|
8fe0b8fe52
[analyzer] Revert changes from r229593; an enhancement is under discussion
|
10 anos atrás |
Anton Yartsev
|
97a654c5cc
[analyzer] Bug fix: do not report leaks for alloca()
|
10 anos atrás |
Gabor Horvath
|
5595ece789
[analyzer] Individual configuration options can be specified for checkers.
|
10 anos atrás |
Anton Yartsev
|
d9759c7c69
[analyzer] unix.Malloc: preserve AllocaRegion bound to __builtin_alloca().
|
10 anos atrás |
Anton Yartsev
|
5f432847ff
[analyzer] Different handling of alloca().
|
10 anos atrás |
Anton Yartsev
|
52d5a7bf5c
[analyzer] Refactoring: clarified the way the proper check kind is chosen.
|
10 anos atrás |
Anton Yartsev
|
9e54ee5d01
[analyzer] Pass actual state to alloc/dealloc handling functions.
|
10 anos atrás |
Anna Zaks
|
782f17cae2
[analyzer] Look for allocation site in the parent frames as well as the current one.
|
10 anos atrás |
Benjamin Kramer
|
3e665b185a
Remove stray enum keywords. MSVC sees this as a redeclaration at global scope.
|
11 anos atrás |
Anna Zaks
|
5a9b42fd92
[analyzer] Make Malloc Checker track memory allocated by if_nameindex
|
11 anos atrás |
Jordan Rose
|
3e4e598ffc
[analyzer] Don't crash if malloc() has an unexpected function prototype.
|
11 anos atrás |
David Blaikie
|
cb5694cd3d
unique_ptrify BugReporter::visitors
|
11 anos atrás |
David Blaikie
|
8b29c79969
unique_ptr-ify PathDiagnosticPiece ownership
|
11 anos atrás |
Anton Yartsev
|
2e61d28939
[Analyzer] fix for PR19102
|
11 anos atrás |
Craig Topper
|
1843a2095a
[C++11] Use 'nullptr'. StaticAnalyzer edition.
|
11 anos atrás |
Aaron Ballman
|
03ebcc8297
Updated the attribute tablegen emitter for variadic arguments to emit a range accessor in addition to the iterators. Updated code using iterators to use range-based for loops.
|
11 anos atrás |
Jordan Rose
|
447549aa0b
[analyzer] Handle the M_ZERO and __GFP_ZERO flags in kernel mallocs.
|
11 anos atrás |
Craig Topper
|
83daac80e9
[C++11] Add 'override' keyword to virtual methods that override their base class.
|
11 anos atrás |
Aaron Ballman
|
15fd658d17
[C++11] Replacing DeclBase iterators specific_attr_begin() and specific_attr_end() with iterator_range specific_attrs(). Updating all of the usages of the iterators with range-based for loops.
|
11 anos atrás |
Ahmed Charles
|
70639e8de3
Replace OwningPtr with std::unique_ptr.
|
11 anos atrás |
Benjamin Kramer
|
ba9fd9e97e
[C++11] Replace llvm::tie with std::tie.
|
11 anos atrás |
Anton Yartsev
|
48e74b6ed7
[analyzer] Improved checker naming in CFG dump.
|
11 anos atrás |