We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 240248b commit 1952701Copy full SHA for 1952701
1 file changed
swift/ql/lib/codeql/swift/security/CleartextLogging.qll
@@ -53,7 +53,8 @@ private class OsLogPrivacyCleartextLoggingSanitizer extends CleartextLoggingSani
53
/** A type that isn't redacted by default in an `OSLogMessage`. */
54
private class OsLogNonRedactedType extends Type {
55
OsLogNonRedactedType() {
56
- this.getName() = [["", "U"] + "Int" + ["", "8", "16", "32", "64"], "Double", "Float", "Bool"]
+ this instanceof NumericType or
57
+ this instanceof BoolType
58
}
59
60
0 commit comments