mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
8 lines
397 B
Plaintext
8 lines
397 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)
|