Skip to content

Commit 8c415f3

Browse files
committed
Swift: getName() -> getFullName().
1 parent 03a4084 commit 8c415f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

swift/ql/lib/codeql/swift/security/ConstantPasswordExtensions.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private class RnCryptorPasswordSink extends ConstantPasswordSink {
5151
RnCryptorPasswordSink() {
5252
// RNCryptor (labelled arguments)
5353
exists(NominalTypeDecl c, MethodDecl f, CallExpr call |
54-
c.getName() =
54+
c.getFullName() =
5555
[
5656
"RNCryptor", "RNEncryptor", "RNDecryptor", "RNCryptor.EncryptorV3",
5757
"RNCryptor.DecryptorV3"

swift/ql/lib/codeql/swift/security/ConstantSaltExtensions.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private class CryptoSwiftSaltSink extends ConstantSaltSink {
5050
private class RnCryptorSaltSink extends ConstantSaltSink {
5151
RnCryptorSaltSink() {
5252
exists(NominalTypeDecl c, MethodDecl f, CallExpr call |
53-
c.getName() =
53+
c.getFullName() =
5454
[
5555
"RNCryptor", "RNEncryptor", "RNDecryptor", "RNCryptor.EncryptorV3",
5656
"RNCryptor.DecryptorV3"

0 commit comments

Comments
 (0)