File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
test/query-tests/diagnostics Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ private import codeql.rust.controlflow.internal.CfgConsistency as CfgConsistency
1111private import codeql.rust.dataflow.internal.DataFlowConsistency as DataFlowConsistency
1212private import codeql.rust.security.SqlInjectionExtensions
1313private import codeql.rust.security.CleartextLoggingExtensions
14+ private import codeql.rust.security.HardcodedCryptographicValueExtensions
1415
1516/**
1617 * Gets a count of the total number of lines of code in the database.
@@ -62,6 +63,8 @@ string getAQuerySinkKind(DataFlow::Node n) {
6263 n instanceof SqlInjection:: Sink and result = "SqlInjection"
6364 or
6465 n instanceof CleartextLogging:: Sink and result = "CleartextLogging"
66+ or
67+ n instanceof HardcodedCryptographicValue:: Sink and result = "HardcodedCryptographicValue"
6568}
6669
6770/**
Original file line number Diff line number Diff line change 1414| Macro calls - resolved | 8 |
1515| Macro calls - total | 9 |
1616| Macro calls - unresolved | 1 |
17- | Taint edges - number of edges | 1471 |
17+ | Taint edges - number of edges | 1475 |
1818| Taint reach - nodes tainted | 0 |
1919| Taint reach - per million nodes | 0 |
2020| Taint sinks - cryptographic operations | 0 |
You can’t perform that action at this time.
0 commit comments