mirror of
https://github.com/github/codeql.git
synced 2026-03-30 12:18:18 +02:00
C++: Cleaner solution.
This commit is contained in:
@@ -28,7 +28,9 @@ class Configuration extends TaintTrackingConfiguration {
|
||||
exists(SQLLikeFunction runSql | runSql.outermostWrapperFunctionCall(tainted, _))
|
||||
}
|
||||
|
||||
override predicate isAdditionalBarrier(Expr e) { e.getUnspecifiedType() instanceof IntegralType }
|
||||
override predicate isBarrier(Expr e) {
|
||||
super.isBarrier(e) or e.getUnspecifiedType() instanceof IntegralType
|
||||
}
|
||||
}
|
||||
|
||||
from
|
||||
|
||||
Reference in New Issue
Block a user