llvm-project/clang/test/Analysis/diagnostics
George Karpenkov e15451a9c0 [analyzer] mark returns of functions where the region passed as parameter was not initialized
In the wild, many cases of null pointer dereference, or uninitialized
value read occur because the value was meant to be initialized by the
inlined function, but did not, most often due to error condition in the
inlined function.
This change highlights the return branch taken by the inlined function,
in order to help user understand the error report and see why the value
was uninitialized.

rdar://36287652

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

llvm-svn: 325976
2018-02-23 23:26:56 +00:00
..
Inputs/include [analyzer] Add more FileIDs to PlistDiagnostic map to avoid assertion 2016-09-01 12:25:16 +00:00
deref-track-symbolic-region.c Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +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
explicit-suppression.cpp [analyzer] Initial commit for the upcoming refactoring of the IteratorChecker. 2017-05-29 15:03:20 +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
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
macro-null-return-suppression.cpp [analyzer] Do not infer nullability inside function-like macros, even when macro is explicitly returning NULL 2018-02-03 00:55:21 +00:00
macros.cpp Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +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] mark returns of functions where the region passed as parameter was not initialized 2018-02-23 23:26:56 +00:00
no-store-func-path-notes.cpp [analyzer] mark returns of functions where the region passed as parameter was not initialized 2018-02-23 23:26:56 +00:00
no-store-func-path-notes.m [analyzer] mark returns of functions where the region passed as parameter was not initialized 2018-02-23 23:26:56 +00:00
plist-diagnostics-include-check.cpp Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
report-issues-within-main-file.cpp [analyzer] Fix memory error bug category capitalization. 2017-05-03 11:47:13 +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
undef-value-callee.h
undef-value-caller.c Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers 2017-03-03 18:02:02 +00:00
undef-value-param.c [analyzer] mark returns of functions where the region passed as parameter was not initialized 2018-02-23 23:26:56 +00:00
undef-value-param.m [analyzer] mark returns of functions where the region passed as parameter was not initialized 2018-02-23 23:26:56 +00:00