Skip to content

Commit 98e0b64

Browse files
committed
Rust: Make QL-for-QL happy.
1 parent 787a6d1 commit 98e0b64

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

rust/ql/src/queries/summary/CryptographicOperations.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ string describeAlgorithm(Cryptography::CryptographicAlgorithm alg) {
3838
}
3939

4040
/**
41-
* Gets a feature of cryptographic operation `operation`.
41+
* Gets a feature of cryptographic operation `op`.
4242
*/
4343
string getOperationFeature(Cryptography::CryptographicOperation op) {
4444
result = "inputs:" + strictcount(op.getAnInput()).toString() or
4545
result = "blockmodes:" + strictcount(op.getBlockMode()).toString()
4646
}
4747

4848
/**
49-
* Gets a description of cryptographic operation `operation`.
49+
* Gets a description of cryptographic operation `op`.
5050
*/
5151
string describeOperation(Cryptography::CryptographicOperation op) {
5252
result = describeAlgorithm(op.getAlgorithm()) + " " + concat(getOperationFeature(op), ", ")

rust/ql/src/queries/summary/QuerySinks.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ import codeql.rust.dataflow.DataFlow
1414
import Stats
1515

1616
from DataFlow::Node n
17-
select n, "sink for " + strictconcat(getAQuerySinkKind(n), ", ")
17+
select n, "Sink for " + strictconcat(getAQuerySinkKind(n), ", ")

rust/ql/src/queries/summary/TaintReach.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ private import codeql.rust.dataflow.DataFlow
99
private import codeql.rust.dataflow.TaintTracking
1010

1111
/**
12-
* A taint configuration for taint reach (flow to any node from any modelled source).
12+
* A taint configuration for taint reach (flow to any node from any modeled source).
1313
*/
1414
private module TaintReachConfig implements DataFlow::ConfigSig {
1515
predicate isSource(DataFlow::Node node) { node instanceof ActiveThreatModelSource }

0 commit comments

Comments
 (0)