We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92a927e commit d3250a7Copy full SHA for d3250a7
swift/ql/src/queries/Security/CWE-311/CleartextStorageDatabase.ql
@@ -89,8 +89,7 @@ class CleartextStorageConfig extends TaintTracking::Configuration {
89
isSink(node) and
90
exists(ClassDecl cd |
91
c.getAReadContent().(DataFlow::Content::FieldContent).getField() = cd.getAMember() and
92
- cd.getName() = ["RealmSwiftObject", "MyRealmSwiftObject"]
93
- // TODO: should be cd.getParent*().getName() = "RealmSwiftObject"
+ cd.getType().(NominalType).getABaseType*().getName() = "RealmSwiftObject"
94
)
95
or
96
// any default implicit reads
0 commit comments