Escaping to void * / uint64_t / others non-OSObject * should stop tracking,
as such functions can have heterogeneous semantics depending on context, and can not always be annotated.
rdar://46439133
Paths
| Differential D55465
Stop tracking retain count of OSObject after escape to void * / other primitive types ClosedPublic Authored by george.karpenkov on Dec 7 2018, 5:07 PM.
Details
Summary Escaping to void * / uint64_t / others non-OSObject * should stop tracking, rdar://46439133
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 7 2018, 5:10 PM Closed by commit rC348675: Stop tracking retain count of OSObject after escape to void * / other primitive… (authored by george.karpenkov). · Explain WhyDec 7 2018, 5:23 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 177362 lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
test/Analysis/osobject-retain-release.cpp
|