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.
toString()
getName()
1 parent 81e027f commit aef9645Copy full SHA for aef9645
swift/ql/src/queries/Security/CWE-321/HardcodedEncryptionKey.ql
@@ -23,7 +23,7 @@ abstract class KeySource extends Expr { }
23
* A literal byte array is a key source.
24
*/
25
class ByteArrayLiteralSource extends KeySource {
26
- ByteArrayLiteralSource() { this = any(ArrayExpr arr | arr.getType().toString() = "Array<UInt8>") }
+ ByteArrayLiteralSource() { this = any(ArrayExpr arr | arr.getType().getName() = "Array<UInt8>") }
27
}
28
29
/**
0 commit comments