llvm-project/clang/test/Analysis
Kirstóf Umann 1614e35408 [analyzer][MallocChecker] PR46253: Correctly recognize standard realloc
https://bugs.llvm.org/show_bug.cgi?id=46253

This is an obvious hack because realloc isn't any more affected than other
functions modeled by MallocChecker (or any user of CallDescription really),
but the nice solution will take some time to implement.

Differential Revision: https://reviews.llvm.org/D81745
2020-06-16 17:50:06 +02:00
..
Checkers [Analyzer][NFC] Remove prefix from WebKitNoUncountedMemberChecker name 2020-06-15 14:13:56 -07:00
Inputs [analyzer] On-demand parsing capability for CTU 2020-06-11 10:56:59 +02:00
cert [analyzer] CERT: POS34-C 2020-02-19 18:12:19 +01:00
copypaste Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
diagnostics [analyzer][AnalysisOrderChecker] Display the CallEvent type in preCall/postCall 2020-04-09 16:41:07 +02:00
engine
exploded-graph-rewriter [analyzer] Fix scan-build and exploded-graph-rewriter tests on Windows. 2020-04-06 20:33:37 +03:00
exploration_order
html_diagnostics [analyzer] Fix a couple of bugs in HTML report generation. 2020-02-05 17:16:38 +03:00
inlining [analyzer][RetainCount] Tie diagnostics to osx.cocoa.RetainCount rather then RetainCountBase, for the most part 2020-05-27 00:01:47 +02:00
objc [analyzer][DirectIvarAssignment] Turn DirectIvarAssignmentForAnnotatedFunctions into a checker option 2020-05-19 15:41:43 +02:00
scan-build Revert "Revert "[analyzer] Teach scan-build how to rebuild index.html without analyzing."" 2020-04-07 21:03:16 +03:00
unified-sources
z3
CFContainers-invalid.c
CFContainers.mm
CFNumber.c
CFRetainRelease_NSAssertionHandler.m
CGColorSpace.c
CheckNSError.m [analyzer] Do not report CFError null dereference for nonnull params. 2020-04-20 12:33:01 +03:00
CheckThatArraySubsciptNodeIsNotCollected.cpp [analyzer] Consider array subscripts to be interesting lvalues. 2020-04-23 19:52:45 +03:00
DeallocMissingRelease.m
DeallocUseAfterFreeErrors.m
DeleteWithNonVirtualDtor.cpp
DynamicTypePropagation.m
MPIMock.h
Malloc+MismatchedDeallocator+NewDelete.cpp
Malloc+MismatchedDeallocator_intersections.cpp
MemRegion.cpp
MismatchedDeallocator-checker-test.mm
MismatchedDeallocator-path-notes.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
MissingDealloc.m
NSContainers.m [analyzer] Fix skipping the call during inlined defensive check suppression. 2019-11-08 18:27:14 -08:00
NSPanel.m
NSString.m
NSWindow.m
NewDelete+MismatchedDeallocator_intersections.cpp
NewDelete-atomics.cpp
NewDelete-checker-test.cpp [analyzer][MallocChecker] Make NewDeleteLeaks depend on DynamicMemoryModeling rather than NewDelete 2020-05-27 00:03:53 +02:00
NewDelete-custom.cpp
NewDelete-intersections.mm [analyzer][MallocChecker] Make NewDeleteLeaks depend on DynamicMemoryModeling rather than NewDelete 2020-05-27 00:03:53 +02:00
NewDelete-path-notes.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
NewDelete-sized-deallocation.cpp
NewDelete-variadic.cpp
NewDeleteLeaks-PR18394.cpp
NewDeleteLeaks-PR19102.cpp
NoReturn.m
OSAtomic_mac.c [analyzer] Unbreak body farms in presence of multiple declarations. 2019-04-23 02:56:00 +00:00
OSAtomic_mac.cpp
ObjCProperties.m
ObjCPropertiesSyntaxChecks.m
ObjCRetSigs.m
PR2978.m
PR3991.m
PR7218.c
PR9741.cpp
PR12905.c
PR24184.cpp
PR35418.cpp [analyzer] Introduce reasoning about symbolic remainder operator 2020-05-28 18:56:38 +03:00
PR37855.c
PR38208.c
PR40625.cpp [analyzer][CallAndMessage] Add checker options for each bug type 2020-05-21 15:31:37 +02:00
SpecialFunctionsCFError.cpp [analyzer] Fix NSErrorChecker false positives on constructors. 2020-04-06 20:33:38 +03:00
UserNullabilityAnnotations.m [analyzer] Fix crash for non-pointers annotated as nonnull 2020-05-13 13:36:49 +03:00
_Bool-increment-decrement.c
a_flaky_crash.cpp A test commit as a new contributor to verify commit access is OK. 2020-05-04 21:36:18 +03:00
additive-folding-range-constraints.c
additive-folding.cpp
aggrinit-cfg-output.cpp [CFG] Add an option to expand CXXDefaultInitExpr into aggregate initialization 2019-12-17 17:56:06 -08:00
analyzeOneFunction.m
analyzer-checker-config.c
analyzer-checker-option-help.c [analyzer] List checker/plugin options in 3 categories: released, alpha, developer 2019-05-23 22:52:09 +00:00
analyzer-config.c [analyzer] On-demand parsing capability for CTU 2020-06-11 10:56:59 +02:00
analyzer-display-progress.cpp
analyzer-display-progress.m
analyzer-enabled-checkers.c [analyzer] Introduce weak dependencies to express *preferred* checker callback evaluation order 2020-06-12 14:08:38 +02:00
analyzer-list-configs.c [analyzer] Add a new frontend flag to display all checker options 2019-05-23 20:47:28 +00:00
analyzer-stats.c
analyzer_test.py
arc-zero-init.m
array-struct-region.c
array-struct-region.cpp Merge and improve code that detects same value in comparisons. 2019-09-21 03:02:26 +00:00
array-struct.c
asm-goto.cpp Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
asm.cpp
atomics.c
auto-obj-dtors-cfg-output.cpp [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
autoreleasewritechecker_test.m [analyzer] ObjCAutoreleaseWriteChecker: Support explicit autoreleasepools. 2020-06-03 19:06:04 +03:00
base-init.cpp
bitwise-ops.c
block-in-critical-section.cpp
block-in-critical-section.m
blocks-no-inline.c
blocks.m [analyzer] Fix false positive on introspection of a block's internal layout. 2019-12-06 13:24:20 -08:00
blocks.mm Defer capture initialization for blocks until after we've left the 2019-05-31 00:45:09 +00:00
bool-assignment.c
bool-increment.cpp
bsd-string.c [analyzer] NFCi: Refactor CStringChecker: use strongly typed internal API 2020-04-09 16:06:32 +02:00
bstring.c [analyzer] NFCi: Refactor CStringChecker: use strongly typed internal API 2020-04-09 16:06:32 +02:00
bstring.cpp
bug_hash_test.cpp
bug_hash_test.m
builtin-functions.cpp [analyzer] When failing to evaluate a __builtin_constant_p, presume it's false. 2019-04-03 01:53:40 +00:00
builtin_signbit.cpp
c11lock.c [analyzer] Add FuchsiaLockChecker and C11LockChecker 2020-01-27 13:55:56 -08:00
call-and-message.c [analyzer][CallAndMessage] Add checker options for each bug type 2020-05-21 15:31:37 +02:00
call-and-message.cpp [analyzer][CallAndMessage] Add checker options for each bug type 2020-05-21 15:31:37 +02:00
call-and-message.m [analyzer][CallAndMessage] Add checker options for each bug type 2020-05-21 15:31:37 +02:00
call-and-message.mm [analyzer][CallAndMessage] Add checker options for each bug type 2020-05-21 15:31:37 +02:00
call-invalidation.cpp Revert "[analyzer] Toning down invalidation a bit". 2019-04-03 18:21:16 +00:00
call_once.cpp
cast-to-struct.cpp
cast-value-logic.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
cast-value-notes.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
cast-value-state-dump.cpp [analyzer] Track runtime types represented by Obj-C Class objects 2020-04-29 13:35:53 +03:00
cast-value-weird.cpp [analyzer] pr43179: Make CallDescription defensive against C variadic functions. 2019-09-06 20:55:24 +00:00
castexpr-callback.c
casts.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
casts.cpp
casts.m
cfg-indirect-goto-determinism.cpp
cfg-openmp.cpp Add map-type check for target and target data directive, by Chi Chun 2020-04-07 07:15:52 -04:00
cfg-rich-constructors.cpp [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
cfg-rich-constructors.mm [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
cfg.c [Analyzer] Include typedef statements in CFG build. 2020-04-27 12:36:26 +02:00
cfg.cpp [Analyzer] Include typedef statements in CFG build. 2020-04-27 12:36:26 +02:00
cfref_PR2519.c
cfref_rdar6080742.c
check-analyzer-fixit.py [analyzer] decode() a bytes object to make Python3 happy 2020-03-04 17:12:48 +00:00
check-deserialization.cpp
checker-dependencies.c [analyzer] Fix an assertion failure if plugins added dependencies 2019-04-19 11:01:35 +00:00
checker-plugins.c [analyzer] Disable the checker-plugins test on Darwin. 2019-08-13 23:04:44 +00:00
chroot.c
class-object-state-dump.m [analyzer] Track runtime types represented by Obj-C Class objects 2020-04-29 13:35:53 +03:00
comparison-implicit-casts.cpp
complex-init-list.cpp
complex.c [analyzer] PR41753: Include complex integer types in NonLoc::isCompoundType 2019-05-18 12:34:08 +00:00
compound-literals.c [analyzer] Allow bindings of the CompoundLiteralRegion 2020-05-28 14:11:57 +03:00
concrete-address.c
conditional-operator.cpp
conditional-path-notes.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
const-method-call.cpp [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
constant-folding.c [analyzer] Introduce reasoning about symbolic remainder operator 2020-05-28 18:56:38 +03:00
constraint_manager_conditions.cpp [analyzer] Reasoning about comparison expressions in RangeConstraintManager 2020-06-15 18:35:15 +03:00
constraint_manager_negate_difference.c [analyzer] Improved RangeSet::Negate support of unsigned ranges 2020-05-25 18:52:22 +03:00
container-modeling-no-aggressive-binary-operation-simplification-warn.cpp [Analyzer] Fix for incorrect use of container and iterator checkers 2020-03-30 09:14:45 +02:00
container-modeling.cpp [Analyzer] Only add container note tags to the operations of the affected container 2020-03-26 09:44:16 +01:00
conversion.c
copy-elision.cpp
copy-elision.mm [analyzer] Fix a crash when doing RVO from within blocks. 2019-05-07 22:33:13 +00:00
coverage.c
crash-trace.c Re-land Remove REQUIRES:shell from tests that pass for me on Windows 2019-09-10 20:15:45 +00:00
cstring-plist.c [analyzer][NFC] Prettify some RUN: lines in test files. 2019-05-23 15:49:04 +00:00
cstring-ranges.c [analyzer] CStringChecker: Improve warning messages. 2019-12-11 11:22:36 -08:00
cstring-syntax-cxx.cpp
cstring-syntax-weird.c [analyzer] Fix analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
cstring-syntax-weird2.c [analyzer] Fix analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
cstring-syntax.c [analyzer] Fix analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
ctor.mm
ctu-different-triples.cpp [analyzer] On-demand parsing capability for CTU 2020-06-11 10:56:59 +02:00
ctu-hdr.h
ctu-import-threshold.c [analyzer] Add analyzer option to limit the number of imported TUs 2019-07-08 12:37:10 +00:00
ctu-main.c [analyzer] On-demand parsing capability for CTU 2020-06-11 10:56:59 +02:00
ctu-main.cpp [analyzer] On-demand parsing capability for CTU 2020-06-11 10:56:59 +02:00
ctu-on-demand-parsing.c [analyzer] On-demand parsing capability for CTU 2020-06-11 10:56:59 +02:00
ctu-on-demand-parsing.cpp [analyzer] On-demand parsing capability for CTU 2020-06-11 10:56:59 +02:00
ctu-unknown-parts-in-triples.cpp [analyzer] On-demand parsing capability for CTU 2020-06-11 10:56:59 +02:00
cxx-callgraph.cpp [CallGraph] Take into accound calls that aren't within any function bodies. 2019-08-20 02:22:37 +00:00
cxx-crashes.cpp
cxx-dynamic-memory-analysis-order.cpp [analyzer][NFC] Introduce CXXDeallocatorCall, deploy it in MallocChecker 2020-05-19 00:18:38 +02:00
cxx-for-range-cfg.cpp
cxx-for-range.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
cxx-inherited-ctor-init-expr.cpp [analyzer] Skip analysis of inherited ctor as top-level function 2020-03-09 12:05:11 +01:00
cxx-inherited-ctor-is-skipped-as-top-level.cpp [analyzer] Skip analysis of inherited ctor as top-level function 2020-03-09 12:05:11 +01:00
cxx-method-names.cpp
cxx-uninitialized-object-inheritance.cpp [analyzer] Move UninitializedObjectChecker out of alpha 2019-04-19 23:33:50 +00:00
cxx-uninitialized-object-no-dereference.cpp [analyzer] Move UninitializedObjectChecker out of alpha 2019-04-19 23:33:50 +00:00
cxx-uninitialized-object-notes-as-warnings.cpp [analyzer] Move UninitializedObjectChecker out of alpha 2019-04-19 23:33:50 +00:00
cxx-uninitialized-object-ptr-ref.cpp [analyzer][UninitializedObjectChecker] PR41611: Regard vector types as primitive 2019-04-30 08:47:56 +00:00
cxx-uninitialized-object-unguarded-access.cpp [analyzer] Move UninitializedObjectChecker out of alpha 2019-04-19 23:33:50 +00:00
cxx-uninitialized-object-unionlike-constructs.cpp [analyzer] Move UninitializedObjectChecker out of alpha 2019-04-19 23:33:50 +00:00
cxx-uninitialized-object.cpp [analyzer] PR41753: Include complex integer types in NonLoc::isCompoundType 2019-05-18 12:34:08 +00:00
cxx11-crashes.cpp
cxxnewexpr-callback-inline.cpp
cxxnewexpr-callback-noinline.cpp
dead-stores.c [analyzer] AnalyzerOptions: Remove 'fixits-as-remarks' 2020-03-04 06:56:32 +01:00
dead-stores.cpp [analyzer] Add a checker option to detect nested dead stores 2019-09-03 15:22:43 +00:00
dead-stores.m [analyzer] Add a checker option to detect nested dead stores 2019-09-03 15:22:43 +00:00
deadstores-driverkit.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
debug-CallGraph.cpp [[Clang CallGraph]] CallGraph should still record calls to decls. 2020-03-20 08:55:23 -07:00
debug-container-modeling.cpp [Analyzer] Split container modeling from iterator modeling 2020-01-29 16:10:45 +01:00
debug-exprinspection-istainted.c [analyzer][taint] Add isTainted debug expression inspection check 2020-03-03 14:40:23 +01:00
debug-iterator-modeling.cpp [Analyzer] Split container modeling from iterator modeling 2020-01-29 16:10:45 +01:00
default-analyze.m
default-diagnostic-visitors.c
delayed-template-parsing-crash.cpp
delegates.m
derived-to-base.cpp
designated-initializer-values.c [analyzer] Do not cache out on some shared implicit AST nodes 2019-12-11 17:15:12 -08:00
designated-initializer.c [analyzer] Do not cache out on some shared implicit AST nodes 2019-12-11 17:15:12 -08:00
disable-all-checks.c [analyzer][NFC] Reimplement checker options 2019-04-19 12:32:10 +00:00
dispatch-once.m [analyzer] Display the checker name in the text output 2020-04-09 16:21:45 +02:00
div-zero.cpp
division-by-zero.c
domtest.c [analyzer][IDF] Add a control dependency calculator + a new debug checker 2019-07-05 12:17:44 +00:00
domtest.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
double-ranges-bug.c [analyzer] Refactor range inference for symbolic expressions 2020-05-28 18:54:52 +03:00
dtor-cxx11.cpp
dtor.cpp [analyzer] Fix a crash when destroying a non-region. 2019-08-20 21:41:17 +00:00
dtors-in-dtor-cfg-output.cpp
dump_egraph.c [analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in the test. 2019-10-18 20:48:21 +00:00
dump_egraph.cpp [analyzer] Fix FieldRegion dumps. 2019-10-18 20:15:39 +00:00
dynamic-cast.cpp
dynamic_type_check.m
edges-new.mm [analyzer] Add minimal support for fix-it hints. 2019-09-06 20:55:29 +00:00
egraph-asm-goto-no-crash.cpp [analyzer] Fix clang-tidy crash on GCCAsmStmt 2019-06-27 22:46:40 +00:00
elementtype.c
end-function-return-stmt.cpp
enum-cast-out-of-range.c [analyzer] Avoid unnecessary enum range check on LValueToRValue casts 2019-08-23 14:21:13 +00:00
enum-cast-out-of-range.cpp [analyzer] Avoid unnecessary enum range check on LValueToRValue casts 2019-08-23 14:21:13 +00:00
enum.cpp
exceptions.mm
exercise-ps.c [analyzer][CallAndMessage] Add checker options for each bug type 2020-05-21 15:31:37 +02:00
explain-svals.c [Analyzer] [NFC] Parameter Regions 2020-06-09 12:08:56 +02:00
explain-svals.cpp [Analyzer] Allow creation of stack frame for functions without definition 2020-06-09 12:08:57 +02:00
explain-svals.m [Analyzer] [NFC] Parameter Regions 2020-06-09 12:08:56 +02:00
expr-inspection.c [analyzer] Escape symbols conjured into specific regions during a conservative EvalCall 2019-12-11 11:44:10 -08:00
expr-inspection.cpp
fields.c
free.c
fuchsia_handle.cpp [analyzer] Fix handle leak false positive when the handle dies too early 2020-01-27 09:52:06 -08:00
fuchsia_lock.c [analyzer] Move fuchsia.Lock checker to alpha 2020-02-05 16:11:06 -08:00
fuchsia_lock_impl.c [analyzer] Move fuchsia.Lock checker to alpha 2020-02-05 16:11:06 -08:00
func-mapping-test.cpp [CrossTU] Handle case when no USR could be generated during Decl search. 2019-08-06 12:10:16 +00:00
func.c
gcdantipatternchecker_test.m
generics.m Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
global-region-invalidation.c
global_region_invalidation.mm
globals.cpp [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
gmalloc.c
gtest.cpp
handle_constructors_for_default_arguments.cpp [analyzer] Add test cases for the unsupported C++ constructor modeling. 2019-11-07 17:15:53 -08:00
handle_constructors_with_new_array.cpp [analyzer] Add test cases for the unsupported C++ constructor modeling. 2019-11-07 17:15:53 -08:00
hangs.c [analyzer] Introduce reasoning about symbolic remainder operator 2020-05-28 18:56:38 +03:00
html-diag-singlefile.c
html-diag-singlefile.h
html-diags-analyze-headers.c
html-diags-analyze-headers.h
html-diags-multifile.c
html-diags-multifile.h
html-diags.c
identical-expressions.cpp
implicit-ctor-undef-value.cpp
incorrect-checker-names.cpp [analyzer][StackAddressEscape] Tie warnings to the diagnostic checkers rather then core.StackAddrEscapeBase 2020-05-20 02:26:40 +02:00
incorrect-checker-names.mm [analyzer][RetainCount] Tie diagnostics to osx.cocoa.RetainCount rather then RetainCountBase, for the most part 2020-05-27 00:01:47 +02:00
index-type.c
initialization.c
initialization.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
initializer.cpp [CFG] Add branch to skip vbase inits when they're handled by superclass. 2019-05-24 23:37:08 +00:00
initializers-cfg-output.cpp [analyzer] Do not cache out on some shared implicit AST nodes 2019-12-11 17:15:12 -08:00
inline-if-constexpr.cpp [analyzer] Treat functions without run-time branches as "small". 2019-04-30 03:01:02 +00:00
inline-not-supported.c
inline-plist.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
inline-unique-reports.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
inline.c
inline.cpp
inline2.c
inline3.c
inline4.c
inner-pointer.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
invalid-a-na-ly-zer-con-fig-value.c
invalid-analyzer-config-value.c
invalid-checker-option.c [analyzer] Remove the default value arg from getChecker*Option 2019-05-17 15:52:13 +00:00
invalidated-iterator.cpp [Analyzer] Iterator Checkers: Replace `UnknownVal` in comparison result by a conjured value 2019-12-11 15:24:06 +01:00
iterator-modeling-no-aggressive-binary-operation-simplification-no-crash.cpp [Analyzer] Fix for incorrect use of container and iterator checkers 2020-03-30 09:14:45 +02:00
iterator-modeling.cpp [Analyzer] Rename test `iterator-modelling.cpp` to `iterator-modeling.cpp` 2020-03-30 09:23:35 +02:00
iterator-range.cpp [analyzer] Stability improvement for IteratorModeling 2020-05-06 14:16:39 +03:00
ivars.m
keychainAPI-diagnostic-visitor.m
keychainAPI.m
kmalloc-linux.c [Analyzer][MallocChecker] No warning for kfree of ZERO_SIZE_PTR. 2020-03-30 10:33:14 +02:00
lambda-notes.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
lambdas-generalized-capture.cpp
lambdas.cpp
lambdas.mm
left-shift-cxx2a.cpp [cxx2a] P1236R1: the validity of a left shift does not depend on the 2019-06-25 01:45:26 +00:00
lifetime-cfg-output.cpp
lifetime-extension.cpp
lifetime-extension.mm
lit.local.cfg Update the SARIF exporter to SARIF 2.1 2019-08-27 14:43:54 +00:00
live-bindings-test.cpp
live-stmts.cpp
live-variables.cpp
live-variables.m
llvm-conventions.cpp
localization-aggressive.m [analyzer] LocalizationChecker: Fix a crash on synthesized accessor stubs. 2019-12-11 11:22:36 -08:00
localization.m
logical-ops.c [analyzer] PR37501: Disable assertion for logical op short circuit evaluation. 2019-03-29 22:43:34 +00:00
loop-block-counts.c [analyzer] StackFrameContext: Add NodeBuilderContext::blockCount() to its profile 2019-08-01 20:41:13 +00:00
loop-unrolling.cpp [analyzer] LoopUnrolling: fix crash when a parameter is a loop counter. 2020-05-22 16:14:48 +03:00
loop-widening-ignore-static-methods.cpp
loop-widening-notes.cpp [Analyzer] Fix for incorrect use of container and iterator checkers 2020-03-30 09:14:45 +02:00
loop-widening-preserve-reference-type.cpp [analyzer] LoopWidening: fix crash by avoiding aliased references invalidation 2020-06-09 12:55:54 +03:00
loop-widening.c
loop-widening.cpp [analyzer] PR43102: Fix an assertion and an out-of-bounds error for diagnostic location construction 2019-09-18 22:24:26 +00:00
loopexit-cfg-output.cpp
lvalue.cpp
main.c [analyzer] Trust global initializers when analyzing main(). 2019-08-28 18:44:32 +00:00
main.cpp [analyzer] Trust global initializers when analyzing main(). 2019-08-28 18:44:32 +00:00
malloc-annotations.c
malloc-annotations.cpp [analyzer][MallocChecker][NFC] Change the use of IdentifierInfo* to CallDescription 2020-02-25 15:43:33 +01:00
malloc-custom.c
malloc-fnptr-plist.c
malloc-free-after-return.cpp
malloc-interprocedural.c
malloc-overflow.c
malloc-overflow.cpp
malloc-overflow2.c
malloc-plist.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
malloc-protoype.c
malloc-sizeof.c
malloc-sizeof.cpp
malloc-three-arg.c
malloc.c [analyzer][MallocChecker] Fix the incorrect retrieval of the from argument in realloc() 2020-06-01 22:38:29 +02:00
malloc.cpp [analyzer][MallocChecker] PR46253: Correctly recognize standard realloc 2020-06-16 17:50:06 +02:00
malloc.m
malloc.mm [analyzer] Teach MismatchedDealloc about initWithBytesNoCopy with deallocator. 2019-12-18 14:19:17 -08:00
max-nodes-suppress-on-sink.c
max-nodes-suppress-on-sink.cpp
member-expr.cpp
method-arg-decay.m
method-call-intra-p.cpp
method-call-path-notes.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
method-call.cpp
mig.mm [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
misc-ps-64.m
misc-ps-arm.m
misc-ps-cxx0x.cpp
misc-ps-eager-assume.m
misc-ps-ranges.m
misc-ps-region-store-i386.m
misc-ps-region-store-x86_64.m
misc-ps-region-store.cpp
misc-ps-region-store.m [analyzer] NonNullParamChecker and CStringChecker parameter number in checker message 2019-09-03 17:57:01 +00:00
misc-ps-region-store.mm
misc-ps.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
misc-ps.m [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
mismatched-iterator.cpp [Analyzer][NFC] Separate white-box tests for iterator modelling from iterator checker tests 2019-11-14 16:32:19 +01:00
missing-bind-temporary.cpp [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
mmap-writeexec.c
model-file.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
more-dtors-cfg-output.cpp [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
mpichecker.cpp
mpicheckernotes.cpp
new-aligned.cpp
new-ctor-conservative.cpp
new-ctor-inlined.cpp
new-ctor-malloc.cpp [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03:00
new-ctor-null-throw.cpp [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03:00
new-ctor-null.cpp [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03:00
new-ctor-recursive.cpp
new-ctor-symbolic.cpp
new-dynamic-types.cpp
new-with-exceptions.cpp
new.cpp [analyzer][MallocChecker] Make NewDeleteLeaks depend on DynamicMemoryModeling rather than NewDelete 2020-05-27 00:03:53 +02:00
nil-receiver-undefined-larger-than-voidptr-ret-region.m
nil-receiver-undefined-larger-than-voidptr-ret.m Fixed more -Wreturn-type tests 2019-11-09 18:13:51 +01:00
nil-receiver.mm [analyzer] Fix crash when returning C++ objects from ObjC messages-to-nil. 2019-04-26 02:05:12 +00:00
no-exit-cfg.c
no-outofbounds.c
no-store-suppression.cpp [analyzer] NoStoreFuncVisitor: Suppress reports with no-store in system headers. 2019-04-05 20:18:53 +00:00
no-unreachable-dtors.cpp
non-diagnosable-assumptions.c
nonnull-global-constants.mm [analyzer] NonnullGlobalConstants: Add support for kCFNull. 2019-12-18 12:08:15 -08:00
nonnull.cpp [analyzer] Do not report CFError null dereference for nonnull params. 2020-04-20 12:33:01 +03:00
nonnull.m
nonnullparamchecker-crash.cpp
novoidtypecrash.c [analyzer] PR43551: Do not dereferce void* in UndefOrNullArgVisitor. 2019-10-19 01:50:46 +00:00
null-deref-offsets.c
null-deref-path-notes.c [analyzer] CStringChecker: Improve warning messages. 2019-12-11 11:22:36 -08:00
null-deref-path-notes.cpp [analyzer] ConditionBRVisitor: MemberExpr support 2019-05-29 20:29:02 +00:00
null-deref-path-notes.m Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
null-deref-ps-region.c [analyzer] NFCi: Refactor CStringChecker: use strongly typed internal API 2020-04-09 16:06:32 +02:00
null-deref-ps.c [analyzer] NonNullParamChecker and CStringChecker parameter number in checker message 2019-09-03 17:57:01 +00:00
null-deref-static.m
nullability-arc.mm
nullability-no-arc.mm
nullability-notes.m [analyzer] Fix Objective-C accessor body farms after 2073dd2d. 2019-11-21 18:59:46 -08:00
nullability.c
nullability.m [analyzer] Nullability: Don't infer nullable when passing as nullable parameter. 2019-11-08 18:27:14 -08:00
nullability.mm
nullability_nullonly.mm
nullptr.cpp PR23833, DR2140: an lvalue-to-rvalue conversion on a glvalue of type 2019-06-14 17:46:38 +00:00
number-object-conversion.c
number-object-conversion.cpp
number-object-conversion.m
number-object-conversion.mm
objc-arc.m [analyzer] Add minimal support for fix-it hints. 2019-09-06 20:55:29 +00:00
objc-bool.m
objc-boxing.m
objc-encode.m
objc-for.m
objc-indirect-copy-restore.m [analyzer] Add support for ObjCIndirectCopyRestoreExpr. 2020-06-03 19:06:04 +03:00
objc-message.m
objc-method-coverage.m
objc-properties.m
objc-radar17039661.m Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
objc-string.mm
objc-subscript.m
objc_invalidation.m
objcpp-uninitialized-object.mm [analyzer] Move UninitializedObjectChecker out of alpha 2019-04-19 23:33:50 +00:00
offsetofexpr-callback.c
openmp-unsupported.c [OPENMP]Fix PR42632: crash on the analysis of the OpenMP constructs. 2019-07-17 18:03:39 +00:00
operator-calls.cpp
os_object_base.h [analyzer] DeadStores: Add a crude suppression files generated by DriverKit IIG. 2019-06-19 23:33:39 +00:00
os_smart_ptr.h
osobject-retain-release.cpp [analyzer] RetainCountChecker: Add a suppression for OSSymbols. 2020-04-01 18:16:44 +03:00
osobjectcstylecastchecker_test.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
out-of-bounds-new.cpp
out-of-bounds.c
outofbound-notwork.c
outofbound.c [analyzer] Emit an error rather than assert on invalid checker option input 2019-03-08 16:00:42 +00:00
override-werror.c [analyzer] Add werror flag for analyzer warnings 2019-06-07 23:34:00 +00:00
padding_c.c [analyzer] Emit an error rather than assert on invalid checker option input 2019-03-08 16:00:42 +00:00
padding_cpp.cpp Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. 2020-02-07 11:47:37 -08:00
padding_inherit.cpp
padding_message.cpp Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. 2020-02-07 11:47:37 -08:00
pch_crash.cpp [analyzer] Fix StdLibraryFunctionsChecker crash on macOS 2020-06-16 16:10:07 +03:00
placement-new-user-defined.cpp [analyzer] Enable PlacementNewChecker by default 2020-01-21 13:23:10 +01:00
placement-new.cpp [analyzer] Improve PlacementNewChecker 2020-05-14 15:50:39 +02:00
plist-diagnostics-template-function.cpp
plist-diagnostics-template-record.cpp
plist-html-macros.c [analyzer] Fix an assertation failure for invalid sourcelocation, add a new debug checker 2019-03-14 16:10:29 +00:00
plist-macros-with-expansion-ctu.c Fix failing test plist-macros-with-expansion-ctu.c 2019-07-25 12:46:42 +00:00
plist-macros-with-expansion.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
plist-macros.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
plist-output-alternate.m Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
plist-output.m [analyzer] Add minimal support for fix-it hints. 2019-09-06 20:55:29 +00:00
plist-stats-output.c
pointer-arithmetic.c
pointer-escape-on-conservative-calls.c [analyzer] Escape symbols conjured into specific regions during a conservative EvalCall 2019-12-11 11:44:10 -08:00
pointer-to-member.cpp
pr4209.m
pr22954.c [Sema] Add some compile time _FORTIFY_SOURCE diagnostics 2019-03-18 19:23:45 +00:00
pr37802.cpp
pr_2542_rdar_6793404.m
pr_4164.c
preprocessor-setup.c [clang-scan-deps] Support for clang --analyze in clang-scan-deps 2019-10-14 20:15:01 +00:00
properties.m [analyzer] Fix more ObjC accessor body farms after 2073dd2d. 2019-12-04 16:29:08 -08:00
properties.mm
pthreadlock.c [analyzer] PthreadLock: Implement mutex escaping. 2020-01-24 18:43:24 +03:00
ptr-arith.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
ptr-arith.cpp
ptr-cmp-const-trunc.cl [analyzer] Handle comparison between non-default AS symbol and constant 2019-03-07 13:01:17 +00:00
ptr-iter.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
ptr-sort.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
qt_malloc.cpp
range_casts.c
rdar-6442306-1.m
rdar-6540084.m
rdar-6541136-region.c
rdar-6562655.m
rdar-6600344-nil-receiver-undefined-struct-ret.m
rdar-7168531.m
redecl.c [analyzer][CrossTU] Extend CTU to VarDecls with initializer 2019-04-23 11:04:41 +00:00
redefined_system.c
refcnt_naming.m
reference.cpp
region-1.m
region-store.c
region-store.cpp
region_store_overflow.c
reinterpret-cast.cpp
retain-count-alloc.cpp [analyzer] MallocChecker: Prevent Integer Set Library false positives 2019-07-18 00:03:55 +00:00
retain-release-arc.m
retain-release-cache-out.m
retain-release-cf-audited.m
retain-release-compound-literal.m [analyzer] Allow bindings of the CompoundLiteralRegion 2020-05-28 14:11:57 +03:00
retain-release-cpp-classes.cpp
retain-release-inline.m [analyzer] Track runtime types represented by Obj-C Class objects 2020-04-29 13:35:53 +03:00
retain-release-path-notes.m Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
retain-release-region-store.m
retain-release-safe.c
retain-release.m [Fix] Customize warnings for missing built-in types 2019-07-31 05:16:38 +00:00
retain-release.mm [analyzer] RetainCount: Allow offsets in return values. 2019-04-26 02:05:15 +00:00
retaincountchecker-compoundregion.m
return-ptr-range.cpp
return-stmt-merge.cpp
return-value-guaranteed.cpp [analyzer] Enable control dependency condition tracking by default 2019-08-22 03:08:48 +00:00
rvo.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
scopes-cfg-output.cpp [CFG] Make representation of destructor calls more accurate. 2019-08-28 18:44:42 +00:00
security-syntax-checks-no-emit.c [analyzer] PR41185: Fix regression where __builtin_* functions weren't recognized 2019-04-17 19:56:40 +00:00
security-syntax-checks-nscoder.m [analyzer] Add a syntactic security check for ObjC NSCoder API. 2019-12-19 14:54:29 -08:00
security-syntax-checks.c Fix test on PS4 which defaults to gnu99 which does not emit the expected warnings. 2019-04-18 00:00:06 +00:00
security-syntax-checks.m [analyzer] PR41185: Fix regression where __builtin_* functions weren't recognized 2019-04-17 19:56:40 +00:00
self-assign.cpp
self-init.m
shallow-mode.m
show-checker-list.c [analyzer] List checkers in 3 categories: released, alpha, developer 2019-05-23 21:46:51 +00:00
silence-checkers-and-packages-core-all.cpp [analyzer] Analysis: Silence checkers 2019-08-16 01:53:14 +00:00
silence-checkers-and-packages-core-div-by-zero.cpp [analyzer] Analysis: Silence checkers 2019-08-16 01:53:14 +00:00
simple-stream-checks.c
sizeofpack.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
sizeofpointer.c
smart-ptr.cpp [analyzer] SmartPtrModeling: Fix a null dereference. 2019-04-30 03:00:57 +00:00
stack-addr-ps.c
stack-addr-ps.cpp
stack-block-returned.cpp
stack-capture-leak-arc.mm
stack-capture-leak-no-arc.mm
stack-frame-context-revision.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
stackaddrleak.c
static_local.m
stats.c
std-c-library-functions-arg-constraints.c [analyzer] StdLibraryFunctionsChecker: Add support to lookup types 2020-05-29 17:42:05 +02:00
std-c-library-functions-arg-constraints.cpp [analyzer] Move apiModeling.StdCLibraryFunctionArgs to alpha. 2020-05-19 23:05:49 +03:00
std-c-library-functions-eof.c [analyzer] StdLibraryFunctionsChecker: Use platform dependent EOF and UCharMax 2020-02-13 13:51:51 +01:00
std-c-library-functions-inlined.c
std-c-library-functions-lookup.c [analyzer] StdLibraryFunctionsChecker: Add support to lookup types 2020-05-29 17:42:05 +02:00
std-c-library-functions-lookup.cpp [analyzer] StdLibraryFunctionsChecker: Add support to lookup types 2020-05-29 17:42:05 +02:00
std-c-library-functions.c [analyzer] StdLibraryFunctionsChecker: Add support to lookup types 2020-05-29 17:42:05 +02:00
std-c-library-functions.cpp
stl-algorithm-modeling-aggressive-std-find-modeling.cpp [Analyzer] Model STL Algoirthms to improve the iterator checkers 2020-02-05 17:59:08 +01:00
stl-algorithm-modeling.cpp [Analyzer] Model STL Algoirthms to improve the iterator checkers 2020-02-05 17:59:08 +01:00
stream-error.c [Analyzer][StreamChecker] Added check for "indeterminate file position". 2020-05-28 08:21:57 +02:00
stream.c [Analyzer][StreamChecker] Add check for pointer escape. 2020-06-15 15:43:23 +02:00
stream.cpp [clang][analyzer] Using CallDescription in StreamChecker. 2019-10-31 12:38:50 +01:00
string-fail.c
string-with-signedness.c
string.c [analyzer] NFCi: Refactor CStringChecker: use strongly typed internal API 2020-04-09 16:06:32 +02:00
string.cpp
structured_bindings.cpp [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
superclass.m
sval-dump-int128.c
svalbuilder-float-cast.c
svalbuilder-logic.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
svalbuilder-rearrange-comparisons.c
switch-case.c [analyzer] Generalize bitwise AND rules for ranges 2020-05-28 18:55:49 +03:00
symbol-escape.cpp Revert "[analyzer] Keep track of escaped locals" 2019-12-10 16:42:03 -08:00
symbol-reaper.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
symbol-reaper.cpp
taint-diagnostic-visitor.c
taint-dumps.c [analyzer] Move taint API from ProgramState to a separate header. NFC. 2019-03-29 22:49:30 +00:00
taint-generic.c [analyzer] GenericTaint: Don't expect CallEvent to always have a Decl. 2020-04-20 15:31:43 +03:00
taint-generic.cpp [analyzer] Add support for namespaces to GenericTaintChecker 2019-12-15 12:11:22 +01:00
taint-tester.c Revert "[analyzer] Toning down invalidation a bit". 2019-04-03 18:21:16 +00:00
taint-tester.cpp
taint-tester.m
temp-obj-dtors-cfg-output.cpp [analyzer] Do not cache out on some shared implicit AST nodes 2019-12-11 17:15:12 -08:00
temp-obj-dtors-option.cpp
templates.cpp
temporaries-callback-order.cpp
temporaries.cpp [Analyzer] Allow creation of stack frame for functions without definition 2020-06-09 12:08:57 +02:00
temporaries.mm [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
test-after-div-zero.c
test-include-cpp.cpp
test-include-cpp.h
test-include.c
test-include.h
test-objc-non-nil-return-value-checker.m
test-separate-retaincount.cpp [analyzer][RetainCount] Tie diagnostics to osx.cocoa.RetainCount rather then RetainCountBase, for the most part 2020-05-27 00:01:47 +02:00
test-variably-modified-types.c
this-pointer.cpp
track-control-dependency-conditions.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
track-control-dependency-conditions.m [analyzer] Fix a crash on tracking Objective-C 'self' as a control dependency. 2019-10-19 01:50:43 +00:00
traversal-algorithm.mm
traversal-begin-end-function.c
traversal-path-unification.c
trustnonnullchecker_test.m
trustnonnullchecker_test.mm
undef-buffers.c [analyzer] Emit an error rather than assert on invalid checker option input 2019-03-08 16:00:42 +00:00
undef-call.c
uninit-asm-goto.cpp Add triple for non-x86 environments. 2020-03-10 15:26:03 -07:00
uninit-bug-first-iteration-init.c [analyzer] Introduce reasoning about symbolic remainder operator 2020-05-28 18:56:38 +03:00
uninit-const.c [analyzer][CallAndMessage] Add checker options for each bug type 2020-05-21 15:31:37 +02:00
uninit-const.cpp [analyzer][CallAndMessage] Add checker options for each bug type 2020-05-21 15:31:37 +02:00
uninit-exhaustive-switch-bug.c [analyzer] Generalize bitwise AND rules for ranges 2020-05-28 18:55:49 +03:00
uninit-ps-rdar6145427.m
uninit-sometimes.cpp
uninit-val-const-likeness.c [analysis] Re-discard type sugar when casting values retrieved from the Store. 2019-12-18 18:00:57 -08:00
uninit-vals-union.c
uninit-vals.c [analyzer] Prune calls to functions with linear CFGs that return a non-zero constrained value 2019-08-13 23:22:33 +00:00
uninit-vals.cpp
uninit-vals.m [analyzer] ConditionBRVisitor: MemberExpr support 2019-05-29 20:29:02 +00:00
unions-region.m
unions.cpp [analyzer] Specify the C++ standard in more tests. 2019-10-19 00:08:17 +00:00
unix-api.c
unix-api.cpp
unix-fns.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
unreachable-code-path.c
unsupported-types.c
unused-ivars.m
use-after-move.cpp [analyzer] ConditionBRVisitor: Boolean support 2019-05-29 20:34:29 +00:00
valist-as-lazycompound.c
valist-uninitialized-no-undef.c
valist-uninitialized.c [analyzer] Make valist.Uninitialized depend on ValistBase 2019-02-17 19:51:42 +00:00
valist-unterminated.c
variadic-method-types.m
vector.m
vfork.c [analyzer] VforkChecker: allow execve after vfork. 2020-02-18 09:19:29 +03:00
virtualcall-fixits.cpp [analyzer] AnalyzerOptions: Remove 'fixits-as-remarks' 2020-03-04 06:56:32 +01:00
virtualcall-plist.cpp [analyzer] Improve VirtualCallChecker and enable parts of it by default. 2019-08-20 21:41:14 +00:00
virtualcall.cpp [analyzer] Improve VirtualCallChecker and enable parts of it by default. 2019-08-20 21:41:14 +00:00
virtualcall.h [analyzer] Improve VirtualCallChecker and enable parts of it by default. 2019-08-20 21:41:14 +00:00
vla-overflow.c [Analyzer][VLASizeChecker] Check for VLA size overflow. 2020-05-19 09:44:46 +02:00
vla.c [analyzer] Ignore calculated indices of <= 0 in VLASizeChecker 2020-06-04 07:25:35 -05:00
weak-dependencies.c [analyzer] Introduce weak dependencies to express *preferred* checker callback evaluation order 2020-06-12 14:08:38 +02:00
weak-functions.c
yaccignore.c
z3-crosscheck.c