CodeQL library for Java
codeql/java-all 0.3.2 (changelog, source)
Search

Predicate queryTaintedBy

Implementation of SqlTainted.ql. This is extracted to a QLL so that it can be excluded from SqlUnescaped.ql to avoid overlapping results.

Import path

import semmle.code.java.security.SqlInjectionQuery
predicate queryTaintedBy(QueryInjectionSink query, PathNode source, PathNode sink)