George Karpenkov
|
b340ee9768
[analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently
|
7 vuotta sitten |
Artem Dergachev
|
7a2b284075
[analyzer] Move zero-size allocation checks to optin.portability.
|
8 vuotta sitten |
Devin Coughlin
|
ac7583ae2b
[analyzer] UnixAPIChecker: Don't diagnose for functions in C++ namespaces
|
8 vuotta sitten |
Devin Coughlin
|
d363d001cb
[analyzer] Extend UnixAPIChecker open() checks to handle openat().
|
8 vuotta sitten |
David Majnemer
|
b070ebaa5e
Add support for __builtin_alloca_with_align
|
8 vuotta sitten |
Devin Coughlin
|
440c44a96a
[analyzer] Add generateErrorNode() APIs to CheckerContext.
|
10 vuotta sitten |
Ted Kremenek
|
99bb39afb4
[analyzer] Apply whitespace cleanups by Honggyu Kim.
|
10 vuotta sitten |
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 vuotta sitten |
Jordan Rose
|
50e819ac0d
[analyzer] UnixAPI: Check that the third argument to open(2) (if present) is an integer.
|
11 vuotta sitten |
Jordan Rose
|
820e69fba6
[analyzer] UnixAPI: Check when open(2) is called with more than three arguments.
|
11 vuotta sitten |
Craig Topper
|
1843a2095a
[C++11] Use 'nullptr'. StaticAnalyzer edition.
|
11 vuotta sitten |
Jordan Rose
|
447549aa0b
[analyzer] Handle the M_ZERO and __GFP_ZERO flags in kernel mallocs.
|
11 vuotta sitten |
Ahmed Charles
|
70639e8de3
Replace OwningPtr with std::unique_ptr.
|
11 vuotta sitten |
Benjamin Kramer
|
ba9fd9e97e
[C++11] Replace llvm::tie with std::tie.
|
11 vuotta sitten |
Alexander Kornienko
|
15c01b27f5
Expose the name of the checker producing each diagnostic message.
|
11 vuotta sitten |
Alp Toker
|
0fb7888788
Fix a tranche of comment, test and doc typos
|
11 vuotta sitten |
David Blaikie
|
dc84cd5efd
Include llvm::Optional in clang/Basic/LLVM.h
|
12 vuotta sitten |
David Blaikie
|
5251abea41
Replace SVal llvm::cast support to be well-defined.
|
12 vuotta sitten |
Chandler Carruth
|
55fc873017
Sort all of Clang's files under 'lib', and fix up the broken headers
|
12 vuotta sitten |
Benjamin Kramer
|
a93d0f2806
Include pruning and general cleanup.
|
12 vuotta sitten |
Jordan Rose
|
785950e594
[analyzer] Rename 'EmitReport' to 'emitReport'.
|
12 vuotta sitten |
Jordan Rose
|
eafaad279f
[analyzer] Warn about reallocf with an allocation size of 0, like realloc.
|
13 vuotta sitten |
Jordan Rose
|
a1f81bb0e5
[analyzer] Rename addTrackNullOrUndefValueVisitor to trackNullOrUndefValue.
|
13 vuotta sitten |
Jordan Rose
|
685379965c
[analyzer] When a symbol is null, we should track its constraints.
|
13 vuotta sitten |
Sylvestre Ledru
|
bed28ac1d1
Fix a typo (the the => the)
|
13 vuotta sitten |
Jordan Rose
|
5ef6e94b29
[analyzer] Guard against C++ member functions that look like system functions.
|
13 vuotta sitten |
Ted Kremenek
|
6fd4505ad6
Require that all static analyzer issues have a category. As part of this change,
|
13 vuotta sitten |
Ted Kremenek
|
76aadc346c
[analyzer] Implement basic path diagnostic pruning based on "interesting" symbols and regions.
|
13 vuotta sitten |
Dylan Noblesmith
|
f7ccbad5d9
Basic: import SmallString<> into clang namespace
|
13 vuotta sitten |
Dylan Noblesmith
|
6f42b62b61
Basic: import OwningPtr<> into clang namespace
|
13 vuotta sitten |