mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
ConceptsShared: Add deprecated DataFlow::Node CryptographicOperation#getInput() predicate
This commit is contained in:
@@ -43,6 +43,9 @@ module Cryptography {
|
||||
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
|
||||
DataFlow::Node getAnInput() { result = super.getAnInput() }
|
||||
|
||||
/** DEPRECATED. This predicate has been renamed to `getAnInput`. */
|
||||
deprecated final DataFlow::Node getInput() { result = super.getInput() }
|
||||
|
||||
/**
|
||||
* Gets the block mode used to perform this cryptographic operation.
|
||||
* This may have no result - for example if the `CryptographicAlgorithm` used
|
||||
@@ -67,6 +70,9 @@ module Cryptography {
|
||||
/** Gets an input the algorithm is used on, for example the plain text input to be encrypted. */
|
||||
abstract DataFlow::Node getAnInput();
|
||||
|
||||
/** DEPRECATED. This predicate has been renamed to `getAnInput`. */
|
||||
deprecated final DataFlow::Node getInput() { result = this.getAnInput() }
|
||||
|
||||
/**
|
||||
* Gets the block mode used to perform this cryptographic operation.
|
||||
* This may have no result - for example if the `CryptographicAlgorithm` used
|
||||
|
||||
Reference in New Issue
Block a user