Crypto: ql-for-ql alert fixes.

This commit is contained in:
REDMOND\brodes
2025-10-21 10:32:00 -04:00
parent 22c0f9fa91
commit c50175bc9b
3 changed files with 2 additions and 4 deletions

View File

@@ -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()
)
}

View File

@@ -9,7 +9,6 @@
*/
import java
import experimental.quantum.Language
import ArtifactFlow::PathGraph
import BadMacOrder

View File

@@ -9,7 +9,6 @@
*/
import java
import experimental.quantum.Language
import BadMacOrder
import PlaintextUseAsMacAndCipherInputFlow::PathGraph