aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
AgeCommit message (Expand)AuthorFilesLines
12 days[clang][analyzer] Support `ownership_{returns,takes}` attributes (#98941)Pavel Skripkin1-128/+236
2024-06-07[analyzer][NFC] Factor out NoOwnershipChangeVisitor (#94357)Kristóf Umann1-129/+18
2024-06-05[analyzer] New optin.taint.TaintedAlloc checker for catching unbounded memory...Daniel Krupp1-13/+85
2024-05-11[clang] Use StringRef::operator== instead of StringRef::equals (NFC) (#91844)Kazu Hirata1-2/+2
2024-05-08[analyzer] MallocChecker: Recognize std::atomics in smart pointer suppression...Artem Dergachev1-4/+15
2024-05-02[analyzer] Remove untrusted buffer size warning in the TaintPropagation check...Daniel Krupp1-0/+4
2024-04-16[analyzer] Handle builtin functions in MallocChecker (#88416)NagyDonat1-40/+49
2024-03-25Reapply "[analyzer] Accept C library functions from the `std` namespace" agai...NagyDonat1-6/+21
2024-03-22[clang][analyzer] Model getline/getdelim preconditions and evaluation (#83027)Alejandro Álvarez Ayllón1-3/+5
2024-03-06[clang][analyzer] Model allocation behavior or getdelim/geline (#83138)Alejandro Álvarez Ayllón1-6/+71
2024-03-04[analyzer] Refactor CallDescription match mode (NFC) (#83432)NagyDonat1-4/+4
2023-12-13[clang] Use StringRef::{starts,ends}_with (NFC) (#75149)Kazu Hirata1-5/+5
2023-11-28[analyzer] Use AllocaRegion in MallocChecker (#72402)DonatNagyE1-6/+8
2023-10-09[analyzer][NFC] Remove outdated FIXME comment (#68211)DonatNagyE1-7/+4
2023-09-05[analyzer][NFC] Use switch statement in MallocChecker::performKernelMallocBrad Smith1-5/+11
2023-07-05[analyzer][NFC] Move away from using raw-for loops inside StaticAnalyzerBalazs Benics1-43/+34
2023-05-16[analyzer] Fix QTimer::singleShot NewDeleteLeaks false positiveMichael Klein1-0/+5
2023-03-04[analyzer] Remove the loop from the exploded graph caused by missing informat...isuckatcs1-1/+2
2023-01-14[clang] Use std::optional instead of llvm::Optional (NFC)Kazu Hirata1-27/+30
2022-12-27[clang] Use a StringRef instead of a raw char pointer to store builtin and ca...serge-sans-paille1-32/+32
2022-12-25Revert "[clang] Use a StringRef instead of a raw char pointer to store builti...Vitaly Buka1-32/+32
2022-12-24[clang] Use a StringRef instead of a raw char pointer to store builtin and ca...serge-sans-paille1-32/+32
2022-12-23Revert "[clang] Use a StringRef instead of a raw char pointer to store builti...serge-sans-paille1-32/+32
2022-12-23[clang] Use a StringRef instead of a raw char pointer to store builtin and ca...serge-sans-paille1-32/+32
2022-12-23Revert "[clang] Use a StringRef instead of a raw char pointer to store builti...serge-sans-paille1-32/+32
2022-12-23[clang] Use a StringRef instead of a raw char pointer to store builtin and ca...serge-sans-paille1-32/+32
2022-12-17llvm::Optional::value => operator*/operator->Fangrui Song1-1/+1
2022-12-17std::optional::value => operator*/operator->Fangrui Song1-4/+3
2022-12-10[StaticAnalyzer] Use std::optional in MallocChecker.cpp (NFC)Kazu Hirata1-3/+3
2022-12-10[Checkers] Use std::optional in MallocChecker.cpp (NFC)Kazu Hirata1-3/+4
2022-12-03[StaticAnalyzer] Use std::nullopt instead of None (NFC)Kazu Hirata1-14/+15
2022-11-08Fix duplicate word typos; NFCRageking81-1/+1
2022-09-04[analyzer] Warn if the size of the array in `new[]` is undefinedisuckatcs1-0/+4
2022-08-09[clang][clang-tools-extra] LLVM_NODISCARD => [[nodiscard]]. NFCFangrui Song1-58/+42
2022-07-25Remove redundaunt virtual specifiers (NFC)Kazu Hirata1-6/+5
2022-07-13[clang] Use value instead of getValue (NFC)Kazu Hirata1-4/+5
2022-06-25[clang] Don't use Optional::hasValue (NFC)Kazu Hirata1-4/+4
2022-06-25Revert "Don't use Optional::hasValue (NFC)"Kazu Hirata1-7/+7
2022-06-25Don't use Optional::hasValue (NFC)Kazu Hirata1-7/+7
2022-06-20[clang] Don't use Optional::hasValue (NFC)Kazu Hirata1-9/+9
2022-06-15[analyzer][NFC] Prefer using isa<> instead getAs<> in conditionsBalazs Benics1-6/+6
2022-06-15[analyzer][NFC] Remove dead code and modernize surroundingsBalazs Benics1-5/+0
2022-05-02[analyzer] Fix Static Analyzer g_memdup false-positiveBalazs Benics1-2/+2
2022-04-23[analyzer] Clean checker options from bool to DefaultBool (NFC)Vince Bridgers1-3/+3
2022-04-20[clang] Add a raw_ostream operator<< overload for QualTypeNathan James1-1/+1
2022-03-23[analyzer] refactor makeIntValWithPtrWidth, remove getZeroWithPtrWidth (NFC)Vince Bridgers1-2/+3
2022-03-22[analyzer] Refactor makeNull to makeNullWithWidth (NFC)Vince Bridgers1-2/+2
2022-03-03[analyzer] Improve NoOwnershipChangeVisitor's understanding of deallocatorsKristóf Umann1-17/+59
2022-02-17[analyzer] Fix a crash in NoStateChangeVisitor with body-farmed stack frames.Artem Dergachev1-1/+9
2022-01-09[clang] Fix bugprone argument comments (NFC)Kazu Hirata1-1/+1