@@ -112,6 +112,29 @@ class SystemIOStreamClass extends SystemIOClass {
112
112
}
113
113
}
114
114
115
+ /** Data flow for `System.IO.Stream`. */
116
+ private class SystemIOStreamFlowModelCsv extends SummaryModelCsv {
117
+ override predicate row ( string row ) {
118
+ row =
119
+ [
120
+ "System.IO;Stream;false;CopyTo;(System.IO.Stream);;Argument[-1];Argument[0];taint" ,
121
+ "System.IO;Stream;false;CopyToAsync;(System.IO.Stream);;Argument[-1];Argument[0];taint" ,
122
+ "System.IO;Stream;false;CopyToAsync;(System.IO.Stream,System.Int32);;Argument[-1];Argument[0];taint" ,
123
+ "System.IO;Stream;false;CopyToAsync;(System.IO.Stream,System.Threading.CancellationToken);;Argument[-1];Argument[0];taint" ,
124
+ "System.IO;Stream;false;ReadAsync;(System.Byte[],System.Int32,System.Int32);;Argument[-1];Argument[0];taint" ,
125
+ "System.IO;Stream;false;WriteAsync;(System.Byte[],System.Int32,System.Int32);;Argument[0];Argument[-1];taint" ,
126
+ "System.IO;Stream;true;BeginRead;(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object);;Argument[-1];Argument[0];taint" ,
127
+ "System.IO;Stream;true;BeginWrite;(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object);;Argument[0];Argument[-1];taint" ,
128
+ "System.IO;Stream;true;CopyTo;(System.IO.Stream,System.Int32);;Argument[-1];Argument[0];taint" ,
129
+ "System.IO;Stream;true;CopyToAsync;(System.IO.Stream,System.Int32,System.Threading.CancellationToken);;Argument[-1];Argument[0];taint" ,
130
+ "System.IO;Stream;true;Read;(System.Byte[],System.Int32,System.Int32);;Argument[-1];Argument[0];taint" ,
131
+ "System.IO;Stream;true;ReadAsync;(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken);;Argument[-1];Argument[0];taint" ,
132
+ "System.IO;Stream;true;Write;(System.Byte[],System.Int32,System.Int32);;Argument[0];Argument[-1];taint" ,
133
+ "System.IO;Stream;true;WriteAsync;(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken);;Argument[0];Argument[-1];taint"
134
+ ]
135
+ }
136
+ }
137
+
115
138
/** The `System.IO.MemoryStream` class. */
116
139
class SystemIOMemoryStreamClass extends SystemIOClass {
117
140
SystemIOMemoryStreamClass ( ) { this .hasName ( "MemoryStream" ) }
0 commit comments