[PATCH] D51057: [analyzer][UninitializedObjectChecker] Fixed dereferencing
Umann Kristóf via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 21 12:41:13 PDT 2018
Szelethus created this revision.
Szelethus added reviewers: NoQ, george.karpenkov, xazax.hun, rnkovacs.
Herald added subscribers: cfe-commits, mikhail.ramalho, a.sidorin, szepet, whisperity.
This patch aims to fix derefencing, which has been debated for months now.
Instead of working with `SVal`s, the function now relies on `TypedValueRegion`.
Since this has been discussed since the inception of the checker, I'd very much prefer finding a permanent solution for this before moving forward.
Repository:
rC Clang
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51057.161796.patch
Type: text/x-patch
Size: 9745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180821/9c69c806/attachment-0001.bin>
More information about the cfe-commits
mailing list