mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
remove commented-out 3 configs
This commit is contained in:
@@ -14,35 +14,9 @@ class KeySizeConfiguration extends DataFlow::Configuration {
|
||||
|
||||
override predicate isSource(DataFlow::Node source, DataFlow::FlowState state) {
|
||||
source.(InsufficientKeySizeSource).hasState(state)
|
||||
//source instanceof InsufficientKeySizeSource
|
||||
}
|
||||
|
||||
override predicate isSink(DataFlow::Node sink, DataFlow::FlowState state) {
|
||||
sink.(InsufficientKeySizeSink).hasState(state)
|
||||
//sink instanceof InsufficientKeySizeSink
|
||||
}
|
||||
}
|
||||
// /**
|
||||
// * A data flow configuration for tracking non-elliptic curve asymmetric algorithm
|
||||
// * (RSA, DSA, and DH) key sizes.
|
||||
// */
|
||||
// class AsymmetricNonECKeyTrackingConfiguration extends DataFlow::Configuration {
|
||||
// AsymmetricNonECKeyTrackingConfiguration() { this = "AsymmetricNonECKeyTrackingConfiguration" }
|
||||
// override predicate isSource(DataFlow::Node source) { source instanceof AsymmetricNonECSource }
|
||||
// override predicate isSink(DataFlow::Node sink) { sink instanceof AsymmetricNonECSink }
|
||||
// }
|
||||
// /**
|
||||
// * A data flow configuration for tracking elliptic curve (EC) asymmetric
|
||||
// * algorithm key sizes.
|
||||
// */
|
||||
// class AsymmetricECKeyTrackingConfiguration extends DataFlow::Configuration {
|
||||
// AsymmetricECKeyTrackingConfiguration() { this = "AsymmetricECKeyTrackingConfiguration" }
|
||||
// override predicate isSource(DataFlow::Node source) { source instanceof AsymmetricECSource }
|
||||
// override predicate isSink(DataFlow::Node sink) { sink instanceof AsymmetricECSink }
|
||||
// }
|
||||
// /** A data flow configuration for tracking symmetric algorithm (AES) key sizes. */
|
||||
// class SymmetricKeyTrackingConfiguration extends DataFlow::Configuration {
|
||||
// SymmetricKeyTrackingConfiguration() { this = "SymmetricKeyTrackingConfiguration" }
|
||||
// override predicate isSource(DataFlow::Node source) { source instanceof SymmetricSource }
|
||||
// override predicate isSink(DataFlow::Node sink) { sink instanceof SymmetricSink }
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user