This commit is contained in:
Nicolas Will
2025-01-24 17:33:03 +01:00
parent 395d54bf86
commit 1a7d8cb99d
6 changed files with 290 additions and 54 deletions

View File

@@ -0,0 +1,17 @@
/**
* @name "PQC Test"
* @kind graph
*/
import experimental.Quantum.Language
query predicate nodes(Crypto::NodeBase node) { any() }
query predicate edges(Crypto::NodeBase source, Crypto::NodeBase target, string key, string value) {
target = source.getChild(value) and
key = "semmle.label"
}
query predicate graphProperties(string key, string value) {
key = "semmle.graphKind" and value = "tree"
}

View File

@@ -0,0 +1,8 @@
/**
* @name "PQC Test"
*/
import experimental.Quantum.Language
from Crypto::KeyDerivationAlgorithm n
select n