mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
7 lines
386 B
Plaintext
7 lines
386 B
Plaintext
import semmle.code.java.dataflow.TaintTracking
|
|
|
|
from StringBuilderVar sbv, MethodAccess toString, Method method
|
|
where sbv.getToStringCall() = toString and toString.getEnclosingCallable() = method
|
|
select method.getName(), sbv.getLocation().getStartLine() - method.getLocation().getStartLine(),
|
|
sbv, toString.getLocation().getStartLine() - method.getLocation().getStartLine(), toString
|