@@ -3,4 +3,37 @@ function Foo($a) {
33}
44
55$x = Source " 1"
6- Foo $x
6+ Foo $x
7+
8+ function ThreeArgs ($x , $y , $z ) {
9+ Sink $x # $ MISSING: hasValueFlow=x
10+ Sink $y # $ MISSING: hasValueFlow=y
11+ Sink $z # $ MISSING: hasValueFlow=z
12+ }
13+
14+ $first = Source " x"
15+ $second = Source " y"
16+ $third = Source " z"
17+
18+ ThreeArgs $first $second $third
19+ ThreeArgs $second - x $first $third
20+ ThreeArgs - x $first $second $third
21+ ThreeArgs $first - y $second $third
22+ ThreeArgs - y $second $first $third
23+ ThreeArgs $second - x $first - z $third
24+ ThreeArgs - x $first $second - z $third
25+ ThreeArgs $first - y $second - z $third
26+ ThreeArgs - y $second $first - z $third
27+ ThreeArgs $second - x $first - z $third
28+ ThreeArgs - x $first - z $third $second
29+ ThreeArgs $first - y $second - z $third
30+ ThreeArgs - y $second - z $third $first
31+ ThreeArgs $second - z $third - x $first
32+ ThreeArgs - x $first - z $third $second
33+ ThreeArgs $first - z $third - y $second
34+ ThreeArgs - y $second - z $third $first
35+ ThreeArgs - z $third - y $second $first
36+ ThreeArgs - z $third $second - x $first
37+ ThreeArgs - z $third - x $first $second
38+ ThreeArgs - z $third $first - y $second
39+ ThreeArgs - z $third - y $second $first
0 commit comments