mirror of
https://github.com/github/codeql.git
synced 2026-04-18 13:34:02 +02:00
8 lines
395 B
Plaintext
8 lines
395 B
Plaintext
import semmle.code.java.dataflow.TaintTracking
|
|
|
|
from StringBuilderVar sbv, MethodCall append, Method method
|
|
where sbv.getAnAppend() = append and append.getEnclosingCallable() = method
|
|
select method.getName(), sbv.getLocation().getStartLine() - method.getLocation().getStartLine(),
|
|
sbv, append.getLocation().getStartLine() - method.getLocation().getStartLine(), append,
|
|
append.getArgument(0)
|