From 36da0cd217a0f75506dff3c70df47bec7b15e523 Mon Sep 17 00:00:00 2001 From: Ed Minnix Date: Wed, 16 Aug 2023 10:32:35 -0400 Subject: [PATCH] Remove spaces in sig field of models --- java/ql/lib/ext/ch.ethz.ssh2.model.yml | 8 +- java/ql/lib/ext/com.amazonaws.auth.model.yml | 4 +- java/ql/lib/ext/com.jcraft.jsch.model.yml | 4 +- .../com.microsoft.sqlserver.jdbc.model.yml | 4 +- java/ql/lib/ext/com.mongodb.model.yml | 20 +-- .../lib/ext/com.sun.crypto.provider.model.yml | 104 ++++++------ .../com.sun.istack.internal.tools.model.yml | 4 +- java/ql/lib/ext/com.sun.jndi.ldap.model.yml | 8 +- .../lib/ext/com.sun.net.httpserver.model.yml | 6 +- java/ql/lib/ext/com.sun.net.ssl.model.yml | 6 +- ...keys.keyresolver.implementations.model.yml | 4 +- java/ql/lib/ext/com.sun.rowset.model.yml | 4 +- .../com.sun.security.auth.module.model.yml | 4 +- .../lib/ext/com.sun.security.ntlm.model.yml | 6 +- .../com.sun.security.sasl.digest.model.yml | 6 +- ....sun.tools.internal.ws.wscompile.model.yml | 4 +- java/ql/lib/ext/com.trilead.ssh2.model.yml | 22 +-- java/ql/lib/ext/java.net.model.yml | 4 +- java/ql/lib/ext/java.security.model.yml | 22 +-- java/ql/lib/ext/java.sql.model.yml | 4 +- java/ql/lib/ext/javax.crypto.model.yml | 4 +- java/ql/lib/ext/javax.crypto.spec.model.yml | 20 +-- java/ql/lib/ext/javax.net.ssl.model.yml | 4 +- .../javax.print.attribute.standard.model.yml | 4 +- .../javax.security.auth.kerberos.model.yml | 12 +- java/ql/lib/ext/javax.sql.model.yml | 12 +- java/ql/lib/ext/net.schmizz.sshj.model.yml | 8 +- .../ext/org.apache.commons.net.ftp.model.yml | 8 +- .../org.apache.sshd.client.session.model.yml | 4 +- ...ohsuke.stapler.framework.adjunct.model.yml | 2 +- ...mework.security.core.userdetails.model.yml | 4 +- ....perfdata.monitor.protocol.local.model.yml | 2 +- ...at.perfdata.monitor.protocol.rmi.model.yml | 2 +- java/ql/lib/ext/sun.misc.model.yml | 6 +- java/ql/lib/ext/sun.net.ftp.impl.model.yml | 12 +- java/ql/lib/ext/sun.net.ftp.model.yml | 8 +- .../ext/sun.net.www.protocol.http.model.yml | 6 +- .../lib/ext/sun.security.jgss.krb5.model.yml | 12 +- ...security.krb5.internal.crypto.dk.model.yml | 60 +++---- ...un.security.krb5.internal.crypto.model.yml | 156 +++++++++--------- java/ql/lib/ext/sun.security.krb5.model.yml | 18 +- java/ql/lib/ext/sun.security.pkcs.model.yml | 6 +- java/ql/lib/ext/sun.security.pkcs11.model.yml | 24 +-- java/ql/lib/ext/sun.security.pkcs12.model.yml | 16 +- .../lib/ext/sun.security.provider.model.yml | 20 +-- java/ql/lib/ext/sun.security.ssl.model.yml | 6 +- .../ext/sun.security.tools.keytool.model.yml | 6 +- java/ql/lib/ext/sun.tools.jconsole.model.yml | 56 +++---- 48 files changed, 375 insertions(+), 371 deletions(-) diff --git a/java/ql/lib/ext/ch.ethz.ssh2.model.yml b/java/ql/lib/ext/ch.ethz.ssh2.model.yml index df4d8dbb5ac0c..0e4452adadc4b 100644 --- a/java/ql/lib/ext/ch.ethz.ssh2.model.yml +++ b/java/ql/lib/ext/ch.ethz.ssh2.model.yml @@ -3,5 +3,9 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["ch.ethz.ssh2", "Connection", False, "authenticateWithPassword", "(String, String)", "", "Argument[0]", "credential-other", "manual"] - - ["ch.ethz.ssh2", "Connection", False, "authenticateWithPassword", "(String, String)", "", "Argument[1]", "credential-other", "manual"] + - ["ch.ethz.ssh2", "Connection", False, "authenticateWithNone", "", "", "Argument[0]", "credential-username", "manual"] + - ["ch.ethz.ssh2", "Connection", False, "authenticateWithPassword", "", "", "Argument[0]", "credential-username", "manual"] + - ["ch.ethz.ssh2", "Connection", False, "authenticateWithPassword", "", "", "Argument[1]", "credential-password", "manual"] + - ["ch.ethz.ssh2", "Connection", False, "authenticateWithPublicKey", "", "", "Argument[0]", "credential-username", "manual"] + - ["ch.ethz.ssh2", "Connection", False, "authenticateWithPublicKey", "", "", "Argument[2]", "credential-password", "manual"] + - ["ch.ethz.ssh2", "Connection", False, "authenticateWithPublicKey", "", "", "Argument[1]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/com.amazonaws.auth.model.yml b/java/ql/lib/ext/com.amazonaws.auth.model.yml index 282ac22f1aa76..1eb35019a8031 100644 --- a/java/ql/lib/ext/com.amazonaws.auth.model.yml +++ b/java/ql/lib/ext/com.amazonaws.auth.model.yml @@ -3,5 +3,5 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.amazonaws.auth", "BasicAWSCredentials", False, "BasicAWSCredentials", "(String, String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.amazonaws.auth", "BasicAWSCredentials", False, "BasicAWSCredentials", "(String, String)", "", "Argument[1]", "credential-other", "manual"] + - ["com.amazonaws.auth", "BasicAWSCredentials", False, "BasicAWSCredentials", "", "", "Argument[0]", "credential-other", "manual"] + - ["com.amazonaws.auth", "BasicAWSCredentials", False, "BasicAWSCredentials", "", "", "Argument[1]", "credential-other", "manual"] diff --git a/java/ql/lib/ext/com.jcraft.jsch.model.yml b/java/ql/lib/ext/com.jcraft.jsch.model.yml index d92ad35b96bcc..dffa093cac6fd 100644 --- a/java/ql/lib/ext/com.jcraft.jsch.model.yml +++ b/java/ql/lib/ext/com.jcraft.jsch.model.yml @@ -4,8 +4,8 @@ extensions: extensible: sinkModel data: - ["com.jcraft.jsch", "JSch", True, "getSession", "(String,String,int)", "", "Argument[1]", "request-forgery", "ai-manual"] - - ["com.jcraft.jsch", "JSch", False, "getSession", "(String, String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.jcraft.jsch", "JSch", False, "getSession", "(String, String, int)", "", "Argument[0]", "credential-other", "manual"] + - ["com.jcraft.jsch", "JSch", False, "getSession", "(String,String)", "", "Argument[0]", "credential-other", "manual"] + - ["com.jcraft.jsch", "JSch", False, "getSession", "(String,String,int)", "", "Argument[0]", "credential-other", "manual"] - ["com.jcraft.jsch", "Session", False, "setPassword", "(String)", "", "Argument[0]", "credential-other", "manual"] - ["com.jcraft.jsch", "Session", False, "setPassword", "(byte[])", "", "Argument[0]", "credential-other", "manual"] - addsTo: diff --git a/java/ql/lib/ext/com.microsoft.sqlserver.jdbc.model.yml b/java/ql/lib/ext/com.microsoft.sqlserver.jdbc.model.yml index 5eb69481537af..4e72ba7fe0f84 100644 --- a/java/ql/lib/ext/com.microsoft.sqlserver.jdbc.model.yml +++ b/java/ql/lib/ext/com.microsoft.sqlserver.jdbc.model.yml @@ -3,7 +3,7 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "getConnection", "(String, String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "getConnection", "(String, String)", "", "Argument[1]", "credential-other", "manual"] + - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "getConnection", "(String,String)", "", "Argument[0]", "credential-other", "manual"] + - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "getConnection", "(String,String)", "", "Argument[1]", "credential-other", "manual"] - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "setPassword", "(String)", "", "Argument[0]", "credential-other", "manual"] - ["com.microsoft.sqlserver.jdbc", "SQLServerDataSource", False, "setUser", "(String)", "", "Argument[0]", "credential-other", "manual"] diff --git a/java/ql/lib/ext/com.mongodb.model.yml b/java/ql/lib/ext/com.mongodb.model.yml index c933dc0b72682..737aa9e46579e 100644 --- a/java/ql/lib/ext/com.mongodb.model.yml +++ b/java/ql/lib/ext/com.mongodb.model.yml @@ -3,13 +3,13 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.mongodb", "MongoCredential", False, "createCredential", "(String, String, char[])", "", "Argument[0]", "credential-other", "manual"] - - ["com.mongodb", "MongoCredential", False, "createCredential", "(String, String, char[])", "", "Argument[2]", "credential-other", "manual"] - - ["com.mongodb", "MongoCredential", False, "createGSSAPICredential", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.mongodb", "MongoCredential", False, "createMongoCRCredential", "(String, String, char[])", "", "Argument[0]", "credential-other", "manual"] - - ["com.mongodb", "MongoCredential", False, "createMongoCRCredential", "(String, String, char[])", "", "Argument[2]", "credential-other", "manual"] - - ["com.mongodb", "MongoCredential", False, "createMongoX509Credential", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.mongodb", "MongoCredential", False, "createPlainCredential", "(String, String, char[])", "", "Argument[0]", "credential-other", "manual"] - - ["com.mongodb", "MongoCredential", False, "createPlainCredential", "(String, String, char[])", "", "Argument[2]", "credential-other", "manual"] - - ["com.mongodb", "MongoCredential", False, "createScramSha1Credential", "(String, String, char[])", "", "Argument[0]", "credential-other", "manual"] - - ["com.mongodb", "MongoCredential", False, "createScramSha1Credential", "(String, String, char[])", "", "Argument[2]", "credential-other", "manual"] + - ["com.mongodb", "MongoCredential", False, "createCredential", "", "", "Argument[0]", "credential-username", "manual"] + - ["com.mongodb", "MongoCredential", False, "createCredential", "", "", "Argument[2]", "credential-password", "manual"] + - ["com.mongodb", "MongoCredential", False, "createGSSAPICredential", "", "", "Argument[0]", "credential-username", "manual"] + - ["com.mongodb", "MongoCredential", False, "createMongoCRCredential", "", "", "Argument[0]", "credential-username", "manual"] + - ["com.mongodb", "MongoCredential", False, "createMongoCRCredential", "", "", "Argument[2]", "credential-password", "manual"] + - ["com.mongodb", "MongoCredential", False, "createMongoX509Credential", "", "", "Argument[0]", "credential-username", "manual"] + - ["com.mongodb", "MongoCredential", False, "createPlainCredential", "", "", "Argument[0]", "credential-username", "manual"] + - ["com.mongodb", "MongoCredential", False, "createPlainCredential", "", "", "Argument[2]", "credential-password", "manual"] + - ["com.mongodb", "MongoCredential", False, "createScramSha1Credential", "", "", "Argument[0]", "credential-username", "manual"] + - ["com.mongodb", "MongoCredential", False, "createScramSha1Credential", "", "", "Argument[2]", "credential-password", "manual"] diff --git a/java/ql/lib/ext/com.sun.crypto.provider.model.yml b/java/ql/lib/ext/com.sun.crypto.provider.model.yml index 48a055d2dca4d..09bf474de51cf 100644 --- a/java/ql/lib/ext/com.sun.crypto.provider.model.yml +++ b/java/ql/lib/ext/com.sun.crypto.provider.model.yml @@ -3,65 +3,65 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.sun.crypto.provider", "JceKeyStore", False, "engineGetKey", "(String, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["com.sun.crypto.provider", "JceKeyStore", False, "engineLoad", "(InputStream, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["com.sun.crypto.provider", "JceKeyStore", False, "engineSetKeyEntry", "(String, Key, char[], Certificate[])", "", "Argument[2]", "credential-password", "manual"] - - ["com.sun.crypto.provider", "JceKeyStore", False, "engineStore", "(OutputStream, char[])", "", "Argument[1]", "credential-password", "manual"] + - ["com.sun.crypto.provider", "JceKeyStore", False, "engineGetKey", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["com.sun.crypto.provider", "JceKeyStore", False, "engineLoad", "(InputStream,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["com.sun.crypto.provider", "JceKeyStore", False, "engineSetKeyEntry", "(String,Key,char[],Certificate[])", "", "Argument[2]", "credential-password", "manual"] + - ["com.sun.crypto.provider", "JceKeyStore", False, "engineStore", "(OutputStream,char[])", "", "Argument[1]", "credential-password", "manual"] - ["com.sun.crypto.provider", "JceKeyStore", False, "getPreKeyedHash", "(char[])", "", "Argument[0]", "credential-password", "manual"] - ["com.sun.crypto.provider", "KeyProtector", False, "KeyProtector", "(char[])", "", "Argument[0]", "credential-password", "manual"] - - ["com.sun.crypto.provider", "PBKDF2KeyImpl", False, "deriveKey", "(Mac, byte[], byte[], int, int)", "", "Argument[1]", "credential-password", "manual"] + - ["com.sun.crypto.provider", "PBKDF2KeyImpl", False, "deriveKey", "(Mac,byte[],byte[],int,int)", "", "Argument[1]", "credential-password", "manual"] - ["com.sun.crypto.provider", "PBKDF2KeyImpl", False, "getPasswordBytes", "(char[])", "", "Argument[0]", "credential-password", "manual"] - - ["com.sun.crypto.provider", "AESCipher", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "AESCrypt", False, "init", "(boolean, String, byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "AESWrapCipher", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "ARCFOURCipher", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "AESCipher", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "AESCrypt", False, "init", "(boolean,String,byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "AESWrapCipher", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "ARCFOURCipher", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] - ["com.sun.crypto.provider", "ARCFOURCipher", False, "init", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "BlowfishCipher", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "BlowfishCrypt", False, "init", "(boolean, String, byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "CipherBlockChaining", False, "init", "(boolean, String, byte[], byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "CipherCore", False, "unwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "CipherFeedback", False, "init", "(boolean, String, byte[], byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "CipherWithWrappingSpi", False, "constructPrivateKey", "(byte[], String)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "CipherWithWrappingSpi", False, "constructPublicKey", "(byte[], String)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "CipherWithWrappingSpi", False, "constructSecretKey", "(byte[], String)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "CipherWithWrappingSpi", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "ConstructKeys", False, "constructPrivateKey", "(byte[], String)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "ConstructKeys", False, "constructPublicKey", "(byte[], String)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "ConstructKeys", False, "constructSecretKey", "(byte[], String)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "CounterMode", False, "init", "(boolean, String, byte[], byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "DESCipher", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "BlowfishCipher", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "BlowfishCrypt", False, "init", "(boolean,String,byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "CipherBlockChaining", False, "init", "(boolean,String,byte[],byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "CipherCore", False, "unwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "CipherFeedback", False, "init", "(boolean,String,byte[],byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "CipherWithWrappingSpi", False, "constructPrivateKey", "(byte[],String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "CipherWithWrappingSpi", False, "constructPublicKey", "(byte[],String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "CipherWithWrappingSpi", False, "constructSecretKey", "(byte[],String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "CipherWithWrappingSpi", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "ConstructKeys", False, "constructPrivateKey", "(byte[],String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "ConstructKeys", False, "constructPublicKey", "(byte[],String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "ConstructKeys", False, "constructSecretKey", "(byte[],String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "CounterMode", False, "init", "(boolean,String,byte[],byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "DESCipher", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] - ["com.sun.crypto.provider", "DESCrypt", False, "expandKey", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "DESCrypt", False, "init", "(boolean, String, byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "DESCrypt", False, "init", "(boolean,String,byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - ["com.sun.crypto.provider", "DESKey", False, "DESKey", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "DESKey", False, "DESKey", "(byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "DESKeyGenerator", False, "setParityBit", "(byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "DESedeCipher", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "DESKey", False, "DESKey", "(byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "DESKeyGenerator", False, "setParityBit", "(byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "DESedeCipher", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] - ["com.sun.crypto.provider", "DESedeKey", False, "DESedeKey", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "DESedeKey", False, "DESedeKey", "(byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "DESedeWrapCipher", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "DESedeKey", False, "DESedeKey", "(byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "DESedeWrapCipher", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] - ["com.sun.crypto.provider", "DHPrivateKey", False, "DHPrivateKey", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - ["com.sun.crypto.provider", "DHPublicKey", False, "DHPublicKey", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "ElectronicCodeBook", False, "init", "(boolean, String, byte[], byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "FeedbackCipher", False, "init", "(boolean, String, byte[], byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "GaloisCounterMode", False, "init", "(boolean, String, byte[], byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "GaloisCounterMode", False, "init", "(boolean, String, byte[], byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "JceKeyStore", False, "engineSetKeyEntry", "(String, byte[], Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "ElectronicCodeBook", False, "init", "(boolean,String,byte[],byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "FeedbackCipher", False, "init", "(boolean,String,byte[],byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "GaloisCounterMode", False, "init", "(boolean,String,byte[],byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "GaloisCounterMode", False, "init", "(boolean,String,byte[],byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "JceKeyStore", False, "engineSetKeyEntry", "(String,byte[],Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] - ["com.sun.crypto.provider", "KeyProtector", False, "recover", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "OutputFeedback", False, "init", "(boolean, String, byte[], byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "PBECipherCore", False, "unwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "PBES1Core", False, "unwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "PBES2Core", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "PBEWithMD5AndDESCipher", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "PBEWithMD5AndTripleDESCipher", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "PCBC", False, "init", "(boolean, String, byte[], byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "PKCS12PBECipherCore", False, "implUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "PKCS12PBECipherCore$PBEWithSHA1AndDESede", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "PKCS12PBECipherCore$PBEWithSHA1AndRC2_128", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "PKCS12PBECipherCore$PBEWithSHA1AndRC2_40", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "PKCS12PBECipherCore$PBEWithSHA1AndRC4_128", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "PKCS12PBECipherCore$PBEWithSHA1AndRC4_40", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "RC2Cipher", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "RC2Crypt", False, "init", "(boolean, String, byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "RSACipher", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "SymmetricCipher", False, "init", "(boolean, String, byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - - ["com.sun.crypto.provider", "TlsMasterSecretGenerator$TlsMasterSecretKey", False, "TlsMasterSecretKey", "(byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "OutputFeedback", False, "init", "(boolean,String,byte[],byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "PBECipherCore", False, "unwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "PBES1Core", False, "unwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "PBES2Core", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "PBEWithMD5AndDESCipher", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "PBEWithMD5AndTripleDESCipher", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "PCBC", False, "init", "(boolean,String,byte[],byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "PKCS12PBECipherCore", False, "implUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "PKCS12PBECipherCore$PBEWithSHA1AndDESede", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "PKCS12PBECipherCore$PBEWithSHA1AndRC2_128", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "PKCS12PBECipherCore$PBEWithSHA1AndRC2_40", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "PKCS12PBECipherCore$PBEWithSHA1AndRC4_128", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "PKCS12PBECipherCore$PBEWithSHA1AndRC4_40", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "RC2Cipher", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "RC2Crypt", False, "init", "(boolean,String,byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "RSACipher", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "SymmetricCipher", False, "init", "(boolean,String,byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["com.sun.crypto.provider", "TlsMasterSecretGenerator$TlsMasterSecretKey", False, "TlsMasterSecretKey", "(byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/com.sun.istack.internal.tools.model.yml b/java/ql/lib/ext/com.sun.istack.internal.tools.model.yml index 25fcf32143271..4eb412bf814ca 100644 --- a/java/ql/lib/ext/com.sun.istack.internal.tools.model.yml +++ b/java/ql/lib/ext/com.sun.istack.internal.tools.model.yml @@ -3,5 +3,5 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.sun.istack.internal.tools", "DefaultAuthenticator$AuthInfo", False, "AuthInfo", "(URL, String, String)", "", "Argument[2]", "credential-password", "manual"] - - ["com.sun.istack.internal.tools", "DefaultAuthenticator$AuthInfo", False, "AuthInfo", "(URL, String, String)", "", "Argument[1]", "credential-username", "manual"] + - ["com.sun.istack.internal.tools", "DefaultAuthenticator$AuthInfo", False, "AuthInfo", "(URL,String,String)", "", "Argument[2]", "credential-password", "manual"] + - ["com.sun.istack.internal.tools", "DefaultAuthenticator$AuthInfo", False, "AuthInfo", "(URL,String,String)", "", "Argument[1]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/com.sun.jndi.ldap.model.yml b/java/ql/lib/ext/com.sun.jndi.ldap.model.yml index eb5819114414a..c8c33e925e7da 100644 --- a/java/ql/lib/ext/com.sun.jndi.ldap.model.yml +++ b/java/ql/lib/ext/com.sun.jndi.ldap.model.yml @@ -3,7 +3,7 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.sun.jndi.ldap", "DigestClientId", False, "DigestClientId", "(int, String, int, String, Control[], OutputStream, String, String, Object, Hashtable)", "", "Argument[7]", "credential-username", "manual"] - - ["com.sun.jndi.ldap", "LdapClient", False, "getInstance", "(boolean, String, int, String, int, int, OutputStream, int, String, Control[], String, String, Object, Hashtable)", "", "Argument[11]", "credential-username", "manual"] - - ["com.sun.jndi.ldap", "LdapPoolManager", False, "getLdapClient", "(String, int, String, int, int, OutputStream, int, String, Control[], String, String, Object, Hashtable)", "", "Argument[10]", "credential-username", "manual"] - - ["com.sun.jndi.ldap", "SimpleClientId", False, "SimpleClientId", "(int, String, int, String, Control[], OutputStream, String, String, Object)", "", "Argument[7]", "credential-username", "manual"] + - ["com.sun.jndi.ldap", "DigestClientId", False, "DigestClientId", "(int,String,int,String,Control[],OutputStream,String,String,Object,Hashtable)", "", "Argument[7]", "credential-username", "manual"] + - ["com.sun.jndi.ldap", "LdapClient", False, "getInstance", "(boolean,String,int,String,int,int,OutputStream,int,String,Control[],String,String,Object,Hashtable)", "", "Argument[11]", "credential-username", "manual"] + - ["com.sun.jndi.ldap", "LdapPoolManager", False, "getLdapClient", "(String,int,String,int,int,OutputStream,int,String,Control[],String,String,Object,Hashtable)", "", "Argument[10]", "credential-username", "manual"] + - ["com.sun.jndi.ldap", "SimpleClientId", False, "SimpleClientId", "(int,String,int,String,Control[],OutputStream,String,String,Object)", "", "Argument[7]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/com.sun.net.httpserver.model.yml b/java/ql/lib/ext/com.sun.net.httpserver.model.yml index a0fb8e22c6997..1358cfc8c28bc 100644 --- a/java/ql/lib/ext/com.sun.net.httpserver.model.yml +++ b/java/ql/lib/ext/com.sun.net.httpserver.model.yml @@ -3,6 +3,6 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.sun.net.httpserver", "BasicAuthenticator", False, "checkCredentials", "(String, String)", "", "Argument[1]", "credential-password", "manual"] - - ["com.sun.net.httpserver", "BasicAuthenticator", False, "checkCredentials", "(String, String)", "", "Argument[0]", "credential-username", "manual"] - - ["com.sun.net.httpserver", "HttpPrincipal", False, "HttpPrincipal", "(String, String)", "", "Argument[0]", "credential-username", "manual"] + - ["com.sun.net.httpserver", "BasicAuthenticator", False, "checkCredentials", "(String,String)", "", "Argument[1]", "credential-password", "manual"] + - ["com.sun.net.httpserver", "BasicAuthenticator", False, "checkCredentials", "(String,String)", "", "Argument[0]", "credential-username", "manual"] + - ["com.sun.net.httpserver", "HttpPrincipal", False, "HttpPrincipal", "(String,String)", "", "Argument[0]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/com.sun.net.ssl.model.yml b/java/ql/lib/ext/com.sun.net.ssl.model.yml index 98def0d279c7b..26f3aebb5e4c5 100644 --- a/java/ql/lib/ext/com.sun.net.ssl.model.yml +++ b/java/ql/lib/ext/com.sun.net.ssl.model.yml @@ -3,6 +3,6 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.sun.net.ssl", "KeyManagerFactory", False, "init", "(KeyStore, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["com.sun.net.ssl", "KeyManagerFactorySpi", False, "engineInit", "(KeyStore, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["com.sun.net.ssl", "KeyManagerFactorySpiWrapper", False, "engineInit", "(KeyStore, char[])", "", "Argument[1]", "credential-password", "manual"] + - ["com.sun.net.ssl", "KeyManagerFactory", False, "init", "(KeyStore,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["com.sun.net.ssl", "KeyManagerFactorySpi", False, "engineInit", "(KeyStore,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["com.sun.net.ssl", "KeyManagerFactorySpiWrapper", False, "engineInit", "(KeyStore,char[])", "", "Argument[1]", "credential-password", "manual"] diff --git a/java/ql/lib/ext/com.sun.org.apache.xml.internal.security.keys.keyresolver.implementations.model.yml b/java/ql/lib/ext/com.sun.org.apache.xml.internal.security.keys.keyresolver.implementations.model.yml index 91f618100793b..fb6aa7223dcfb 100644 --- a/java/ql/lib/ext/com.sun.org.apache.xml.internal.security.keys.keyresolver.implementations.model.yml +++ b/java/ql/lib/ext/com.sun.org.apache.xml.internal.security.keys.keyresolver.implementations.model.yml @@ -3,5 +3,5 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.sun.org.apache.xml.internal.security.keys.keyresolver.implementations", "PrivateKeyResolver", False, "PrivateKeyResolver", "(KeyStore, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["com.sun.org.apache.xml.internal.security.keys.keyresolver.implementations", "SecretKeyResolver", False, "SecretKeyResolver", "(KeyStore, char[])", "", "Argument[1]", "credential-password", "manual"] + - ["com.sun.org.apache.xml.internal.security.keys.keyresolver.implementations", "PrivateKeyResolver", False, "PrivateKeyResolver", "(KeyStore,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["com.sun.org.apache.xml.internal.security.keys.keyresolver.implementations", "SecretKeyResolver", False, "SecretKeyResolver", "(KeyStore,char[])", "", "Argument[1]", "credential-password", "manual"] diff --git a/java/ql/lib/ext/com.sun.rowset.model.yml b/java/ql/lib/ext/com.sun.rowset.model.yml index f7a56a78af005..3eb5f366f34a0 100644 --- a/java/ql/lib/ext/com.sun.rowset.model.yml +++ b/java/ql/lib/ext/com.sun.rowset.model.yml @@ -3,6 +3,6 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.sun.rowset", "JdbcRowSetImpl", False, "JdbcRowSetImpl", "(String, String, String)", "", "Argument[2]", "credential-password", "manual"] + - ["com.sun.rowset", "JdbcRowSetImpl", False, "JdbcRowSetImpl", "(String,String,String)", "", "Argument[2]", "credential-password", "manual"] - ["com.sun.rowset", "JdbcRowSetImpl", False, "setPassword", "(String)", "", "Argument[0]", "credential-password", "manual"] - - ["com.sun.rowset", "JdbcRowSetImpl", False, "JdbcRowSetImpl", "(String, String, String)", "", "Argument[1]", "credential-username", "manual"] + - ["com.sun.rowset", "JdbcRowSetImpl", False, "JdbcRowSetImpl", "(String,String,String)", "", "Argument[1]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/com.sun.security.auth.module.model.yml b/java/ql/lib/ext/com.sun.security.auth.module.model.yml index 036b3bb03d939..304c8cba0642d 100644 --- a/java/ql/lib/ext/com.sun.security.auth.module.model.yml +++ b/java/ql/lib/ext/com.sun.security.auth.module.model.yml @@ -3,5 +3,5 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.sun.security.auth.module", "JndiLoginModule", False, "verifyPassword", "(String, String)", "", "Argument[0]", "credential-password", "manual"] - - ["com.sun.security.auth.module", "JndiLoginModule", False, "verifyPassword", "(String, String)", "", "Argument[1]", "credential-password", "manual"] + - ["com.sun.security.auth.module", "JndiLoginModule", False, "verifyPassword", "(String,String)", "", "Argument[0]", "credential-password", "manual"] + - ["com.sun.security.auth.module", "JndiLoginModule", False, "verifyPassword", "(String,String)", "", "Argument[1]", "credential-password", "manual"] diff --git a/java/ql/lib/ext/com.sun.security.ntlm.model.yml b/java/ql/lib/ext/com.sun.security.ntlm.model.yml index 1e3df4edddada..8e094814de987 100644 --- a/java/ql/lib/ext/com.sun.security.ntlm.model.yml +++ b/java/ql/lib/ext/com.sun.security.ntlm.model.yml @@ -3,8 +3,8 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.sun.security.ntlm", "Client", False, "Client", "(String, String, String, String, char[])", "", "Argument[4]", "credential-password", "manual"] + - ["com.sun.security.ntlm", "Client", False, "Client", "(String,String,String,String,char[])", "", "Argument[4]", "credential-password", "manual"] - ["com.sun.security.ntlm", "NTLM", False, "getP1", "(char[])", "", "Argument[0]", "credential-password", "manual"] - ["com.sun.security.ntlm", "NTLM", False, "getP2", "(char[])", "", "Argument[0]", "credential-password", "manual"] - - ["com.sun.security.ntlm", "Client", False, "Client", "(String, String, String, String, char[])", "", "Argument[2]", "credential-username", "manual"] - - ["com.sun.security.ntlm", "Server", False, "getPassword", "(String, String)", "", "Argument[1]", "credential-username", "manual"] + - ["com.sun.security.ntlm", "Client", False, "Client", "(String,String,String,String,char[])", "", "Argument[2]", "credential-username", "manual"] + - ["com.sun.security.ntlm", "Server", False, "getPassword", "(String,String)", "", "Argument[1]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/com.sun.security.sasl.digest.model.yml b/java/ql/lib/ext/com.sun.security.sasl.digest.model.yml index ef520316fe1a8..caaebfc753519 100644 --- a/java/ql/lib/ext/com.sun.security.sasl.digest.model.yml +++ b/java/ql/lib/ext/com.sun.security.sasl.digest.model.yml @@ -3,6 +3,6 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.sun.security.sasl.digest", "DigestMD5Base", False, "generateResponseValue", "(String, String, String, String, String, char[], byte[], byte[], int, byte[])", "", "Argument[5]", "credential-password", "manual"] - - ["com.sun.security.sasl.digest", "DigestMD5Server", False, "generateResponseAuth", "(String, char[], byte[], int, byte[])", "", "Argument[1]", "credential-password", "manual"] - - ["com.sun.security.sasl.digest", "DigestMD5Server", False, "generateResponseAuth", "(String, char[], byte[], int, byte[])", "", "Argument[0]", "credential-username", "manual"] + - ["com.sun.security.sasl.digest", "DigestMD5Base", False, "generateResponseValue", "(String,String,String,String,String,char[],byte[],byte[],int,byte[])", "", "Argument[5]", "credential-password", "manual"] + - ["com.sun.security.sasl.digest", "DigestMD5Server", False, "generateResponseAuth", "(String,char[],byte[],int,byte[])", "", "Argument[1]", "credential-password", "manual"] + - ["com.sun.security.sasl.digest", "DigestMD5Server", False, "generateResponseAuth", "(String,char[],byte[],int,byte[])", "", "Argument[0]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/com.sun.tools.internal.ws.wscompile.model.yml b/java/ql/lib/ext/com.sun.tools.internal.ws.wscompile.model.yml index 9b72aa1c472c4..7718be82bcdd3 100644 --- a/java/ql/lib/ext/com.sun.tools.internal.ws.wscompile.model.yml +++ b/java/ql/lib/ext/com.sun.tools.internal.ws.wscompile.model.yml @@ -3,5 +3,5 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.sun.tools.internal.ws.wscompile", "AuthInfo", False, "AuthInfo", "(URL, String, String)", "", "Argument[2]", "credential-password", "manual"] - - ["com.sun.tools.internal.ws.wscompile", "AuthInfo", False, "AuthInfo", "(URL, String, String)", "", "Argument[1]", "credential-username", "manual"] + - ["com.sun.tools.internal.ws.wscompile", "AuthInfo", False, "AuthInfo", "(URL,String,String)", "", "Argument[2]", "credential-password", "manual"] + - ["com.sun.tools.internal.ws.wscompile", "AuthInfo", False, "AuthInfo", "(URL,String,String)", "", "Argument[1]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/com.trilead.ssh2.model.yml b/java/ql/lib/ext/com.trilead.ssh2.model.yml index f10f310b8ed00..4c8c996aaa894 100644 --- a/java/ql/lib/ext/com.trilead.ssh2.model.yml +++ b/java/ql/lib/ext/com.trilead.ssh2.model.yml @@ -3,16 +3,16 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["com.trilead.ssh2", "Connection", False, "authenticateWithDSA", "(String, String, String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithDSA", "(String, String, String)", "", "Argument[1]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithDSA", "(String, String, String)", "", "Argument[2]", "credential-other", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithDSA", "(String,String,String)", "", "Argument[0]", "credential-other", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithDSA", "(String,String,String)", "", "Argument[1]", "credential-other", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithDSA", "(String,String,String)", "", "Argument[2]", "credential-other", "manual"] - ["com.trilead.ssh2", "Connection", False, "authenticateWithNone", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPassword", "(String, String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPassword", "(String, String)", "", "Argument[1]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String, File, String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String, File, String)", "", "Argument[2]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String, char[], String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String, char[], String)", "", "Argument[1]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String, char[], String)", "", "Argument[2]", "credential-other", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPassword", "(String,String)", "", "Argument[0]", "credential-other", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPassword", "(String,String)", "", "Argument[1]", "credential-other", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,File,String)", "", "Argument[0]", "credential-other", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,File,String)", "", "Argument[2]", "credential-other", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,char[],String)", "", "Argument[0]", "credential-other", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,char[],String)", "", "Argument[1]", "credential-other", "manual"] + - ["com.trilead.ssh2", "Connection", False, "authenticateWithPublicKey", "(String,char[],String)", "", "Argument[2]", "credential-other", "manual"] - ["com.trilead.ssh2", "Connection", False, "getRemainingAuthMethods", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["com.trilead.ssh2", "Connection", False, "isAuthMethodAvailable", "(String, String)", "", "Argument[0]", "credential-other", "manual"] + - ["com.trilead.ssh2", "Connection", False, "isAuthMethodAvailable", "(String,String)", "", "Argument[0]", "credential-other", "manual"] diff --git a/java/ql/lib/ext/java.net.model.yml b/java/ql/lib/ext/java.net.model.yml index c43f16a3f41a7..2b70a64904ab7 100644 --- a/java/ql/lib/ext/java.net.model.yml +++ b/java/ql/lib/ext/java.net.model.yml @@ -10,7 +10,7 @@ extensions: extensible: sinkModel data: - ["java.net", "DatagramSocket", True, "connect", "(SocketAddress)", "", "Argument[0]", "request-forgery", "ai-manual"] - - ["java.net", "PasswordAuthentication", False, "PasswordAuthentication", "(String, char[])", "", "Argument[1]", "credential-password", "manual"] + - ["java.net", "PasswordAuthentication", False, "PasswordAuthentication", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] - ["java.net", "Socket", True, "Socket", "(String,int)", "", "Argument[0]", "request-forgery", "ai-manual"] - ["java.net", "URL", False, "openConnection", "", "", "Argument[this]", "request-forgery", "manual"] - ["java.net", "URL", False, "openConnection", "(Proxy)", "", "Argument[0]", "request-forgery", "ai-manual"] @@ -26,7 +26,7 @@ extensions: - ["java.net", "URLClassLoader", False, "URLClassLoader", "(URL[],ClassLoader,URLStreamHandlerFactory)", "", "Argument[0]", "request-forgery", "manual"] - ["java.net", "URLClassLoader", False, "URLClassLoader", "(URL[],ClassLoader)", "", "Argument[0]", "request-forgery", "manual"] - ["java.net", "URLClassLoader", False, "URLClassLoader", "(URL[])", "", "Argument[0]", "request-forgery", "manual"] - - ["java.net", "PasswordAuthentication", False, "PasswordAuthentication", "(String, char[])", "", "Argument[0]", "credential-username", "manual"] + - ["java.net", "PasswordAuthentication", False, "PasswordAuthentication", "(String,char[])", "", "Argument[0]", "credential-username", "manual"] - addsTo: pack: codeql/java-all extensible: summaryModel diff --git a/java/ql/lib/ext/java.security.model.yml b/java/ql/lib/ext/java.security.model.yml index 59c42c4afef0c..8c0d64baea336 100644 --- a/java/ql/lib/ext/java.security.model.yml +++ b/java/ql/lib/ext/java.security.model.yml @@ -3,15 +3,15 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["java.security", "KeyStore", False, "getKey", "(String, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["java.security", "KeyStore", False, "load", "(InputStream, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["java.security", "KeyStore", False, "setKeyEntry", "(String, Key, char[], Certificate[])", "", "Argument[2]", "credential-password", "manual"] - - ["java.security", "KeyStore", False, "store", "(OutputStream, char[])", "", "Argument[1]", "credential-password", "manual"] + - ["java.security", "KeyStore", False, "getKey", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["java.security", "KeyStore", False, "load", "(InputStream,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["java.security", "KeyStore", False, "setKeyEntry", "(String,Key,char[],Certificate[])", "", "Argument[2]", "credential-password", "manual"] + - ["java.security", "KeyStore", False, "store", "(OutputStream,char[])", "", "Argument[1]", "credential-password", "manual"] - ["java.security", "KeyStore$PasswordProtection", False, "PasswordProtection", "(char[])", "", "Argument[0]", "credential-password", "manual"] - - ["java.security", "KeyStore$PasswordProtection", False, "PasswordProtection", "(char[], String, AlgorithmParameterSpec)", "", "Argument[0]", "credential-password", "manual"] - - ["java.security", "KeyStoreSpi", False, "engineGetKey", "(String, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["java.security", "KeyStoreSpi", False, "engineLoad", "(InputStream, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["java.security", "KeyStoreSpi", False, "engineSetKeyEntry", "(String, Key, char[], Certificate[])", "", "Argument[2]", "credential-password", "manual"] - - ["java.security", "KeyStoreSpi", False, "engineStore", "(OutputStream, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["java.security", "KeyStore", False, "setKeyEntry", "(String, byte[], Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] - - ["java.security", "KeyStoreSpi", False, "engineSetKeyEntry", "(String, byte[], Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["java.security", "KeyStore$PasswordProtection", False, "PasswordProtection", "(char[],String,AlgorithmParameterSpec)", "", "Argument[0]", "credential-password", "manual"] + - ["java.security", "KeyStoreSpi", False, "engineGetKey", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["java.security", "KeyStoreSpi", False, "engineLoad", "(InputStream,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["java.security", "KeyStoreSpi", False, "engineSetKeyEntry", "(String,Key,char[],Certificate[])", "", "Argument[2]", "credential-password", "manual"] + - ["java.security", "KeyStoreSpi", False, "engineStore", "(OutputStream,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["java.security", "KeyStore", False, "setKeyEntry", "(String,byte[],Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["java.security", "KeyStoreSpi", False, "engineSetKeyEntry", "(String,byte[],Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/java.sql.model.yml b/java/ql/lib/ext/java.sql.model.yml index fe6307f052153..24e8feeaf1029 100644 --- a/java/ql/lib/ext/java.sql.model.yml +++ b/java/ql/lib/ext/java.sql.model.yml @@ -11,13 +11,13 @@ extensions: - ["java.sql", "DriverManager", False, "getConnection", "(String)", "", "Argument[0]", "request-forgery", "manual"] - ["java.sql", "DriverManager", False, "getConnection", "(String,Properties)", "", "Argument[0]", "request-forgery", "manual"] - ["java.sql", "DriverManager", False, "getConnection", "(String,String,String)", "", "Argument[0]", "request-forgery", "manual"] - - ["java.sql", "DriverManager", False, "getConnection", "(String, String, String)", "", "Argument[2]", "credential-password", "manual"] + - ["java.sql", "DriverManager", False, "getConnection", "(String,String,String)", "", "Argument[2]", "credential-password", "manual"] - ["java.sql", "Statement", True, "addBatch", "", "", "Argument[0]", "sql-injection", "manual"] - ["java.sql", "Statement", True, "execute", "", "", "Argument[0]", "sql-injection", "manual"] - ["java.sql", "Statement", True, "executeLargeUpdate", "", "", "Argument[0]", "sql-injection", "manual"] - ["java.sql", "Statement", True, "executeQuery", "", "", "Argument[0]", "sql-injection", "manual"] - ["java.sql", "Statement", True, "executeUpdate", "", "", "Argument[0]", "sql-injection", "manual"] - - ["java.sql", "DriverManager", False, "getConnection", "(String, String, String)", "", "Argument[1]", "credential-username", "manual"] + - ["java.sql", "DriverManager", False, "getConnection", "(String,String,String)", "", "Argument[1]", "credential-username", "manual"] - addsTo: pack: codeql/java-all extensible: summaryModel diff --git a/java/ql/lib/ext/javax.crypto.model.yml b/java/ql/lib/ext/javax.crypto.model.yml index 17fc17aa70743..e26c279b6ccc8 100644 --- a/java/ql/lib/ext/javax.crypto.model.yml +++ b/java/ql/lib/ext/javax.crypto.model.yml @@ -3,6 +3,6 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["javax.crypto", "Cipher", False, "unwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["javax.crypto", "CipherSpi", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["javax.crypto", "Cipher", False, "unwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["javax.crypto", "CipherSpi", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] - ["javax.crypto", "EncryptedPrivateKeyInfo", False, "checkPKCS8Encoding", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/javax.crypto.spec.model.yml b/java/ql/lib/ext/javax.crypto.spec.model.yml index 4346b2673f2c9..8360358850135 100644 --- a/java/ql/lib/ext/javax.crypto.spec.model.yml +++ b/java/ql/lib/ext/javax.crypto.spec.model.yml @@ -4,16 +4,16 @@ extensions: extensible: sinkModel data: - ["javax.crypto.spec", "PBEKeySpec", False, "PBEKeySpec", "(char[])", "", "Argument[0]", "credential-password", "manual"] - - ["javax.crypto.spec", "PBEKeySpec", False, "PBEKeySpec", "(char[], byte[], int)", "", "Argument[0]", "credential-password", "manual"] - - ["javax.crypto.spec", "PBEKeySpec", False, "PBEKeySpec", "(char[], byte[], int, int)", "", "Argument[0]", "credential-password", "manual"] + - ["javax.crypto.spec", "PBEKeySpec", False, "PBEKeySpec", "(char[],byte[],int)", "", "Argument[0]", "credential-password", "manual"] + - ["javax.crypto.spec", "PBEKeySpec", False, "PBEKeySpec", "(char[],byte[],int,int)", "", "Argument[0]", "credential-password", "manual"] - ["javax.crypto.spec", "DESKeySpec", False, "DESKeySpec", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["javax.crypto.spec", "DESKeySpec", False, "DESKeySpec", "(byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["javax.crypto.spec", "DESKeySpec", False, "isParityAdjusted", "(byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["javax.crypto.spec", "DESKeySpec", False, "isWeak", "(byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["javax.crypto.spec", "DESKeySpec", False, "DESKeySpec", "(byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["javax.crypto.spec", "DESKeySpec", False, "isParityAdjusted", "(byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["javax.crypto.spec", "DESKeySpec", False, "isWeak", "(byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] - ["javax.crypto.spec", "DESedeKeySpec", False, "DESedeKeySpec", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["javax.crypto.spec", "DESedeKeySpec", False, "DESedeKeySpec", "(byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["javax.crypto.spec", "DESedeKeySpec", False, "isParityAdjusted", "(byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["javax.crypto.spec", "SecretKeySpec", False, "SecretKeySpec", "(byte[], String)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["javax.crypto.spec", "SecretKeySpec", False, "SecretKeySpec", "(byte[], int, int, String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["javax.crypto.spec", "DESedeKeySpec", False, "DESedeKeySpec", "(byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["javax.crypto.spec", "DESedeKeySpec", False, "isParityAdjusted", "(byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["javax.crypto.spec", "SecretKeySpec", False, "SecretKeySpec", "(byte[],String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["javax.crypto.spec", "SecretKeySpec", False, "SecretKeySpec", "(byte[],int,int,String)", "", "Argument[0]", "crypto-parameter", "manual"] - ["javax.crypto.spec", "IvParameterSpec", False, "IvParameterSpec", "(byte[])", "", "Argument[0]", "credential-other", "manual"] - - ["javax.crypto.spec", "IvParameterSpec", False, "IvParameterSpec", "(byte[], int, int)", "", "Argument[0]", "credential-other", "manual"] + - ["javax.crypto.spec", "IvParameterSpec", False, "IvParameterSpec", "(byte[],int,int)", "", "Argument[0]", "credential-other", "manual"] diff --git a/java/ql/lib/ext/javax.net.ssl.model.yml b/java/ql/lib/ext/javax.net.ssl.model.yml index 63d922d429991..ce37cd9bab0ae 100644 --- a/java/ql/lib/ext/javax.net.ssl.model.yml +++ b/java/ql/lib/ext/javax.net.ssl.model.yml @@ -5,5 +5,5 @@ extensions: data: - ["javax.net.ssl", "HttpsURLConnection", True, "setDefaultHostnameVerifier", "", "", "Argument[0]", "hostname-verification", "manual"] - ["javax.net.ssl", "HttpsURLConnection", True, "setHostnameVerifier", "", "", "Argument[0]", "hostname-verification", "manual"] - - ["javax.net.ssl", "KeyManagerFactory", False, "init", "(KeyStore, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["javax.net.ssl", "KeyManagerFactorySpi", False, "engineInit", "(KeyStore, char[])", "", "Argument[1]", "credential-password", "manual"] + - ["javax.net.ssl", "KeyManagerFactory", False, "init", "(KeyStore,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["javax.net.ssl", "KeyManagerFactorySpi", False, "engineInit", "(KeyStore,char[])", "", "Argument[1]", "credential-password", "manual"] diff --git a/java/ql/lib/ext/javax.print.attribute.standard.model.yml b/java/ql/lib/ext/javax.print.attribute.standard.model.yml index 78bf15ff8228c..6c067dd78ecbe 100644 --- a/java/ql/lib/ext/javax.print.attribute.standard.model.yml +++ b/java/ql/lib/ext/javax.print.attribute.standard.model.yml @@ -3,5 +3,5 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["javax.print.attribute.standard", "JobOriginatingUserName", False, "JobOriginatingUserName", "(String, Locale)", "", "Argument[0]", "credential-username", "manual"] - - ["javax.print.attribute.standard", "RequestingUserName", False, "RequestingUserName", "(String, Locale)", "", "Argument[0]", "credential-username", "manual"] + - ["javax.print.attribute.standard", "JobOriginatingUserName", False, "JobOriginatingUserName", "(String,Locale)", "", "Argument[0]", "credential-username", "manual"] + - ["javax.print.attribute.standard", "RequestingUserName", False, "RequestingUserName", "(String,Locale)", "", "Argument[0]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/javax.security.auth.kerberos.model.yml b/java/ql/lib/ext/javax.security.auth.kerberos.model.yml index 695c6b3af6b75..a526aaef2dc79 100644 --- a/java/ql/lib/ext/javax.security.auth.kerberos.model.yml +++ b/java/ql/lib/ext/javax.security.auth.kerberos.model.yml @@ -3,9 +3,9 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["javax.security.auth.kerberos", "KerberosKey", False, "KerberosKey", "(KerberosPrincipal, char[], String)", "", "Argument[1]", "credential-password", "manual"] - - ["javax.security.auth.kerberos", "KeyImpl", False, "KeyImpl", "(KerberosPrincipal, char[], String)", "", "Argument[1]", "credential-password", "manual"] - - ["javax.security.auth.kerberos", "KerberosKey", False, "KerberosKey", "(KerberosPrincipal, byte[], int, int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["javax.security.auth.kerberos", "KerberosTicket", False, "KerberosTicket", "(byte[], KerberosPrincipal, KerberosPrincipal, byte[], int, boolean[], Date, Date, Date, Date, InetAddress[])", "", "Argument[3]", "crypto-parameter", "manual"] - - ["javax.security.auth.kerberos", "KerberosTicket", False, "init", "(byte[], KerberosPrincipal, KerberosPrincipal, byte[], int, boolean[], Date, Date, Date, Date, InetAddress[])", "", "Argument[3]", "crypto-parameter", "manual"] - - ["javax.security.auth.kerberos", "KeyImpl", False, "KeyImpl", "(byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["javax.security.auth.kerberos", "KerberosKey", False, "KerberosKey", "(KerberosPrincipal,char[],String)", "", "Argument[1]", "credential-password", "manual"] + - ["javax.security.auth.kerberos", "KeyImpl", False, "KeyImpl", "(KerberosPrincipal,char[],String)", "", "Argument[1]", "credential-password", "manual"] + - ["javax.security.auth.kerberos", "KerberosKey", False, "KerberosKey", "(KerberosPrincipal,byte[],int,int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["javax.security.auth.kerberos", "KerberosTicket", False, "KerberosTicket", "(byte[],KerberosPrincipal,KerberosPrincipal,byte[],int,boolean[],Date,Date,Date,Date,InetAddress[])", "", "Argument[3]", "crypto-parameter", "manual"] + - ["javax.security.auth.kerberos", "KerberosTicket", False, "init", "(byte[],KerberosPrincipal,KerberosPrincipal,byte[],int,boolean[],Date,Date,Date,Date,InetAddress[])", "", "Argument[3]", "crypto-parameter", "manual"] + - ["javax.security.auth.kerberos", "KeyImpl", False, "KeyImpl", "(byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/javax.sql.model.yml b/java/ql/lib/ext/javax.sql.model.yml index e694e3b991a77..b63956e8e8aa7 100644 --- a/java/ql/lib/ext/javax.sql.model.yml +++ b/java/ql/lib/ext/javax.sql.model.yml @@ -3,10 +3,10 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["javax.sql", "ConnectionPoolDataSource", False, "getPooledConnection", "(String, String)", "", "Argument[1]", "credential-password", "manual"] - - ["javax.sql", "DataSource", False, "getConnection", "(String, String)", "", "Argument[1]", "credential-password", "manual"] + - ["javax.sql", "ConnectionPoolDataSource", False, "getPooledConnection", "(String,String)", "", "Argument[1]", "credential-password", "manual"] + - ["javax.sql", "DataSource", False, "getConnection", "(String,String)", "", "Argument[1]", "credential-password", "manual"] - ["javax.sql", "RowSet", False, "setPassword", "(String)", "", "Argument[0]", "credential-password", "manual"] - - ["javax.sql", "XADataSource", False, "getXAConnection", "(String, String)", "", "Argument[1]", "credential-password", "manual"] - - ["javax.sql", "ConnectionPoolDataSource", False, "getPooledConnection", "(String, String)", "", "Argument[0]", "credential-username", "manual"] - - ["javax.sql", "DataSource", False, "getConnection", "(String, String)", "", "Argument[0]", "credential-username", "manual"] - - ["javax.sql", "XADataSource", False, "getXAConnection", "(String, String)", "", "Argument[0]", "credential-username", "manual"] + - ["javax.sql", "XADataSource", False, "getXAConnection", "(String,String)", "", "Argument[1]", "credential-password", "manual"] + - ["javax.sql", "ConnectionPoolDataSource", False, "getPooledConnection", "(String,String)", "", "Argument[0]", "credential-username", "manual"] + - ["javax.sql", "DataSource", False, "getConnection", "(String,String)", "", "Argument[0]", "credential-username", "manual"] + - ["javax.sql", "XADataSource", False, "getXAConnection", "(String,String)", "", "Argument[0]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/net.schmizz.sshj.model.yml b/java/ql/lib/ext/net.schmizz.sshj.model.yml index e9ef039760790..ceece8d57ba0c 100644 --- a/java/ql/lib/ext/net.schmizz.sshj.model.yml +++ b/java/ql/lib/ext/net.schmizz.sshj.model.yml @@ -3,7 +3,7 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String, String)", "", "Argument[0]", "credential-other", "manual"] - - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String, String)", "", "Argument[1]", "credential-other", "manual"] - - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String, char[])", "", "Argument[0]", "credential-other", "manual"] - - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String, char[])", "", "Argument[1]", "credential-other", "manual"] + - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String,String)", "", "Argument[0]", "credential-other", "manual"] + - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String,String)", "", "Argument[1]", "credential-other", "manual"] + - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String,char[])", "", "Argument[0]", "credential-other", "manual"] + - ["net.schmizz.sshj", "SSHClient", False, "authPassword", "(String,char[])", "", "Argument[1]", "credential-other", "manual"] diff --git a/java/ql/lib/ext/org.apache.commons.net.ftp.model.yml b/java/ql/lib/ext/org.apache.commons.net.ftp.model.yml index ea193c1ea7e53..7320491ec4f3b 100644 --- a/java/ql/lib/ext/org.apache.commons.net.ftp.model.yml +++ b/java/ql/lib/ext/org.apache.commons.net.ftp.model.yml @@ -3,7 +3,7 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String, String)", "", "Argument[0]", "credential-other", "manual"] - - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String, String)", "", "Argument[1]", "credential-other", "manual"] - - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String, String, String)", "", "Argument[0]", "credential-other", "manual"] - - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String, String, String)", "", "Argument[1]", "credential-other", "manual"] + - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String,String)", "", "Argument[0]", "credential-other", "manual"] + - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String,String)", "", "Argument[1]", "credential-other", "manual"] + - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String,String,String)", "", "Argument[0]", "credential-other", "manual"] + - ["org.apache.commons.net.ftp", "FTPClient", False, "login", "(String,String,String)", "", "Argument[1]", "credential-other", "manual"] diff --git a/java/ql/lib/ext/org.apache.sshd.client.session.model.yml b/java/ql/lib/ext/org.apache.sshd.client.session.model.yml index 4272d712b0456..8116e1467d716 100644 --- a/java/ql/lib/ext/org.apache.sshd.client.session.model.yml +++ b/java/ql/lib/ext/org.apache.sshd.client.session.model.yml @@ -4,5 +4,5 @@ extensions: extensible: sinkModel data: - ["org.apache.sshd.client.session", "AbstractClientSession", False, "addPasswordIdentity", "(String)", "", "Argument[0]", "credential-other", "manual"] - - ["org.apache.sshd.client.session", "ClientSessionCreator", False, "connect", "(String, SocketAddress)", "", "Argument[0]", "credential-other", "manual"] - - ["org.apache.sshd.client.session", "ClientSessionCreator", False, "connect", "(String, String, int)", "", "Argument[0]", "credential-other", "manual"] + - ["org.apache.sshd.client.session", "ClientSessionCreator", False, "connect", "(String,SocketAddress)", "", "Argument[0]", "credential-other", "manual"] + - ["org.apache.sshd.client.session", "ClientSessionCreator", False, "connect", "(String,String,int)", "", "Argument[0]", "credential-other", "manual"] diff --git a/java/ql/lib/ext/org.kohsuke.stapler.framework.adjunct.model.yml b/java/ql/lib/ext/org.kohsuke.stapler.framework.adjunct.model.yml index 6faaeb643aef2..49ff97f17ceb2 100644 --- a/java/ql/lib/ext/org.kohsuke.stapler.framework.adjunct.model.yml +++ b/java/ql/lib/ext/org.kohsuke.stapler.framework.adjunct.model.yml @@ -3,4 +3,4 @@ extensions: pack: codeql/java-all extensible: summaryModel data: - - ["org.kohsuke.stapler.framework.adjunct", "AdjunctManager", True, "AdjunctManager", "(ServletContext,ClassLoader,String,long)", "", "Argument[2]", "Argument[this].Field[org.kohsuke.stapler.framework.adjunct.AdjunctManager.rootURL]", "taint", "ai-manual"] # the class never accesses the URL, but the field is public + - ["org.kohsuke.stapler.framework.adjunct", "AdjunctManager", True, "AdjunctManager", "(ServletContext,ClassLoader,String,long)", "", "Argument[2]", "Argument[this].Field[org.kohsuke.stapler.framework.adjunct.AdjunctManager.rootURL]", "taint", "ai-manual"] # the class never accesses the URL,but the field is public diff --git a/java/ql/lib/ext/org.springframework.security.core.userdetails.model.yml b/java/ql/lib/ext/org.springframework.security.core.userdetails.model.yml index 2f06de19f0aa9..52ac0241d3a46 100644 --- a/java/ql/lib/ext/org.springframework.security.core.userdetails.model.yml +++ b/java/ql/lib/ext/org.springframework.security.core.userdetails.model.yml @@ -3,5 +3,5 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["org.springframework.security.core.userdetails", "User", False, "User", "(String, String, boolean, boolean, boolean, boolean, Collection)", "", "Argument[0]", "credential-other", "manual"] - - ["org.springframework.security.core.userdetails", "User", False, "User", "(String, String, boolean, boolean, boolean, boolean, Collection)", "", "Argument[1]", "credential-other", "manual"] + - ["org.springframework.security.core.userdetails", "User", False, "User", "(String,String,boolean,boolean,boolean,boolean,Collection)", "", "Argument[0]", "credential-other", "manual"] + - ["org.springframework.security.core.userdetails", "User", False, "User", "(String,String,boolean,boolean,boolean,boolean,Collection)", "", "Argument[1]", "credential-other", "manual"] diff --git a/java/ql/lib/ext/sun.jvmstat.perfdata.monitor.protocol.local.model.yml b/java/ql/lib/ext/sun.jvmstat.perfdata.monitor.protocol.local.model.yml index cf6cc77a0e788..6602a3f7f259b 100644 --- a/java/ql/lib/ext/sun.jvmstat.perfdata.monitor.protocol.local.model.yml +++ b/java/ql/lib/ext/sun.jvmstat.perfdata.monitor.protocol.local.model.yml @@ -4,5 +4,5 @@ extensions: extensible: sinkModel data: - ["sun.jvmstat.perfdata.monitor.protocol.local", "LocalVmManager", False, "LocalVmManager", "(String)", "", "Argument[0]", "credential-username", "manual"] - - ["sun.jvmstat.perfdata.monitor.protocol.local", "PerfDataFile", False, "getFile", "(String, int)", "", "Argument[0]", "credential-username", "manual"] + - ["sun.jvmstat.perfdata.monitor.protocol.local", "PerfDataFile", False, "getFile", "(String,int)", "", "Argument[0]", "credential-username", "manual"] - ["sun.jvmstat.perfdata.monitor.protocol.local", "PerfDataFile", False, "getTempDirectory", "(String)", "", "Argument[0]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/sun.jvmstat.perfdata.monitor.protocol.rmi.model.yml b/java/ql/lib/ext/sun.jvmstat.perfdata.monitor.protocol.rmi.model.yml index 3e11d49ae1a01..4e3ec8d3e9c09 100644 --- a/java/ql/lib/ext/sun.jvmstat.perfdata.monitor.protocol.rmi.model.yml +++ b/java/ql/lib/ext/sun.jvmstat.perfdata.monitor.protocol.rmi.model.yml @@ -3,4 +3,4 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.jvmstat.perfdata.monitor.protocol.rmi", "RemoteVmManager", False, "RemoteVmManager", "(RemoteHost, String)", "", "Argument[1]", "credential-username", "manual"] + - ["sun.jvmstat.perfdata.monitor.protocol.rmi", "RemoteVmManager", False, "RemoteVmManager", "(RemoteHost,String)", "", "Argument[1]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/sun.misc.model.yml b/java/ql/lib/ext/sun.misc.model.yml index 2c628ef5a2c92..75b71ca6c2850 100644 --- a/java/ql/lib/ext/sun.misc.model.yml +++ b/java/ql/lib/ext/sun.misc.model.yml @@ -3,6 +3,6 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.misc", "Perf", False, "attach", "(String, int, String)", "", "Argument[0]", "credential-username", "manual"] - - ["sun.misc", "Perf", False, "attach", "(String, int, int)", "", "Argument[0]", "credential-username", "manual"] - - ["sun.misc", "Perf", False, "attachImpl", "(String, int, int)", "", "Argument[0]", "credential-username", "manual"] + - ["sun.misc", "Perf", False, "attach", "(String,int,String)", "", "Argument[0]", "credential-username", "manual"] + - ["sun.misc", "Perf", False, "attach", "(String,int,int)", "", "Argument[0]", "credential-username", "manual"] + - ["sun.misc", "Perf", False, "attachImpl", "(String,int,int)", "", "Argument[0]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/sun.net.ftp.impl.model.yml b/java/ql/lib/ext/sun.net.ftp.impl.model.yml index ec0ba9ad08c78..175277b6dcd95 100644 --- a/java/ql/lib/ext/sun.net.ftp.impl.model.yml +++ b/java/ql/lib/ext/sun.net.ftp.impl.model.yml @@ -3,9 +3,9 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.net.ftp.impl", "FtpClient", False, "login", "(String, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.net.ftp.impl", "FtpClient", False, "login", "(String, char[], String)", "", "Argument[1]", "credential-password", "manual"] - - ["sun.net.ftp.impl", "FtpClient", False, "tryLogin", "(String, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.net.ftp.impl", "FtpClient", False, "login", "(String, char[])", "", "Argument[0]", "credential-username", "manual"] - - ["sun.net.ftp.impl", "FtpClient", False, "login", "(String, char[], String)", "", "Argument[0]", "credential-username", "manual"] - - ["sun.net.ftp.impl", "FtpClient", False, "tryLogin", "(String, char[])", "", "Argument[0]", "credential-username", "manual"] + - ["sun.net.ftp.impl", "FtpClient", False, "login", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.net.ftp.impl", "FtpClient", False, "login", "(String,char[],String)", "", "Argument[1]", "credential-password", "manual"] + - ["sun.net.ftp.impl", "FtpClient", False, "tryLogin", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.net.ftp.impl", "FtpClient", False, "login", "(String,char[])", "", "Argument[0]", "credential-username", "manual"] + - ["sun.net.ftp.impl", "FtpClient", False, "login", "(String,char[],String)", "", "Argument[0]", "credential-username", "manual"] + - ["sun.net.ftp.impl", "FtpClient", False, "tryLogin", "(String,char[])", "", "Argument[0]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/sun.net.ftp.model.yml b/java/ql/lib/ext/sun.net.ftp.model.yml index 5e2c3dd2a6e7d..34bec24c164ee 100644 --- a/java/ql/lib/ext/sun.net.ftp.model.yml +++ b/java/ql/lib/ext/sun.net.ftp.model.yml @@ -3,8 +3,8 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.net.ftp", "FtpClient", False, "login", "(String, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.net.ftp", "FtpClient", False, "login", "(String, char[], String)", "", "Argument[1]", "credential-password", "manual"] - - ["sun.net.ftp", "FtpClient", False, "login", "(String, char[])", "", "Argument[0]", "credential-username", "manual"] - - ["sun.net.ftp", "FtpClient", False, "login", "(String, char[], String)", "", "Argument[0]", "credential-username", "manual"] + - ["sun.net.ftp", "FtpClient", False, "login", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.net.ftp", "FtpClient", False, "login", "(String,char[],String)", "", "Argument[1]", "credential-password", "manual"] + - ["sun.net.ftp", "FtpClient", False, "login", "(String,char[])", "", "Argument[0]", "credential-username", "manual"] + - ["sun.net.ftp", "FtpClient", False, "login", "(String,char[],String)", "", "Argument[0]", "credential-username", "manual"] - ["sun.net.ftp", "FtpDirEntry", False, "setUser", "(String)", "", "Argument[0]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/sun.net.www.protocol.http.model.yml b/java/ql/lib/ext/sun.net.www.protocol.http.model.yml index 1dbebeee37d1d..7421d26932bce 100644 --- a/java/ql/lib/ext/sun.net.www.protocol.http.model.yml +++ b/java/ql/lib/ext/sun.net.www.protocol.http.model.yml @@ -3,6 +3,6 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.net.www.protocol.http", "DigestAuthentication", False, "computeDigest", "(boolean, String, char[], String, String, String, String, String, String)", "", "Argument[2]", "credential-password", "manual"] - - ["sun.net.www.protocol.http", "DigestAuthentication", False, "encode", "(String, char[], MessageDigest)", "", "Argument[1]", "credential-password", "manual"] - - ["sun.net.www.protocol.http", "DigestAuthentication", False, "computeDigest", "(boolean, String, char[], String, String, String, String, String, String)", "", "Argument[1]", "credential-username", "manual"] + - ["sun.net.www.protocol.http", "DigestAuthentication", False, "computeDigest", "", "", "Argument[2]", "credential-password", "manual"] + - ["sun.net.www.protocol.http", "DigestAuthentication", False, "encode", "", "", "Argument[1]", "credential-password", "manual"] + - ["sun.net.www.protocol.http", "DigestAuthentication", False, "computeDigest", "", "", "Argument[1]", "credential-username", "manual"] diff --git a/java/ql/lib/ext/sun.security.jgss.krb5.model.yml b/java/ql/lib/ext/sun.security.jgss.krb5.model.yml index 708d42a095aa4..4873fe6f61cd7 100644 --- a/java/ql/lib/ext/sun.security.jgss.krb5.model.yml +++ b/java/ql/lib/ext/sun.security.jgss.krb5.model.yml @@ -3,10 +3,10 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.security.jgss.krb5", "CipherHelper", False, "desCbcDecrypt", "(WrapToken, byte[], InputStream, int, byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.jgss.krb5", "CipherHelper", False, "desCbcDecrypt", "(WrapToken, byte[], byte[], int, int, byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.jgss.krb5", "CipherHelper", False, "getDesCbcChecksum", "(byte[], byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.jgss.krb5", "CipherHelper", False, "desCbcDecrypt", "(WrapToken,byte[],InputStream,int,byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.jgss.krb5", "CipherHelper", False, "desCbcDecrypt", "(WrapToken,byte[],byte[],int,int,byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.jgss.krb5", "CipherHelper", False, "getDesCbcChecksum", "(byte[],byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] - ["sun.security.jgss.krb5", "CipherHelper", False, "getDesEncryptionKey", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.jgss.krb5", "CipherHelper", False, "getInitializedDes", "(boolean, byte[], byte[])", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.jgss.krb5", "Krb5InitCredential", False, "Krb5InitCredential", "(Krb5NameElement, Credentials, byte[], KerberosPrincipal, KerberosPrincipal, byte[], int, boolean[], Date, Date, Date, Date, InetAddress[])", "", "Argument[5]", "crypto-parameter", "manual"] - - ["sun.security.jgss.krb5", "Krb5InitCredential", False, "Krb5InitCredential", "(Krb5NameElement, byte[], KerberosPrincipal, KerberosPrincipal, byte[], int, boolean[], Date, Date, Date, Date, InetAddress[])", "", "Argument[4]", "crypto-parameter", "manual"] + - ["sun.security.jgss.krb5", "CipherHelper", False, "getInitializedDes", "(boolean,byte[],byte[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.jgss.krb5", "Krb5InitCredential", False, "Krb5InitCredential", "(Krb5NameElement,Credentials,byte[],KerberosPrincipal,KerberosPrincipal,byte[],int,boolean[],Date,Date,Date,Date,InetAddress[])", "", "Argument[5]", "crypto-parameter", "manual"] + - ["sun.security.jgss.krb5", "Krb5InitCredential", False, "Krb5InitCredential", "(Krb5NameElement,byte[],KerberosPrincipal,KerberosPrincipal,byte[],int,boolean[],Date,Date,Date,Date,InetAddress[])", "", "Argument[4]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/sun.security.krb5.internal.crypto.dk.model.yml b/java/ql/lib/ext/sun.security.krb5.internal.crypto.dk.model.yml index d92377eec6bb3..68945c699343d 100644 --- a/java/ql/lib/ext/sun.security.krb5.internal.crypto.dk.model.yml +++ b/java/ql/lib/ext/sun.security.krb5.internal.crypto.dk.model.yml @@ -3,36 +3,36 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "stringToKey", "(char[], String, byte[])", "", "Argument[0]", "credential-password", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "stringToKey", "(char[],String,byte[])", "", "Argument[0]", "credential-password", "manual"] - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "stringToKey", "(char[])", "", "Argument[0]", "credential-password", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "calculateChecksum", "(byte[], int, byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "decrypt", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "decryptCTS", "(byte[], int, byte[], byte[], int, int, boolean)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "decryptRaw", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "encrypt", "(byte[], int, byte[], byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "encryptCTS", "(byte[], int, byte[], byte[], byte[], int, int, boolean)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "encryptRaw", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "getCipher", "(byte[], byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "getHmac", "(byte[], byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "calculateChecksum", "(byte[], int, byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "decrypt", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "decryptRaw", "(byte[], int, byte[], byte[], int, int, byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "decryptSeq", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "encrypt", "(byte[], int, byte[], byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "encryptRaw", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "encryptSeq", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "getCipher", "(byte[], byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "getHmac", "(byte[], byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "Des3DkCrypto", False, "getCipher", "(byte[], byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "Des3DkCrypto", False, "getHmac", "(byte[], byte[])", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "calculateChecksum", "(byte[],int,byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "decrypt", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "decryptCTS", "(byte[],int,byte[],byte[],int,int,boolean)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "decryptRaw", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "encrypt", "(byte[],int,byte[],byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "encryptCTS", "(byte[],int,byte[],byte[],byte[],int,int,boolean)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "encryptRaw", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "getCipher", "(byte[],byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "AesDkCrypto", False, "getHmac", "(byte[],byte[])", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "calculateChecksum", "(byte[],int,byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "decrypt", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "decryptRaw", "(byte[],int,byte[],byte[],int,int,byte[])", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "decryptSeq", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "encrypt", "(byte[],int,byte[],byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "encryptRaw", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "encryptSeq", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "getCipher", "(byte[],byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "ArcFourCrypto", False, "getHmac", "(byte[],byte[])", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "Des3DkCrypto", False, "getCipher", "(byte[],byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "Des3DkCrypto", False, "getHmac", "(byte[],byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - ["sun.security.krb5.internal.crypto.dk", "Des3DkCrypto", False, "keyCorrection", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - ["sun.security.krb5.internal.crypto.dk", "Des3DkCrypto", False, "setParityBit", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "calculateChecksum", "(byte[], int, byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "decrypt", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "decryptRaw", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "dk", "(byte[], byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "dr", "(byte[], byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "encrypt", "(byte[], int, byte[], byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "encryptRaw", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "getCipher", "(byte[], byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "getHmac", "(byte[], byte[])", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "calculateChecksum", "(byte[],int,byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "decrypt", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "decryptRaw", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "dk", "(byte[],byte[])", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "dr", "(byte[],byte[])", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "encrypt", "(byte[],int,byte[],byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "encryptRaw", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "getCipher", "(byte[],byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto.dk", "DkCrypto", False, "getHmac", "(byte[],byte[])", "", "Argument[0]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/sun.security.krb5.internal.crypto.model.yml b/java/ql/lib/ext/sun.security.krb5.internal.crypto.model.yml index 98720efafc437..ceb2616701817 100644 --- a/java/ql/lib/ext/sun.security.krb5.internal.crypto.model.yml +++ b/java/ql/lib/ext/sun.security.krb5.internal.crypto.model.yml @@ -3,86 +3,86 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.security.krb5.internal.crypto", "Aes128", False, "stringToKey", "(char[], String, byte[])", "", "Argument[0]", "credential-password", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes256", False, "stringToKey", "(char[], String, byte[])", "", "Argument[0]", "credential-password", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes128", False, "stringToKey", "(char[],String,byte[])", "", "Argument[0]", "credential-password", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes256", False, "stringToKey", "(char[],String,byte[])", "", "Argument[0]", "credential-password", "manual"] - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "stringToKey", "(char[])", "", "Argument[0]", "credential-password", "manual"] - ["sun.security.krb5.internal.crypto", "Des", False, "char_to_key", "(char[])", "", "Argument[0]", "credential-password", "manual"] - ["sun.security.krb5.internal.crypto", "Des", False, "string_to_key_bytes", "(char[])", "", "Argument[0]", "credential-password", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes128", False, "calculateChecksum", "(byte[], int, byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes128", False, "decrypt", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes128", False, "decryptRaw", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes128", False, "encrypt", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes128", False, "encryptRaw", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes128CtsHmacSha1EType", False, "decrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes128CtsHmacSha1EType", False, "decrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes128CtsHmacSha1EType", False, "encrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes128CtsHmacSha1EType", False, "encrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes256", False, "calculateChecksum", "(byte[], int, byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes256", False, "decrypt", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes256", False, "decryptRaw", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes256", False, "encrypt", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes256", False, "encryptRaw", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes256CtsHmacSha1EType", False, "decrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes256CtsHmacSha1EType", False, "decrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes256CtsHmacSha1EType", False, "encrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Aes256CtsHmacSha1EType", False, "encrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "calculateChecksum", "(byte[], int, byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "decrypt", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "decryptRaw", "(byte[], int, byte[], byte[], int, int, byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "decryptSeq", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "encrypt", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "encryptRaw", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "encryptSeq", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "ArcFourHmacEType", False, "decrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "ArcFourHmacEType", False, "decrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "ArcFourHmacEType", False, "encrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "ArcFourHmacEType", False, "encrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "CksumType", False, "calculateKeyedChecksum", "(byte[], int, byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "CksumType", False, "verifyKeyedChecksum", "(byte[], int, byte[], byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Crc32CksumType", False, "calculateKeyedChecksum", "(byte[], int, byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Crc32CksumType", False, "verifyKeyedChecksum", "(byte[], int, byte[], byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes128", False, "calculateChecksum", "(byte[],int,byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes128", False, "decrypt", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes128", False, "decryptRaw", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes128", False, "encrypt", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes128", False, "encryptRaw", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes128CtsHmacSha1EType", False, "decrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes128CtsHmacSha1EType", False, "decrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes128CtsHmacSha1EType", False, "encrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes128CtsHmacSha1EType", False, "encrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes256", False, "calculateChecksum", "(byte[],int,byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes256", False, "decrypt", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes256", False, "decryptRaw", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes256", False, "encrypt", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes256", False, "encryptRaw", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes256CtsHmacSha1EType", False, "decrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes256CtsHmacSha1EType", False, "decrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes256CtsHmacSha1EType", False, "encrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Aes256CtsHmacSha1EType", False, "encrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "calculateChecksum", "(byte[],int,byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "decrypt", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "decryptRaw", "(byte[],int,byte[],byte[],int,int,byte[])", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "decryptSeq", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "encrypt", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "encryptRaw", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "ArcFourHmac", False, "encryptSeq", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "ArcFourHmacEType", False, "decrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "ArcFourHmacEType", False, "decrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "ArcFourHmacEType", False, "encrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "ArcFourHmacEType", False, "encrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "CksumType", False, "calculateKeyedChecksum", "(byte[],int,byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "CksumType", False, "verifyKeyedChecksum", "(byte[],int,byte[],byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Crc32CksumType", False, "calculateKeyedChecksum", "(byte[],int,byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Crc32CksumType", False, "verifyKeyedChecksum", "(byte[],int,byte[],byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] - ["sun.security.krb5.internal.crypto", "Des", False, "bad_key", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Des", False, "cbc_encrypt", "(byte[], byte[], byte[], byte[], boolean)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Des", False, "des_cksum", "(byte[], byte[], byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Des", False, "cbc_encrypt", "(byte[],byte[],byte[],byte[],boolean)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Des", False, "des_cksum", "(byte[],byte[],byte[])", "", "Argument[2]", "crypto-parameter", "manual"] - ["sun.security.krb5.internal.crypto", "Des", False, "set_parity", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Des3", False, "calculateChecksum", "(byte[], int, byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Des3", False, "decrypt", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Des3", False, "decryptRaw", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Des3", False, "encrypt", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Des3", False, "encryptRaw", "(byte[], int, byte[], byte[], int, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Des3CbcHmacSha1KdEType", False, "decrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Des3CbcHmacSha1KdEType", False, "decrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Des3CbcHmacSha1KdEType", False, "encrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "Des3CbcHmacSha1KdEType", False, "encrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "DesCbcCrcEType", False, "decrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "DesCbcCrcEType", False, "encrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "DesCbcEType", False, "decrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "DesCbcEType", False, "decrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "DesCbcEType", False, "encrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "DesCbcEType", False, "encrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "DesMacCksumType", False, "calculateKeyedChecksum", "(byte[], int, byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "DesMacCksumType", False, "decryptKeyedChecksum", "(byte[], byte[])", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "DesMacCksumType", False, "verifyKeyedChecksum", "(byte[], int, byte[], byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "DesMacKCksumType", False, "calculateKeyedChecksum", "(byte[], int, byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "DesMacKCksumType", False, "verifyKeyedChecksum", "(byte[], int, byte[], byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "EType", False, "decrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "EType", False, "decrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "EType", False, "encrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "EType", False, "encrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "HmacMd5ArcFourCksumType", False, "calculateKeyedChecksum", "(byte[], int, byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "HmacMd5ArcFourCksumType", False, "verifyKeyedChecksum", "(byte[], int, byte[], byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "HmacSha1Aes128CksumType", False, "calculateKeyedChecksum", "(byte[], int, byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "HmacSha1Aes128CksumType", False, "verifyKeyedChecksum", "(byte[], int, byte[], byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "HmacSha1Aes256CksumType", False, "calculateKeyedChecksum", "(byte[], int, byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "HmacSha1Aes256CksumType", False, "verifyKeyedChecksum", "(byte[], int, byte[], byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "HmacSha1Des3KdCksumType", False, "calculateKeyedChecksum", "(byte[], int, byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "HmacSha1Des3KdCksumType", False, "verifyKeyedChecksum", "(byte[], int, byte[], byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "NullEType", False, "decrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "NullEType", False, "decrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "NullEType", False, "encrypt", "(byte[], byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "NullEType", False, "encrypt", "(byte[], byte[], int)", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "RsaMd5CksumType", False, "calculateKeyedChecksum", "(byte[], int, byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "RsaMd5CksumType", False, "verifyKeyedChecksum", "(byte[], int, byte[], byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "RsaMd5DesCksumType", False, "calculateKeyedChecksum", "(byte[], int, byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "RsaMd5DesCksumType", False, "decryptKeyedChecksum", "(byte[], byte[])", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.krb5.internal.crypto", "RsaMd5DesCksumType", False, "verifyKeyedChecksum", "(byte[], int, byte[], byte[], int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Des3", False, "calculateChecksum", "(byte[],int,byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Des3", False, "decrypt", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Des3", False, "decryptRaw", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Des3", False, "encrypt", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Des3", False, "encryptRaw", "(byte[],int,byte[],byte[],int,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Des3CbcHmacSha1KdEType", False, "decrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Des3CbcHmacSha1KdEType", False, "decrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Des3CbcHmacSha1KdEType", False, "encrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "Des3CbcHmacSha1KdEType", False, "encrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "DesCbcCrcEType", False, "decrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "DesCbcCrcEType", False, "encrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "DesCbcEType", False, "decrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "DesCbcEType", False, "decrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "DesCbcEType", False, "encrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "DesCbcEType", False, "encrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "DesMacCksumType", False, "calculateKeyedChecksum", "(byte[],int,byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "DesMacCksumType", False, "decryptKeyedChecksum", "(byte[],byte[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "DesMacCksumType", False, "verifyKeyedChecksum", "(byte[],int,byte[],byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "DesMacKCksumType", False, "calculateKeyedChecksum", "(byte[],int,byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "DesMacKCksumType", False, "verifyKeyedChecksum", "(byte[],int,byte[],byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "EType", False, "decrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "EType", False, "decrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "EType", False, "encrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "EType", False, "encrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "HmacMd5ArcFourCksumType", False, "calculateKeyedChecksum", "(byte[],int,byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "HmacMd5ArcFourCksumType", False, "verifyKeyedChecksum", "(byte[],int,byte[],byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "HmacSha1Aes128CksumType", False, "calculateKeyedChecksum", "(byte[],int,byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "HmacSha1Aes128CksumType", False, "verifyKeyedChecksum", "(byte[],int,byte[],byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "HmacSha1Aes256CksumType", False, "calculateKeyedChecksum", "(byte[],int,byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "HmacSha1Aes256CksumType", False, "verifyKeyedChecksum", "(byte[],int,byte[],byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "HmacSha1Des3KdCksumType", False, "calculateKeyedChecksum", "(byte[],int,byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "HmacSha1Des3KdCksumType", False, "verifyKeyedChecksum", "(byte[],int,byte[],byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "NullEType", False, "decrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "NullEType", False, "decrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "NullEType", False, "encrypt", "(byte[],byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "NullEType", False, "encrypt", "(byte[],byte[],int)", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "RsaMd5CksumType", False, "calculateKeyedChecksum", "(byte[],int,byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "RsaMd5CksumType", False, "verifyKeyedChecksum", "(byte[],int,byte[],byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "RsaMd5DesCksumType", False, "calculateKeyedChecksum", "(byte[],int,byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "RsaMd5DesCksumType", False, "decryptKeyedChecksum", "(byte[],byte[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5.internal.crypto", "RsaMd5DesCksumType", False, "verifyKeyedChecksum", "(byte[],int,byte[],byte[],int)", "", "Argument[2]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/sun.security.krb5.model.yml b/java/ql/lib/ext/sun.security.krb5.model.yml index 597525940ceb4..8d41c0fc6753a 100644 --- a/java/ql/lib/ext/sun.security.krb5.model.yml +++ b/java/ql/lib/ext/sun.security.krb5.model.yml @@ -3,12 +3,12 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.security.krb5", "EncryptionKey", False, "EncryptionKey", "(char[], String, String)", "", "Argument[0]", "credential-password", "manual"] - - ["sun.security.krb5", "EncryptionKey", False, "acquireSecretKey", "(PrincipalName, char[], int, SaltAndParams)", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.krb5", "EncryptionKey", False, "acquireSecretKey", "(char[], String, int, byte[])", "", "Argument[0]", "credential-password", "manual"] - - ["sun.security.krb5", "EncryptionKey", False, "acquireSecretKeys", "(char[], String)", "", "Argument[0]", "credential-password", "manual"] - - ["sun.security.krb5", "EncryptionKey", False, "stringToKey", "(char[], String, byte[], int)", "", "Argument[0]", "credential-password", "manual"] - - ["sun.security.krb5", "KrbAsRep", False, "decryptUsingPassword", "(char[], KrbAsReq, PrincipalName)", "", "Argument[0]", "credential-password", "manual"] - - ["sun.security.krb5", "Credentials", False, "Credentials", "(byte[], String, String, byte[], int, boolean[], Date, Date, Date, Date, InetAddress[])", "", "Argument[3]", "crypto-parameter", "manual"] - - ["sun.security.krb5", "EncryptionKey", False, "EncryptionKey", "(byte[], int, Integer)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.krb5", "EncryptionKey", False, "EncryptionKey", "(int, byte[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.krb5", "EncryptionKey", False, "EncryptionKey", "(char[],String,String)", "", "Argument[0]", "credential-password", "manual"] + - ["sun.security.krb5", "EncryptionKey", False, "acquireSecretKey", "(PrincipalName,char[],int,SaltAndParams)", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.krb5", "EncryptionKey", False, "acquireSecretKey", "(char[],String,int,byte[])", "", "Argument[0]", "credential-password", "manual"] + - ["sun.security.krb5", "EncryptionKey", False, "acquireSecretKeys", "(char[],String)", "", "Argument[0]", "credential-password", "manual"] + - ["sun.security.krb5", "EncryptionKey", False, "stringToKey", "(char[],String,byte[],int)", "", "Argument[0]", "credential-password", "manual"] + - ["sun.security.krb5", "KrbAsRep", False, "decryptUsingPassword", "(char[],KrbAsReq,PrincipalName)", "", "Argument[0]", "credential-password", "manual"] + - ["sun.security.krb5", "Credentials", False, "Credentials", "(byte[],String,String,byte[],int,boolean[],Date,Date,Date,Date,InetAddress[])", "", "Argument[3]", "crypto-parameter", "manual"] + - ["sun.security.krb5", "EncryptionKey", False, "EncryptionKey", "(byte[],int,Integer)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.krb5", "EncryptionKey", False, "EncryptionKey", "(int,byte[])", "", "Argument[1]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/sun.security.pkcs.model.yml b/java/ql/lib/ext/sun.security.pkcs.model.yml index 544c72d1643b9..193137d550612 100644 --- a/java/ql/lib/ext/sun.security.pkcs.model.yml +++ b/java/ql/lib/ext/sun.security.pkcs.model.yml @@ -3,7 +3,7 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.security.pkcs", "PKCS8Key", False, "PKCS8Key", "(AlgorithmId, byte[])", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.pkcs", "PKCS8Key", False, "buildPKCS8Key", "(AlgorithmId, byte[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.pkcs", "PKCS8Key", False, "PKCS8Key", "(AlgorithmId,byte[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.pkcs", "PKCS8Key", False, "buildPKCS8Key", "(AlgorithmId,byte[])", "", "Argument[1]", "crypto-parameter", "manual"] - ["sun.security.pkcs", "PKCS8Key", False, "decode", "(byte[])", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.pkcs", "PKCS8Key", False, "encode", "(DerOutputStream, AlgorithmId, byte[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.pkcs", "PKCS8Key", False, "encode", "(DerOutputStream,AlgorithmId,byte[])", "", "Argument[2]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/sun.security.pkcs11.model.yml b/java/ql/lib/ext/sun.security.pkcs11.model.yml index 63bf60971b044..5d45ad93f4bd6 100644 --- a/java/ql/lib/ext/sun.security.pkcs11.model.yml +++ b/java/ql/lib/ext/sun.security.pkcs11.model.yml @@ -3,16 +3,16 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.security.pkcs11", "P11KeyStore", False, "engineGetKey", "(String, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.pkcs11", "P11KeyStore", False, "engineLoad", "(InputStream, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.pkcs11", "P11KeyStore", False, "engineSetKeyEntry", "(String, Key, char[], Certificate[])", "", "Argument[2]", "credential-password", "manual"] - - ["sun.security.pkcs11", "P11KeyStore", False, "engineStore", "(OutputStream, char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.pkcs11", "P11KeyStore", False, "engineGetKey", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.pkcs11", "P11KeyStore", False, "engineLoad", "(InputStream,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.pkcs11", "P11KeyStore", False, "engineSetKeyEntry", "(String,Key,char[],Certificate[])", "", "Argument[2]", "credential-password", "manual"] + - ["sun.security.pkcs11", "P11KeyStore", False, "engineStore", "(OutputStream,char[])", "", "Argument[1]", "credential-password", "manual"] - ["sun.security.pkcs11", "P11KeyStore$PasswordCallbackHandler", False, "PasswordCallbackHandler", "(char[])", "", "Argument[0]", "credential-password", "manual"] - - ["sun.security.pkcs11", "Secmod$KeyStoreLoadParameter", False, "KeyStoreLoadParameter", "(TrustType, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.pkcs11", "ConstructKeys", False, "constructPrivateKey", "(byte[], String)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.pkcs11", "ConstructKeys", False, "constructPublicKey", "(byte[], String)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.pkcs11", "ConstructKeys", False, "constructSecretKey", "(byte[], String)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.pkcs11", "P11Cipher", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.pkcs11", "P11KeyStore", False, "engineSetKeyEntry", "(String, byte[], Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.pkcs11", "P11RSACipher", False, "engineUnwrap", "(byte[], String, int)", "", "Argument[0]", "crypto-parameter", "manual"] - - ["sun.security.pkcs11", "P11SecretKeyFactory", False, "fixDESParity", "(byte[], int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.pkcs11", "Secmod$KeyStoreLoadParameter", False, "KeyStoreLoadParameter", "(TrustType,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.pkcs11", "ConstructKeys", False, "constructPrivateKey", "(byte[],String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.pkcs11", "ConstructKeys", False, "constructPublicKey", "(byte[],String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.pkcs11", "ConstructKeys", False, "constructSecretKey", "(byte[],String)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.pkcs11", "P11Cipher", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.pkcs11", "P11KeyStore", False, "engineSetKeyEntry", "(String,byte[],Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.pkcs11", "P11RSACipher", False, "engineUnwrap", "(byte[],String,int)", "", "Argument[0]", "crypto-parameter", "manual"] + - ["sun.security.pkcs11", "P11SecretKeyFactory", False, "fixDESParity", "(byte[],int)", "", "Argument[0]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/sun.security.pkcs12.model.yml b/java/ql/lib/ext/sun.security.pkcs12.model.yml index 18e6851404ed5..0d4672c8d01f8 100644 --- a/java/ql/lib/ext/sun.security.pkcs12.model.yml +++ b/java/ql/lib/ext/sun.security.pkcs12.model.yml @@ -3,13 +3,13 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.security.pkcs12", "PKCS12KeyStore", False, "calculateMac", "(char[], byte[])", "", "Argument[0]", "credential-password", "manual"] + - ["sun.security.pkcs12", "PKCS12KeyStore", False, "calculateMac", "(char[],byte[])", "", "Argument[0]", "credential-password", "manual"] - ["sun.security.pkcs12", "PKCS12KeyStore", False, "createEncryptedData", "(char[])", "", "Argument[0]", "credential-password", "manual"] - - ["sun.security.pkcs12", "PKCS12KeyStore", False, "encryptContent", "(byte[], char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.pkcs12", "PKCS12KeyStore", False, "engineGetKey", "(String, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.pkcs12", "PKCS12KeyStore", False, "engineLoad", "(InputStream, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.pkcs12", "PKCS12KeyStore", False, "engineSetKeyEntry", "(String, Key, char[], Certificate[])", "", "Argument[2]", "credential-password", "manual"] - - ["sun.security.pkcs12", "PKCS12KeyStore", False, "engineStore", "(OutputStream, char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.pkcs12", "PKCS12KeyStore", False, "encryptContent", "(byte[],char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.pkcs12", "PKCS12KeyStore", False, "engineGetKey", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.pkcs12", "PKCS12KeyStore", False, "engineLoad", "(InputStream,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.pkcs12", "PKCS12KeyStore", False, "engineSetKeyEntry", "(String,Key,char[],Certificate[])", "", "Argument[2]", "credential-password", "manual"] + - ["sun.security.pkcs12", "PKCS12KeyStore", False, "engineStore", "(OutputStream,char[])", "", "Argument[1]", "credential-password", "manual"] - ["sun.security.pkcs12", "PKCS12KeyStore", False, "getPBEKey", "(char[])", "", "Argument[0]", "credential-password", "manual"] - - ["sun.security.pkcs12", "PKCS12KeyStore", False, "loadSafeContents", "(DerInputStream, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.pkcs12", "PKCS12KeyStore", False, "engineSetKeyEntry", "(String, byte[], Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.pkcs12", "PKCS12KeyStore", False, "loadSafeContents", "(DerInputStream,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.pkcs12", "PKCS12KeyStore", False, "engineSetKeyEntry", "(String,byte[],Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/sun.security.provider.model.yml b/java/ql/lib/ext/sun.security.provider.model.yml index a0579cf23da2e..301289913c51b 100644 --- a/java/ql/lib/ext/sun.security.provider.model.yml +++ b/java/ql/lib/ext/sun.security.provider.model.yml @@ -3,15 +3,15 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.security.provider", "DomainKeyStore", False, "engineGetKey", "(String, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.provider", "DomainKeyStore", False, "engineLoad", "(InputStream, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.provider", "DomainKeyStore", False, "engineSetKeyEntry", "(String, Key, char[], Certificate[])", "", "Argument[2]", "credential-password", "manual"] - - ["sun.security.provider", "DomainKeyStore", False, "engineStore", "(OutputStream, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.provider", "JavaKeyStore", False, "engineGetKey", "(String, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.provider", "JavaKeyStore", False, "engineLoad", "(InputStream, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.provider", "JavaKeyStore", False, "engineSetKeyEntry", "(String, Key, char[], Certificate[])", "", "Argument[2]", "credential-password", "manual"] - - ["sun.security.provider", "JavaKeyStore", False, "engineStore", "(OutputStream, char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.provider", "DomainKeyStore", False, "engineGetKey", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.provider", "DomainKeyStore", False, "engineLoad", "(InputStream,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.provider", "DomainKeyStore", False, "engineSetKeyEntry", "(String,Key,char[],Certificate[])", "", "Argument[2]", "credential-password", "manual"] + - ["sun.security.provider", "DomainKeyStore", False, "engineStore", "(OutputStream,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.provider", "JavaKeyStore", False, "engineGetKey", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.provider", "JavaKeyStore", False, "engineLoad", "(InputStream,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.provider", "JavaKeyStore", False, "engineSetKeyEntry", "(String,Key,char[],Certificate[])", "", "Argument[2]", "credential-password", "manual"] + - ["sun.security.provider", "JavaKeyStore", False, "engineStore", "(OutputStream,char[])", "", "Argument[1]", "credential-password", "manual"] - ["sun.security.provider", "JavaKeyStore", False, "getPreKeyedHash", "(char[])", "", "Argument[0]", "credential-password", "manual"] - ["sun.security.provider", "KeyProtector", False, "KeyProtector", "(char[])", "", "Argument[0]", "credential-password", "manual"] - - ["sun.security.provider", "DomainKeyStore", False, "engineSetKeyEntry", "(String, byte[], Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] - - ["sun.security.provider", "JavaKeyStore", False, "engineSetKeyEntry", "(String, byte[], Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.provider", "DomainKeyStore", False, "engineSetKeyEntry", "(String,byte[],Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] + - ["sun.security.provider", "JavaKeyStore", False, "engineSetKeyEntry", "(String,byte[],Certificate[])", "", "Argument[1]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/sun.security.ssl.model.yml b/java/ql/lib/ext/sun.security.ssl.model.yml index 3700ac633c254..e51d7a0689bc6 100644 --- a/java/ql/lib/ext/sun.security.ssl.model.yml +++ b/java/ql/lib/ext/sun.security.ssl.model.yml @@ -3,6 +3,6 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.security.ssl", "KeyManagerFactoryImpl$SunX509", False, "engineInit", "(KeyStore, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.ssl", "KeyManagerFactoryImpl$X509", False, "engineInit", "(KeyStore, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.ssl", "SunX509KeyManagerImpl", False, "SunX509KeyManagerImpl", "(KeyStore, char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.ssl", "KeyManagerFactoryImpl$SunX509", False, "engineInit", "(KeyStore,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.ssl", "KeyManagerFactoryImpl$X509", False, "engineInit", "(KeyStore,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.ssl", "SunX509KeyManagerImpl", False, "SunX509KeyManagerImpl", "(KeyStore,char[])", "", "Argument[1]", "credential-password", "manual"] diff --git a/java/ql/lib/ext/sun.security.tools.keytool.model.yml b/java/ql/lib/ext/sun.security.tools.keytool.model.yml index 2446c160b8b4c..bebd9163bca50 100644 --- a/java/ql/lib/ext/sun.security.tools.keytool.model.yml +++ b/java/ql/lib/ext/sun.security.tools.keytool.model.yml @@ -3,6 +3,6 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.security.tools.keytool", "Main", False, "getNewPasswd", "(String, char[])", "", "Argument[1]", "credential-password", "manual"] - - ["sun.security.tools.keytool", "Main", False, "getKeyPasswd", "(String, String, char[])", "", "Argument[2]", "crypto-parameter", "manual"] - - ["sun.security.tools.keytool", "Main", False, "recoverKey", "(String, char[], char[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.tools.keytool", "Main", False, "getNewPasswd", "(String,char[])", "", "Argument[1]", "credential-password", "manual"] + - ["sun.security.tools.keytool", "Main", False, "getKeyPasswd", "(String,String,char[])", "", "Argument[2]", "crypto-parameter", "manual"] + - ["sun.security.tools.keytool", "Main", False, "recoverKey", "(String,char[],char[])", "", "Argument[2]", "crypto-parameter", "manual"] diff --git a/java/ql/lib/ext/sun.tools.jconsole.model.yml b/java/ql/lib/ext/sun.tools.jconsole.model.yml index d5cd1320ec5fa..17e340fdee227 100644 --- a/java/ql/lib/ext/sun.tools.jconsole.model.yml +++ b/java/ql/lib/ext/sun.tools.jconsole.model.yml @@ -3,31 +3,31 @@ extensions: pack: codeql/java-all extensible: sinkModel data: - - ["sun.tools.jconsole", "ConnectDialog", False, "setConnectionParameters", "(String, String, int, String, String, String)", "", "Argument[4]", "credential-password", "manual"] - - ["sun.tools.jconsole", "JConsole", False, "addHost", "(String, int, String, String)", "", "Argument[3]", "credential-password", "manual"] - - ["sun.tools.jconsole", "JConsole", False, "addHost", "(String, int, String, String, boolean)", "", "Argument[3]", "credential-password", "manual"] - - ["sun.tools.jconsole", "JConsole", False, "addUrl", "(String, String, String, boolean)", "", "Argument[2]", "credential-password", "manual"] - - ["sun.tools.jconsole", "JConsole", False, "failed", "(Exception, String, String, String)", "", "Argument[3]", "credential-password", "manual"] - - ["sun.tools.jconsole", "JConsole", False, "showConnectDialog", "(String, String, int, String, String, String)", "", "Argument[4]", "credential-password", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "ProxyClient", "(String, String, String)", "", "Argument[2]", "credential-password", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "ProxyClient", "(String, int, String, String)", "", "Argument[3]", "credential-password", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "getCacheKey", "(String, String, String)", "", "Argument[2]", "credential-password", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "getCacheKey", "(String, int, String, String)", "", "Argument[3]", "credential-password", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "getProxyClient", "(String, String, String)", "", "Argument[2]", "credential-password", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "getProxyClient", "(String, int, String, String)", "", "Argument[3]", "credential-password", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "setParameters", "(JMXServiceURL, String, String)", "", "Argument[2]", "credential-password", "manual"] - - ["sun.tools.jconsole", "ConnectDialog", False, "setConnectionParameters", "(String, String, int, String, String, String)", "", "Argument[3]", "credential-username", "manual"] - - ["sun.tools.jconsole", "JConsole", False, "addHost", "(String, int, String, String)", "", "Argument[2]", "credential-username", "manual"] - - ["sun.tools.jconsole", "JConsole", False, "addHost", "(String, int, String, String, boolean)", "", "Argument[2]", "credential-username", "manual"] - - ["sun.tools.jconsole", "JConsole", False, "addUrl", "(String, String, String, boolean)", "", "Argument[1]", "credential-username", "manual"] - - ["sun.tools.jconsole", "JConsole", False, "failed", "(Exception, String, String, String)", "", "Argument[2]", "credential-username", "manual"] - - ["sun.tools.jconsole", "JConsole", False, "showConnectDialog", "(String, String, int, String, String, String)", "", "Argument[3]", "credential-username", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "ProxyClient", "(String, String, String)", "", "Argument[1]", "credential-username", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "ProxyClient", "(String, int, String, String)", "", "Argument[2]", "credential-username", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "getCacheKey", "(String, String, String)", "", "Argument[1]", "credential-username", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "getCacheKey", "(String, int, String, String)", "", "Argument[2]", "credential-username", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "getConnectionName", "(String, String)", "", "Argument[1]", "credential-username", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "getConnectionName", "(String, int, String)", "", "Argument[2]", "credential-username", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "getProxyClient", "(String, String, String)", "", "Argument[1]", "credential-username", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "getProxyClient", "(String, int, String, String)", "", "Argument[2]", "credential-username", "manual"] - - ["sun.tools.jconsole", "ProxyClient", False, "setParameters", "(JMXServiceURL, String, String)", "", "Argument[1]", "credential-username", "manual"] + - ["sun.tools.jconsole", "ConnectDialog", False, "setConnectionParameters", "(String,String,int,String,String,String)", "", "Argument[4]", "credential-password", "manual"] + - ["sun.tools.jconsole", "JConsole", False, "addHost", "(String,int,String,String)", "", "Argument[3]", "credential-password", "manual"] + - ["sun.tools.jconsole", "JConsole", False, "addHost", "(String,int,String,String,boolean)", "", "Argument[3]", "credential-password", "manual"] + - ["sun.tools.jconsole", "JConsole", False, "addUrl", "(String,String,String,boolean)", "", "Argument[2]", "credential-password", "manual"] + - ["sun.tools.jconsole", "JConsole", False, "failed", "(Exception,String,String,String)", "", "Argument[3]", "credential-password", "manual"] + - ["sun.tools.jconsole", "JConsole", False, "showConnectDialog", "(String,String,int,String,String,String)", "", "Argument[4]", "credential-password", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "ProxyClient", "(String,String,String)", "", "Argument[2]", "credential-password", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "ProxyClient", "(String,int,String,String)", "", "Argument[3]", "credential-password", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "getCacheKey", "(String,String,String)", "", "Argument[2]", "credential-password", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "getCacheKey", "(String,int,String,String)", "", "Argument[3]", "credential-password", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "getProxyClient", "(String,String,String)", "", "Argument[2]", "credential-password", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "getProxyClient", "(String,int,String,String)", "", "Argument[3]", "credential-password", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "setParameters", "(JMXServiceURL,String,String)", "", "Argument[2]", "credential-password", "manual"] + - ["sun.tools.jconsole", "ConnectDialog", False, "setConnectionParameters", "(String,String,int,String,String,String)", "", "Argument[3]", "credential-username", "manual"] + - ["sun.tools.jconsole", "JConsole", False, "addHost", "(String,int,String,String)", "", "Argument[2]", "credential-username", "manual"] + - ["sun.tools.jconsole", "JConsole", False, "addHost", "(String,int,String,String,boolean)", "", "Argument[2]", "credential-username", "manual"] + - ["sun.tools.jconsole", "JConsole", False, "addUrl", "(String,String,String,boolean)", "", "Argument[1]", "credential-username", "manual"] + - ["sun.tools.jconsole", "JConsole", False, "failed", "(Exception,String,String,String)", "", "Argument[2]", "credential-username", "manual"] + - ["sun.tools.jconsole", "JConsole", False, "showConnectDialog", "(String,String,int,String,String,String)", "", "Argument[3]", "credential-username", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "ProxyClient", "(String,String,String)", "", "Argument[1]", "credential-username", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "ProxyClient", "(String,int,String,String)", "", "Argument[2]", "credential-username", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "getCacheKey", "(String,String,String)", "", "Argument[1]", "credential-username", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "getCacheKey", "(String,int,String,String)", "", "Argument[2]", "credential-username", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "getConnectionName", "(String,String)", "", "Argument[1]", "credential-username", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "getConnectionName", "(String,int,String)", "", "Argument[2]", "credential-username", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "getProxyClient", "(String,String,String)", "", "Argument[1]", "credential-username", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "getProxyClient", "(String,int,String,String)", "", "Argument[2]", "credential-username", "manual"] + - ["sun.tools.jconsole", "ProxyClient", False, "setParameters", "(JMXServiceURL,String,String)", "", "Argument[1]", "credential-username", "manual"]