Skip to content

Commit bc0b383

Browse files
committed
1 parent b688df9 commit bc0b383

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

java/ql/lib/semmle/code/java/security/MaybeBrokenCryptoAlgorithmQuery.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ module InsecureCryptoConfig implements DataFlow::ConfigSig {
7777
objectToString(n.asExpr()) or
7878
n.getType().getErasure() instanceof TypeObject
7979
}
80+
81+
predicate observeDiffInformedIncrementalMode() { any() }
82+
83+
Location getASelectedSinkLocation(DataFlow::Node sink) {
84+
exists(CryptoAlgoSpec c | result = c.getLocation() | sink.asExpr() = c.getAlgoSpec())
85+
}
8086
}
8187

8288
/**

0 commit comments

Comments
 (0)