hanchenye-llvm-project/clang/test/Analysis
Balazs Benics ee073c7985 [analyzer][StdLibraryFunctionsChecker] Fix typos in summaries of mmap and mmap64
The fd parameter of
```
void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset)
```
should be constrained to the range [0, IntMax] as that is of type int.
Constraining to the range [0, Off_tMax] would result in a crash as that is
of a signed type with the value of 0xff..f (-1).

The crash would happen when we try to apply the arg constraints.
At line 583: assert(Min <= Max), as 0 <= -1 is not satisfied

The mmap64 is fixed for the same reason.

Reviewed By: martong, vsavchenko

Differential Revision: https://reviews.llvm.org/D92307
2020-11-30 18:06:28 +01:00
..
Checkers [Analyzer][WebKit] UncountedLocalVarsChecker 2020-09-22 11:05:04 -07:00
Inputs [clang][test] Fix prefix operator++ signature in iterators 2020-11-25 18:05:11 +01:00
cert [analyzer] CERT: POS34-C 2020-02-19 18:12:19 +01:00
copypaste
diagnostics [analyzer] Add system header simulator a symmetric random access iterator operator+ 2020-07-17 14:36:43 +02:00
engine
exploded-graph-rewriter [analyzer] Remove forbidden characters from a filename for a graph dump on Windows 2020-06-22 17:27:20 +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 [scan-build] Fix clang++ pathname again 2020-11-03 08:17:17 +01:00
unified-sources
z3 [analyzer][z3] Use more elaborate Z3 variable names 2020-09-14 08:43:56 +02:00
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
MissingDealloc.m
NSContainers.m
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
NewDelete-sized-deallocation.cpp
NewDelete-variadic.cpp
NewDeleteLeaks-PR18394.cpp
NewDeleteLeaks-PR19102.cpp
NoReturn.m
OSAtomic_mac.c
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
PR46264.cpp [analyzer] Fix crash with pointer to members values 2020-08-13 18:03:59 +03: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-config.c [analyzer] Add CTUImportCppThreshold for C++ files 2020-07-09 15:36:33 +02:00
analyzer-display-progress.cpp
analyzer-display-progress.m
analyzer-enabled-checkers.c [analyzer][StdLibraryFunctionsChecker] Elaborate the summary of fread and fwrite 2020-09-15 16:35:39 +02:00
analyzer-list-configs.c
analyzer-stats.c
analyzer_test.py
arc-zero-init.m
array-struct-region.c
array-struct-region.cpp
array-struct.c
asm-goto.cpp
asm.cpp
atomics.c
auto-obj-dtors-cfg-output.cpp
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
blocks.mm
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
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
call_once.cpp
cast-to-struct.cpp
cast-value-logic.cpp [analyzer] pr47037: CastValueChecker: Support for the new variadic isa<>. 2020-08-27 12:15:25 -07:00
cast-value-notes.cpp [analyzer] pr47037: CastValueChecker: Support for the new variadic isa<>. 2020-08-27 12:15:25 -07:00
cast-value-state-dump.cpp [analyzer] NFC: Store the pointee/referenced type for dynamic type tracking. 2020-08-27 12:15:23 -07:00
cast-value-weird.cpp
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-rich-constructors.mm
cfg.c [Analyzer] Include typedef statements in CFG build. 2020-04-27 12:36:26 +02:00
cfg.cpp CFG: Destroy temporaries in (a,b) expression in the correct order. 2020-08-05 14:52:53 -07: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
checker-plugins.c [Support] Fix formatted_raw_ostream for UTF-8 2020-07-06 16:18:15 +01: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
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
const-method-call.cpp
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
coverage.c
crash-trace.c
cstring-plist.c
cstring-ranges.c
cstring-syntax-cxx.cpp
cstring-syntax-weird.c
cstring-syntax-weird2.c
cstring-syntax.c
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-implicit.c [ASTImporter] Add Visitor for TypedefNameDecl's 2020-07-28 11:52:29 -05:00
ctu-import-threshold.c [analyzer] Add CTUImportCppThreshold for C++ files 2020-07-09 15:36:33 +02: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] ctu-on-demand-parsing tests: replace linux -> system-linux 2020-07-13 14:29:47 +02:00
ctu-on-demand-parsing.cpp [analyzer] ctu-on-demand-parsing tests: replace linux -> system-linux 2020-07-13 14:29:47 +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
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
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
cxx-uninitialized-object-no-dereference.cpp
cxx-uninitialized-object-notes-as-warnings.cpp
cxx-uninitialized-object-ptr-ref.cpp
cxx-uninitialized-object-unguarded-access.cpp
cxx-uninitialized-object-unionlike-constructs.cpp
cxx-uninitialized-object.cpp
cxx11-crashes.cpp
cxxctr-evalcall-analysis-order.cpp [analyzer] Enable constructor support in evalCall event. 2020-06-25 09:47:13 -07:00
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
dead-stores.m
deadstores-driverkit.cpp
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
designated-initializer.c
disable-all-checks.c
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
domtest.cpp
double-ranges-bug.c [analyzer] Refactor range inference for symbolic expressions 2020-05-28 18:54:52 +03:00
dtor-cxx11.cpp
dtor.cpp
dtors-in-dtor-cfg-output.cpp
dump_egraph.c
dump_egraph.cpp
dynamic-cast.cpp
dynamic_type_check.m
edges-new.mm
egraph-asm-goto-no-crash.cpp
elementtype.c
end-function-return-stmt.cpp
enum-cast-out-of-range.c
enum-cast-out-of-range.cpp
enum.cpp
equality_tracking.c [analyzer][solver] Fix issue with symbol non-equality tracking 2020-09-21 16:59:18 +02:00
eval-predefined-exprs.cpp Revert "[SYCL] Implement __builtin_unique_stable_name." 2020-10-12 01:10:09 -04:00
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
expr-inspection.cpp
fields.c
free.c
fuchsia_handle.cpp [StaticAnalyzer] Support struct annotations in FuchsiaHandleChecker 2020-11-21 19:59:51 -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
func.c
gcdantipatternchecker_test.m
generics.m
global-region-invalidation.c
global_region_invalidation.mm
globals.cpp
gmalloc.c
gtest.cpp
handle_constructors_for_default_arguments.cpp
handle_constructors_with_new_array.cpp
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
initializer.cpp
initializers-cfg-output.cpp
inline-if-constexpr.cpp
inline-not-supported.c
inline-plist.c
inline-unique-reports.c
inline.c
inline.cpp
inline2.c
inline3.c
inline4.c
inner-pointer.cpp
invalid-a-na-ly-zer-con-fig-value.c
invalid-analyzer-config-value.c
invalid-checker-option.c
invalid-deref.c [Analyzer] Improve invalid dereference bug reporting in DereferenceChecker. 2020-08-11 10:10:13 +02:00
invalidated-iterator.cpp [Analyzer] Handle pointer implemented as iterators in iterator checkers 2020-07-01 09:04:28 +02: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] Model iterator random incrementation symmetrically 2020-08-04 11:04:12 +02:00
iterator-range.cpp [Analyzer] Hotfix for various crashes in iterator checkers 2020-07-16 20:49:33 +02: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
lambdas-generalized-capture.cpp
lambdas.cpp
lambdas.mm
left-shift-cxx2a.cpp
lifetime-cfg-output.cpp
lifetime-extension.cpp
lifetime-extension.mm
lit.local.cfg
live-bindings-test.cpp
live-stmts.cpp [analyzer][Liveness][NFC] Get rid of statement liveness, because such a thing doesn't exist 2020-09-15 17:43:02 +02:00
live-stmts.mm [analyzer][Liveness][NFC] Get rid of statement liveness, because such a thing doesn't exist 2020-09-15 17:43:02 +02:00
live-variables.cpp
live-variables.m
llvm-conventions.cpp
localization-aggressive.m
localization.m
logical-ops.c
loop-block-counts.c
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
loopexit-cfg-output.cpp
lvalue.cpp
main.c
main.cpp
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
malloc-protoype.c
malloc-sizeof.c
malloc-sizeof.cpp
malloc-three-arg.c
malloc.c [Analyzer] Report every bug if only uniqueing location differs. 2020-07-15 12:19:25 +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
method-call.cpp
mig.mm
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][ReturnPtrRangeChecker] Fix a false positive on end() iterator 2020-11-02 16:41:17 +01: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] Handle pointer implemented as iterators in iterator checkers 2020-07-01 09:04:28 +02:00
missing-bind-temporary.cpp
mmap-writeexec.c
model-file.cpp
more-dtors-cfg-output.cpp [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
mpichecker.cpp
mpicheckernotes.cpp
mutually_exclusive_null_fp.cpp [analyzer][solver] Track symbol disequalities 2020-07-22 13:02:39 +03:00
new-aligned.cpp
new-ctor-conservative.cpp [analyzer] Enable constructor support in evalCall event. 2020-06-25 09:47:13 -07:00
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
nil-receiver.mm
no-exit-cfg.c
no-outofbounds.c
no-store-suppression.cpp
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
null-deref-offsets.c
null-deref-path-notes.c
null-deref-path-notes.cpp
null-deref-path-notes.m
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
null-deref-static.m
nullability-arc.mm
nullability-no-arc.mm
nullability-notes.m
nullability.c
nullability.m
nullability.mm
nullability_nullonly.mm
nullptr.cpp
number-object-conversion.c
number-object-conversion.cpp
number-object-conversion.m
number-object-conversion.mm
objc-arc.m
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-live-crash.mm [analyzer][NFC] Don't bind values to ObjCForCollectionStmt, replace it with a GDM trait 2020-09-11 15:58:48 +02:00
objc-message.m
objc-method-coverage.m
objc-properties.m
objc-radar17039661.m
objc-string.mm
objc-subscript.m
objc_invalidation.m
objcpp-uninitialized-object.mm
offsetofexpr-callback.c
openmp-unsupported.c
operator-calls.cpp
os_object_base.h
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
out-of-bounds-new.cpp
out-of-bounds.c
outofbound-notwork.c
outofbound.c
override-werror.c
padding_c.c
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
plist-macros-with-expansion-ctu.c
plist-macros-with-expansion.cpp [Analyzer] GNU named variadic macros in Plister 2020-09-21 15:38:28 -05:00
plist-macros.cpp
plist-output-alternate.m
plist-output.m
plist-stats-output.c
pointer-arithmetic.c
pointer-escape-on-conservative-calls.c
pointer-to-member.cpp [analyzer] Fix crash with pointer to members values 2020-08-13 18:03:59 +03:00
pr4209.m
pr22954.c [Analyzer] Report every bug if only uniqueing location differs. 2020-07-15 12:19:25 +02:00
pr37802.cpp
pr_2542_rdar_6793404.m
pr_4164.c
preprocessor-setup.c
properties.m
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
ptr-iter.cpp
ptr-sort.cpp
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
redefined_system.c
refcnt_naming.m
reference.cpp
region-1.m
region-store.c
region-store.cpp
region_store_overflow.c
reinterpret-cast.cpp
report-uniqueing.cpp [Analyzer] Remove inclusion of uniqueing decl from diagnostic profile. 2020-07-30 09:52:28 +02:00
retain-count-alloc.cpp
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
retain-release-region-store.m
retain-release-safe.c
retain-release.m
retain-release.mm
retaincountchecker-compoundregion.m
return-ptr-range.cpp [analyzer][ReturnPtrRangeChecker] Fix a false positive on end() iterator 2020-11-02 16:41:17 +01:00
return-stmt-merge.cpp
return-value-guaranteed.cpp
rvo.cpp
scopes-cfg-output.cpp
security-syntax-checks-no-emit.c
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
security-syntax-checks.m
self-assign.cpp
self-init.m
shallow-mode.m
show-checker-list.c
silence-checkers-and-packages-core-all.cpp
silence-checkers-and-packages-core-div-by-zero.cpp
simple-stream-checks.c
sizeofpack.cpp
sizeofpointer.c
smart-ptr-text-output.cpp [Analyzer] Fix for dereferece of smart pointer after branching on unknown inner pointer 2020-10-09 13:42:25 +02:00
smart-ptr.cpp [Analyzer] Fix for dereferece of smart pointer after branching on unknown inner pointer 2020-10-09 13:42:25 +02: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
stackaddrleak.c
static_local.m
stats.c
std-c-library-functions-POSIX-lookup.c [analyzer][StdLibraryFunctionsChecker] Use Optionals throughout the summary API 2020-09-01 11:36:20 +02:00
std-c-library-functions-POSIX-socket-sockaddr.cpp [analyzer][StdLibraryFunctionsChecker] Add POSIX networking functions 2020-07-20 22:46:24 +02:00
std-c-library-functions-POSIX.c [analyzer][StdLibraryFunctionsChecker] Remove strcasecmp 2020-09-10 12:29:39 +02:00
std-c-library-functions-arg-constraints.c [analyzer][StdLibraryFunctionsChecker] Elaborate the summary of fread and fwrite 2020-09-15 16:35:39 +02:00
std-c-library-functions-arg-constraints.cpp [analyzer] Don't allow hidden checkers to emit diagnostics 2020-07-06 15:34:51 +02:00
std-c-library-functions-arg-cstring-dependency.c [analyzer][StdLibraryFunctionsChecker] Remove strcasecmp 2020-09-10 12:29:39 +02:00
std-c-library-functions-arg-enabled-checkers.c [analyzer][StdLibraryFunctionsChecker] Have proper weak dependencies 2020-09-07 17:56:26 +02:00
std-c-library-functions-arg-weakdeps.c [analyzer][StdLibraryFunctionsChecker] Have proper weak dependencies 2020-09-07 17:56:26 +02: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-restrict.c [analyzer][StdLibraryFunctionsChecker] Do not match based on the restrict qualifier in C++ 2020-09-04 11:48:38 +02:00
std-c-library-functions-restrict.cpp [analyzer][StdLibraryFunctionsChecker] Do not match based on the restrict qualifier in C++ 2020-09-04 11:48:38 +02:00
std-c-library-functions-vs-stream-checker.c [analyzer][StdLibraryFunctionsChecker] Elaborate the summary of fread and fwrite 2020-09-15 16:35:39 +02:00
std-c-library-functions.c [analyzer][StdLibraryFunctionsChecker] Fix getline/getdelim signatures 2020-09-23 10:48:14 +02:00
std-c-library-functions.cpp
std-c-library-posix-crash.c [analyzer][StdLibraryFunctionsChecker] Fix typos in summaries of mmap and mmap64 2020-11-30 18:06:28 +01:00
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-note.c [Analyzer][StreamChecker] Report every leak, clean up state. 2020-07-20 11:49:00 +02:00
stream.c [Analyzer][StreamChecker] Use BugType::SuppressOnSink at resource leak report. 2020-07-23 11:53:25 +02:00
stream.cpp [Analyzer][StreamChecker] Add note tags for file opening. 2020-06-22 11:15:35 +02: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
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
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
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
taint-tester.cpp
taint-tester.m
temp-obj-dtors-cfg-output.cpp
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
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
track-control-dependency-conditions.m
traversal-algorithm.mm
traversal-begin-end-function.c
traversal-path-unification.c
trustnonnullchecker_test.m
trustnonnullchecker_test.mm
undef-buffers.c
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
uninit-vals.cpp
uninit-vals.m
unions-region.m
unions.cpp
unix-api.c
unix-api.cpp
unix-fns.c
unreachable-code-path.c
unsupported-types.c
unused-ivars.m
use-after-move.cpp [analyzer] pr47030: MoveChecker: Unforget a comma in the suppression list. 2020-08-07 10:39:28 -07:00
valist-as-lazycompound.c
valist-uninitialized-no-undef.c
valist-uninitialized.c
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
virtualcall.cpp
virtualcall.h
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] Don't allow hidden checkers to emit diagnostics 2020-07-06 15:34:51 +02:00
weak-functions.c
yaccignore.c
z3-crosscheck.c