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.
1 parent fb32d0d commit 02a0eefCopy full SHA for 02a0eef
java/ql/lib/semmle/code/java/security/ArithmeticTaintedQuery.qll
@@ -19,6 +19,8 @@ module ArithmeticOverflowConfig implements DataFlow::ConfigSig {
19
}
20
21
Location getASelectedSinkLocation(DataFlow::Node sink) {
22
+ result = sink.getLocation()
23
+ or
24
exists(ArithExpr exp | result = exp.getLocation() | overflowSink(exp, sink.asExpr()))
25
26
@@ -43,6 +45,8 @@ module ArithmeticUnderflowConfig implements DataFlow::ConfigSig {
43
45
44
46
47
48
49
50
exists(ArithExpr exp | result = exp.getLocation() | underflowSink(exp, sink.asExpr()))
51
52
0 commit comments