Skip to content

Commit ec85e55

Browse files
committed
[DIFF-INFORMED] C++: InsufficientKeySize
1 parent c0c96ea commit ec85e55

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cpp/ql/src/Security/CWE/CWE-326/InsufficientKeySize.ql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ module KeyStrengthFlowConfig implements DataFlow::ConfigSig {
4444
exists(getMinimumKeyStrength(name, param))
4545
)
4646
}
47+
48+
predicate observeDiffInformedIncrementalMode() { any() }
49+
50+
Location getASelectedSinkLocation(DataFlow::Node sink) {
51+
exists(FunctionCall fc | result = fc.getLocation() | sink.asExpr() = fc.getArgument(_))
52+
}
4753
}
4854

4955
module KeyStrengthFlow = DataFlow::Global<KeyStrengthFlowConfig>;

0 commit comments

Comments
 (0)