File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
csharp/ql/test/utils/modelgenerator/dataflow
java/ql/test/utils/modelgenerator/dataflow/p Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -844,12 +844,14 @@ public class SyntheticCollections
844
844
private object [ ] array ;
845
845
846
846
// summary=Models;SyntheticCollections;false;SyntheticCollections;(System.Object[]);;Argument[0].Element;Argument[this];taint;df-generated
847
+ // contentbased-summary=Models;SyntheticCollections;false;SyntheticCollections;(System.Object[]);;Argument[0];Argument[this].SyntheticField[Models.SyntheticCollections.array];value;df-generated
847
848
public SyntheticCollections ( object [ ] array )
848
849
{
849
850
this . array = array ;
850
851
}
851
852
852
853
// summary=Models;SyntheticCollections;false;GetElement;(System.Int32);;Argument[this];ReturnValue;taint;df-generated
854
+ // contentbased-summary=Models;SyntheticCollections;false;GetElement;(System.Int32);;Argument[this].SyntheticField[Models.SyntheticCollections.array].Element;ReturnValue;value;df-generated
853
855
public object GetElement ( int index )
854
856
{
855
857
return array [ index ] ;
Original file line number Diff line number Diff line change @@ -4,11 +4,13 @@ public class SyntheticCollections {
4
4
private String [] array ;
5
5
6
6
// summary=p;SyntheticCollections;true;SyntheticCollections;(String[]);;Argument[0].ArrayElement;Argument[this];taint;df-generated
7
+ // contentbased-summary=p;SyntheticCollections;true;SyntheticCollections;(String[]);;Argument[0];Argument[this].SyntheticField[p.SyntheticCollections.array];value;df-generated
7
8
public SyntheticCollections (String [] array ) {
8
9
this .array = array ;
9
10
}
10
11
11
12
// summary=p;SyntheticCollections;true;getElement;(Integer);;Argument[this];ReturnValue;taint;df-generated
13
+ // contentbased-summary=p;SyntheticCollections;true;getElement;(Integer);;Argument[this].SyntheticField[p.SyntheticCollections.array].ArrayElement;ReturnValue;value;df-generated
12
14
public String getElement (Integer index ) {
13
15
return array [index ];
14
16
}
You can’t perform that action at this time.
0 commit comments