mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
13 lines
406 B
Plaintext
13 lines
406 B
Plaintext
import semmle.code.java.dataflow.TaintTracking
|
|
|
|
from StringBuilderVar sbv, MethodAccess 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)
|
|
|