mirror of
https://github.com/github/codeql.git
synced 2026-03-05 07:06:47 +01:00
14 lines
451 B
Plaintext
14 lines
451 B
Plaintext
/**
|
|
* This is a dataflow test using the "default" threat model with the
|
|
* addition of "environment" and "commandargs".
|
|
*/
|
|
|
|
import Test
|
|
import codeql.dataflow.test.ProvenancePathGraph
|
|
import semmle.code.java.dataflow.ExternalFlow
|
|
import ShowProvenance<interpretModelForTest/2, ThreatModel::PathNode, ThreatModel::PathGraph>
|
|
|
|
from ThreatModel::PathNode source, ThreatModel::PathNode sink
|
|
where ThreatModel::flowPath(source, sink)
|
|
select source, sink
|