[PATCH] D51057: [analyzer][UninitializedObjectChecker] Fixed dereferencing
Umann Kristóf via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 29 13:59:14 PDT 2018
Szelethus updated this revision to Diff 163185.
Szelethus added a comment.
Fixed two crashes. Interesting how many much better this approach works, as I've never encountered `FunctionType`d objects or only forward declared typed pointers after dereferencing.
https://reviews.llvm.org/D51057
Files:
lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObject.h
lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp
test/Analysis/cxx-uninitialized-object-ptr-ref.cpp
test/Analysis/objcpp-uninitialized-object.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51057.163185.patch
Type: text/x-patch
Size: 13717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180829/7ab63e7b/attachment-0001.bin>
More information about the cfe-commits
mailing list