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
11
11
private import codeql.rust.dataflow.internal.DataFlowConsistency as DataFlowConsistency
12
12
private import codeql.rust.security.SqlInjectionExtensions
13
13
private import codeql.rust.security.CleartextLoggingExtensions
14
+ private import codeql.rust.security.HardcodedCryptographicValueExtensions
14
15
15
16
/**
16
17
* Gets a count of the total number of lines of code in the database.
@@ -62,6 +63,8 @@ string getAQuerySinkKind(DataFlow::Node n) {
62
63
n instanceof SqlInjection:: Sink and result = "SqlInjection"
63
64
or
64
65
n instanceof CleartextLogging:: Sink and result = "CleartextLogging"
66
+ or
67
+ n instanceof HardcodedCryptographicValue:: Sink and result = "HardcodedCryptographicValue"
65
68
}
66
69
67
70
/**
Original file line number Diff line number Diff line change 14
14
| Macro calls - resolved | 8 |
15
15
| Macro calls - total | 9 |
16
16
| Macro calls - unresolved | 1 |
17
- | Taint edges - number of edges | 1471 |
17
+ | Taint edges - number of edges | 1475 |
18
18
| Taint reach - nodes tainted | 0 |
19
19
| Taint reach - per million nodes | 0 |
20
20
| Taint sinks - cryptographic operations | 0 |
You can’t perform that action at this time.
0 commit comments