Skip to content

Commit ec84f07

Browse files
committed
Sync ArithmeticTaintedLocalQuery
1 parent da933fb commit ec84f07

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ module ArithmeticTaintedLocalOverflowConfig implements DataFlow::ConfigSig {
1313
predicate isSink(DataFlow::Node sink) { overflowSink(_, sink.asExpr()) }
1414

1515
predicate isBarrier(DataFlow::Node n) { overflowBarrier(n) }
16+
17+
predicate isBarrierIn(DataFlow::Node node) { isSource(node) }
1618
}
1719

1820
/**
@@ -30,6 +32,8 @@ module ArithmeticTaintedLocalUnderflowConfig implements DataFlow::ConfigSig {
3032
predicate isSink(DataFlow::Node sink) { underflowSink(_, sink.asExpr()) }
3133

3234
predicate isBarrier(DataFlow::Node n) { underflowBarrier(n) }
35+
36+
predicate isBarrierIn(DataFlow::Node node) { isSource(node) }
3337
}
3438

3539
/**

0 commit comments

Comments
 (0)