We desperately need a checker that finds unchecked getArg() calls :)
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
The actual crash happens in RetainCountChecker::evalCall():
912 const Expr *BindReturnTo = 913 (BSmr == BehaviorSummary::IdentityThis) 914 ? cast<CXXMemberCallExpr>(CE)->getImplicitObjectArgument() 915 : CE->getArg(0); // <== here