llvm-project/clang/test/Analysis/diagnostics
Adam Balogh 12f5c7f0c3 [Analyzer] Iterator Checkers - Make range errors and invalidated access fatal
Range errors (dereferencing or incrementing the past-the-end iterator or
decrementing the iterator of the first element of the range) and access of
invalidated iterators lead to undefined behavior. There is no point to
continue the analysis after such an error on the same execution path, but
terminate it by a sink node (fatal error). This also improves the
performance and helps avoiding double reports (e.g. in case of nested
iterators).

Differential Revision: https://reviews.llvm.org/D62893

llvm-svn: 370314
2019-08-29 09:35:47 +00:00
..
Inputs Update the SARIF exporter to SARIF 2.1 2019-08-27 14:43:54 +00:00
deref-track-symbolic-region.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
deref-track-symbolic-region.cpp Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
dtors.cpp [analyzer] ConditionBRVisitor: MemberExpr support 2019-05-29 20:29:02 +00:00
explicit-suppression.cpp [Analyzer] Iterator Checkers - Make range errors and invalidated access fatal 2019-08-29 09:35:47 +00:00
false-positive-suppression.c Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
find_last_store.c [analyzer] Prune calls to functions with linear CFGs that return a non-zero constrained value 2019-08-13 23:22:33 +00:00
implicit-cxx-std-suppression.cpp [analyzer] NFC: Run many existing C++ tests with a custom operator new(). 2018-01-24 21:24:10 +00:00
initializer.cpp [analyzer] Add a prunable note for skipping vbase inits in subclasses. 2019-05-24 23:37:11 +00:00
invalid-srcloc-fix.cpp [analyzer] Fix an assertation failure for invalid sourcelocation, add a new debug checker 2019-03-14 16:10:29 +00:00
macro-null-return-suppression.cpp [analyzer] Bugfix for an overly eager suppression for null pointer return from macros. 2018-07-16 20:33:25 +00:00
macros.cpp [analyzer] Fix macro names in diagnostics within bigger macros. 2019-04-23 21:30:30 +00:00
macros.m Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
no-prune-paths.c Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
no-store-func-path-notes.c [analyzer] ConditionBRVisitor: Enhance to write out more information 2019-05-29 20:06:09 +00:00
no-store-func-path-notes.cpp [analyzer] ConditionBRVisitor: Boolean support 2019-05-29 20:34:29 +00:00
no-store-func-path-notes.m [analyzer] Enable control dependency condition tracking by default 2019-08-22 03:08:48 +00:00
plist-diagnostics-include-check.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
plist-multi-file.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
plist-multi-file.h [analyzer] Make plist-html diagnostic consumer produce multi-file reports. 2018-05-16 00:11:24 +00:00
report-issues-within-main-file.cpp Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
sarif-diagnostics-taint-test.c [analyzer] SARIF: Add EOF newline; replace diff_sarif 2019-06-19 15:27:35 +00:00
sarif-multi-diagnostic-test.c Fix a SARIF exporter crash with macro expansions 2019-08-27 14:20:27 +00:00
shortest-path-suppression.c Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
text-diagnostics.c Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
track_subexpressions.cpp [analyzer] Push correct version of 'Track indices of arrays' 2019-06-16 15:41:25 +00:00
undef-value-callee.h
undef-value-caller.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
undef-value-param.c Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00
undef-value-param.m Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist" 2019-06-11 14:21:32 +00:00