HomePhabricator

[analyzer] Add a syntactic security check for ObjC NSCoder API.

Authored by dergachev.a on Dec 19 2019, 2:21 PM.

Description

[analyzer] Add a syntactic security check for ObjC NSCoder API.

Method '-[NSCoder decodeValueOfObjCType:at:]' is not only deprecated
but also a security hazard, hence a loud check.

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