Anna Zaks
|
c9ea912185
[analyzer] Remove unused check::RegionChanges::wantsRegionChangeUpdate callback
|
8 vuotta sitten |
Artem Dergachev
|
64f71c6f30
[analyzer] Add LocationContext information to SymbolMetadata.
|
9 vuotta sitten |
Mehdi Amini
|
2e23251d3e
[NFC] Header cleanup
|
9 vuotta sitten |
Anton Yartsev
|
23d62c03a7
[analyzer] Fix for PR23790 : constrain return value of strcmp() rather than returning a concrete value.
|
9 vuotta sitten |
Artem Dergachev
|
6ca703b27f
[analyzer] Let TK_PreserveContents span across the whole base region.
|
9 vuotta sitten |
Devin Coughlin
|
8b5ad43a09
[analyzer] Invalidate destination of std::copy() and std::copy_backward().
|
9 vuotta sitten |
Artem Dergachev
|
3e7cbba83d
[analyzer] Fix SVal/SymExpr/MemRegion class and enum names for consistency.
|
9 vuotta sitten |
Alexander Kornienko
|
a68f403749
Refactor: Simplify boolean conditional return statements in lib/StaticAnalyzer/Checkers
|
9 vuotta sitten |
Devin Coughlin
|
dd332dcdc4
[analyzer] When memcpy'ing into a fixed-size array, do not invalidate entire region.
|
10 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 |
Gabor Horvath
|
3af3e291f4
Revert r246345 until an assertion is fixed.
|
10 vuotta sitten |
Devin Coughlin
|
de3f60f0d6
[analyzer] When memcpy'ing into a fixed-size array, do not invalidate entire region.
|
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 |
Sylvestre Ledru
|
f28eaebc06
Remove the assertion as it was useless and broken.
|
10 vuotta sitten |
Sylvestre Ledru
|
f20f630c77
Fix a bad assert. Found by coverity. CID 1101110
|
10 vuotta sitten |
Anna Zaks
|
6118a4aa50
[analyzer] Make CStringChecker correctly calculate return value of mempcpy
|
11 vuotta sitten |
Craig Topper
|
1843a2095a
[C++11] Use 'nullptr'. StaticAnalyzer edition.
|
11 vuotta sitten |
Aaron Ballman
|
47aa3ca54b
[C++11] Replacing DeclStmt iterators decl_begin() and decl_end() with iterator_range decls(). Updating all of the usages of the iterators with range-based for loops.
|
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 |
Anton Yartsev
|
b7a747b0c2
[analyzer] Better modeling of memcpy by the CStringChecker (PR16731).
|
11 vuotta sitten |
Jordan Rose
|
edcc199f58
[analyzer] Replace bug category magic strings with shared constants, take 2.
|
12 vuotta sitten |
Richard Smith
|
10a61586e1
Temporarily revert r191910 until the layering violation can be fixed.
|
12 vuotta sitten |
Jordan Rose
|
4587cace90
[analyzer] Replace bug category magic strings with shared constants.
|
12 vuotta sitten |
Jordan Rose
|
a728e927c6
[analyzer] Assume that strings are no longer than SIZE_MAX/4.
|
12 vuotta sitten |
Pavel Labath
|
3b8f77d09d
Fix memory corruption in CStringChecker
|
12 vuotta sitten |
Jordan Rose
|
af22621352
[analyzer] Model strsep(), particularly that it returns its input.
|
12 vuotta sitten |
David Blaikie
|
7a95de68c0
Replace ProgramPoint llvm::cast support to be well-defined.
|
12 vuotta sitten |