@@ -42,6 +42,38 @@ class SystemIOPathClass extends SystemIOClass {
42
42
SystemIOPathClass ( ) { this .hasName ( "Path" ) }
43
43
}
44
44
45
+ /** Data flow for `System.IO.Path`. */
46
+ private class SystemIOPathFlowModelCsv extends SummaryModelCsv {
47
+ override predicate row ( string row ) {
48
+ row =
49
+ [
50
+ "System.IO;Path;false;Combine;(System.String,System.String);;Argument[0];ReturnValue;taint" ,
51
+ "System.IO;Path;false;Combine;(System.String,System.String);;Argument[1];ReturnValue;taint" ,
52
+ "System.IO;Path;false;Combine;(System.String,System.String,System.String);;Argument[0];ReturnValue;taint" ,
53
+ "System.IO;Path;false;Combine;(System.String,System.String,System.String);;Argument[1];ReturnValue;taint" ,
54
+ "System.IO;Path;false;Combine;(System.String,System.String,System.String);;Argument[2];ReturnValue;taint" ,
55
+ "System.IO;Path;false;Combine;(System.String,System.String,System.String,System.String);;Argument[0];ReturnValue;taint" ,
56
+ "System.IO;Path;false;Combine;(System.String,System.String,System.String,System.String);;Argument[1];ReturnValue;taint" ,
57
+ "System.IO;Path;false;Combine;(System.String,System.String,System.String,System.String);;Argument[2];ReturnValue;taint" ,
58
+ "System.IO;Path;false;Combine;(System.String,System.String,System.String,System.String);;Argument[3];ReturnValue;taint" ,
59
+ "System.IO;Path;false;Combine;(System.String[]);;Element of Argument[0];ReturnValue;taint" ,
60
+ "System.IO;Path;false;GetDirectoryName;(System.ReadOnlySpan<System.Char>);;Argument[0];ReturnValue;taint" ,
61
+ "System.IO;Path;false;GetDirectoryName;(System.String);;Argument[0];ReturnValue;taint" ,
62
+ "System.IO;Path;false;GetExtension;(System.ReadOnlySpan<System.Char>);;Argument[0];ReturnValue;taint" ,
63
+ "System.IO;Path;false;GetExtension;(System.String);;Argument[0];ReturnValue;taint" ,
64
+ "System.IO;Path;false;GetFileName;(System.ReadOnlySpan<System.Char>);;Argument[0];ReturnValue;taint" ,
65
+ "System.IO;Path;false;GetFileName;(System.String);;Argument[0];ReturnValue;taint" ,
66
+ "System.IO;Path;false;GetFileNameWithoutExtension;(System.ReadOnlySpan<System.Char>);;Argument[0];ReturnValue;taint" ,
67
+ "System.IO;Path;false;GetFileNameWithoutExtension;(System.String);;Argument[0];ReturnValue;taint" ,
68
+ "System.IO;Path;false;GetFullPath;(System.String);;Argument[0];ReturnValue;taint" ,
69
+ "System.IO;Path;false;GetFullPath;(System.String,System.String);;Argument[0];ReturnValue;taint" ,
70
+ "System.IO;Path;false;GetPathRoot;(System.ReadOnlySpan<System.Char>);;Argument[0];ReturnValue;taint" ,
71
+ "System.IO;Path;false;GetPathRoot;(System.String);;Argument[0];ReturnValue;taint" ,
72
+ "System.IO;Path;false;GetRelativePath;(System.String,System.String);;Argument[1];ReturnValue;taint"
73
+ ]
74
+ }
75
+ }
76
+
45
77
/** Data flow for `System.IO.TextReader`. */
46
78
private class SystemIOTextReaderFlowModelCsv extends SummaryModelCsv {
47
79
override predicate row ( string row ) {
0 commit comments