mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Crypto: ql-for-ql alert fixes.
This commit is contained in:
@@ -18,8 +18,8 @@ predicate isDecryptToMacFlow(ArtifactFlow::PathNode src, ArtifactFlow::PathNode
|
||||
}
|
||||
|
||||
predicate isDecryptToMacNode(Crypto::ArtifactNode node) {
|
||||
exists(ArtifactFlow::PathNode src, ArtifactFlow::PathNode sink |
|
||||
isDecryptToMacFlow(src, sink) and
|
||||
exists(ArtifactFlow::PathNode src |
|
||||
isDecryptToMacFlow(src, _) and
|
||||
node.asElement() = src.getNode().asExpr()
|
||||
)
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
import java
|
||||
import experimental.quantum.Language
|
||||
import ArtifactFlow::PathGraph
|
||||
import BadMacOrder
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
import java
|
||||
import experimental.quantum.Language
|
||||
import BadMacOrder
|
||||
import PlaintextUseAsMacAndCipherInputFlow::PathGraph
|
||||
|
||||
|
||||
Reference in New Issue
Block a user