We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5a49390 + 71c078d commit 7644012Copy full SHA for 7644012
java/ql/lib/semmle/code/java/security/NumericCastTaintedQuery.qll
@@ -104,6 +104,13 @@ module NumericCastFlowConfig implements DataFlow::ConfigSig {
104
predicate isBarrierIn(DataFlow::Node node) { isSource(node) }
105
106
predicate observeDiffInformedIncrementalMode() { any() }
107
+
108
+ Location getASelectedSinkLocation(DataFlow::Node sink) {
109
+ exists(NumericNarrowingCastExpr cast |
110
+ cast.getExpr() = sink.asExpr() and
111
+ result = cast.getLocation()
112
+ )
113
+ }
114
}
115
116
/**
0 commit comments