mirror of
https://github.com/github/codeql.git
synced 2026-03-26 09:18:16 +01:00
11 lines
394 B
Plaintext
11 lines
394 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
|