Ted Kremenek
|
99bb39afb4
[analyzer] Apply whitespace cleanups by Honggyu Kim.
|
10 жил өмнө |
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 жил өмнө |
Jordan Rose
|
50e819ac0d
[analyzer] UnixAPI: Check that the third argument to open(2) (if present) is an integer.
|
11 жил өмнө |
Jordan Rose
|
820e69fba6
[analyzer] UnixAPI: Check when open(2) is called with more than three arguments.
|
11 жил өмнө |
Craig Topper
|
1843a2095a
[C++11] Use 'nullptr'. StaticAnalyzer edition.
|
11 жил өмнө |
Jordan Rose
|
447549aa0b
[analyzer] Handle the M_ZERO and __GFP_ZERO flags in kernel mallocs.
|
11 жил өмнө |
Ahmed Charles
|
70639e8de3
Replace OwningPtr with std::unique_ptr.
|
11 жил өмнө |
Benjamin Kramer
|
ba9fd9e97e
[C++11] Replace llvm::tie with std::tie.
|
11 жил өмнө |
Alexander Kornienko
|
15c01b27f5
Expose the name of the checker producing each diagnostic message.
|
11 жил өмнө |
Alp Toker
|
0fb7888788
Fix a tranche of comment, test and doc typos
|
11 жил өмнө |
David Blaikie
|
dc84cd5efd
Include llvm::Optional in clang/Basic/LLVM.h
|
12 жил өмнө |
David Blaikie
|
5251abea41
Replace SVal llvm::cast support to be well-defined.
|
12 жил өмнө |
Chandler Carruth
|
55fc873017
Sort all of Clang's files under 'lib', and fix up the broken headers
|
12 жил өмнө |
Benjamin Kramer
|
a93d0f2806
Include pruning and general cleanup.
|
12 жил өмнө |
Jordan Rose
|
785950e594
[analyzer] Rename 'EmitReport' to 'emitReport'.
|
12 жил өмнө |
Jordan Rose
|
eafaad279f
[analyzer] Warn about reallocf with an allocation size of 0, like realloc.
|
12 жил өмнө |
Jordan Rose
|
a1f81bb0e5
[analyzer] Rename addTrackNullOrUndefValueVisitor to trackNullOrUndefValue.
|
13 жил өмнө |
Jordan Rose
|
685379965c
[analyzer] When a symbol is null, we should track its constraints.
|
13 жил өмнө |
Sylvestre Ledru
|
bed28ac1d1
Fix a typo (the the => the)
|
13 жил өмнө |
Jordan Rose
|
5ef6e94b29
[analyzer] Guard against C++ member functions that look like system functions.
|
13 жил өмнө |
Ted Kremenek
|
6fd4505ad6
Require that all static analyzer issues have a category. As part of this change,
|
13 жил өмнө |
Ted Kremenek
|
76aadc346c
[analyzer] Implement basic path diagnostic pruning based on "interesting" symbols and regions.
|
13 жил өмнө |
Dylan Noblesmith
|
f7ccbad5d9
Basic: import SmallString<> into clang namespace
|
13 жил өмнө |
Dylan Noblesmith
|
6f42b62b61
Basic: import OwningPtr<> into clang namespace
|
13 жил өмнө |
Benjamin Kramer
|
8fe83e1df9
Move a method from IdentifierTable.h out of line and remove the SmallString include.
|
13 жил өмнө |
Benjamin Kramer
|
00bd44d567
Move various diagnostic operator<< overloads out of line and remove includes of Diagnostic.h.
|
13 жил өмнө |
Ted Kremenek
|
8bef823818
Change references to 'const ProgramState *' to typedef 'ProgramStateRef'.
|
13 жил өмнө |
Ted Kremenek
|
3e97758f22
"This change adds alloca/valloc checks to UnixAPIChecker. It includes a small refactoring for
|
13 жил өмнө |
Ted Kremenek
|
5eca482fe8
[analyzer] Make the entries in 'Environment' context-sensitive by making entries map from
|
13 жил өмнө |
Ted Kremenek
|
c1275da4eb
Enhance UnixAPIChecker to also warn about zero-sized allocations to calloc() and realloc(). Patch by Cyril Roelandt!
|
13 жил өмнө |