Skip to content

Commit 4b0a149

Browse files
committed
C#: Update qltest output.
1 parent 5e6b7be commit 4b0a149

File tree

9 files changed

+289
-31
lines changed

9 files changed

+289
-31
lines changed

csharp/ql/test/library-tests/controlflow/guards/AbstractValue.expected

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,14 @@ abstractValue
119119
| non-null | Collections.cs:67:19:67:21 | "a" |
120120
| non-null | Collections.cs:68:19:68:21 | "b" |
121121
| non-null | Collections.cs:74:40:74:41 | "" |
122+
| non-null | Collections.cs:75:26:75:32 | this access |
123+
| non-null | Collections.cs:76:24:76:30 | this access |
124+
| non-null | Collections.cs:77:24:77:30 | this access |
125+
| non-null | Collections.cs:78:24:78:30 | this access |
126+
| non-null | Collections.cs:79:24:79:30 | this access |
127+
| non-null | Collections.cs:80:24:80:30 | this access |
128+
| non-null | Collections.cs:81:24:81:30 | this access |
129+
| non-null | Collections.cs:82:24:82:30 | this access |
122130
| non-null | Collections.cs:87:17:87:31 | array creation of type String[] |
123131
| non-null | Collections.cs:88:22:88:23 | array creation of type String[] |
124132
| non-null | Collections.cs:89:9:89:32 | ... = ... |
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
| ArraySegment<T> | Memory<T> |
2-
| ArraySegment<T> | ReadOnlyMemory<T> |
3-
| ArraySegment<T> | ReadOnlySpan<T> |
4-
| ArraySegment<T> | Span<T> |
1+
| ArraySegment<T> | Memory<> |
2+
| ArraySegment<T> | ReadOnlyMemory<> |
3+
| ArraySegment<T> | ReadOnlySpan<> |
4+
| ArraySegment<T> | Span<> |
55
| Byte | Decimal |
66
| Char | Decimal |
77
| Char | StandardFormat |
@@ -12,17 +12,17 @@
1212
| Int32 | Index |
1313
| Int32 | MetadataToken |
1414
| Int64 | Decimal |
15-
| Memory<T> | ReadOnlyMemory<T> |
15+
| Memory<> | ReadOnlyMemory<T> |
1616
| MetadataToken | Int32 |
1717
| SByte | Decimal |
18-
| Span<T> | ReadOnlySpan<T> |
18+
| Span<> | ReadOnlySpan<T> |
1919
| String | ReadOnlySpan<Char> |
2020
| T | Nullable<> |
21-
| T[] | ArraySegment<T> |
22-
| T[] | Memory<T> |
23-
| T[] | ReadOnlyMemory<T> |
24-
| T[] | ReadOnlySpan<T> |
25-
| T[] | Span<T> |
21+
| T[] | ArraySegment<> |
22+
| T[] | Memory<> |
23+
| T[] | ReadOnlyMemory<> |
24+
| T[] | ReadOnlySpan<> |
25+
| T[] | Span<> |
2626
| UInt16 | Decimal |
2727
| UInt32 | Decimal |
2828
| UInt64 | Decimal |

csharp/ql/test/library-tests/csharp7/LocalTaintFlow.expected

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,19 @@
116116
| CSharp7.cs:118:9:118:10 | access to local variable m2 | CSharp7.cs:119:19:119:20 | access to local variable m2 |
117117
| CSharp7.cs:119:19:119:20 | access to local variable m2 | CSharp7.cs:119:19:119:26 | access to field Item1 |
118118
| CSharp7.cs:123:28:123:36 | "DefUse3" | CSharp7.cs:123:22:123:36 | ... = ... |
119+
| CSharp7.cs:129:9:129:12 | this | CSharp7.cs:135:24:135:25 | this access |
119120
| CSharp7.cs:131:20:131:20 | x | CSharp7.cs:131:20:131:20 | x |
120121
| CSharp7.cs:131:20:131:20 | x | CSharp7.cs:131:32:131:32 | access to parameter x |
121122
| CSharp7.cs:131:32:131:32 | access to parameter x | CSharp7.cs:131:32:131:36 | ... + ... |
122123
| CSharp7.cs:131:36:131:36 | 1 | CSharp7.cs:131:32:131:36 | ... + ... |
123124
| CSharp7.cs:133:22:133:22 | t | CSharp7.cs:133:22:133:22 | t |
124125
| CSharp7.cs:133:22:133:22 | t | CSharp7.cs:133:39:133:39 | access to parameter t |
126+
| CSharp7.cs:135:24:135:25 | this access | CSharp7.cs:155:16:155:17 | this access |
125127
| CSharp7.cs:139:29:139:29 | x | CSharp7.cs:139:29:139:29 | x |
126128
| CSharp7.cs:139:29:139:29 | x | CSharp7.cs:139:34:139:34 | access to parameter x |
127129
| CSharp7.cs:139:34:139:34 | access to parameter x | CSharp7.cs:139:34:139:38 | ... + ... |
128130
| CSharp7.cs:139:38:139:38 | 1 | CSharp7.cs:139:34:139:38 | ... + ... |
131+
| CSharp7.cs:141:9:141:51 | this | CSharp7.cs:141:38:141:39 | this access |
129132
| CSharp7.cs:141:20:141:20 | x | CSharp7.cs:141:20:141:20 | x |
130133
| CSharp7.cs:141:20:141:20 | x | CSharp7.cs:141:26:141:26 | access to parameter x |
131134
| CSharp7.cs:141:26:141:26 | access to parameter x | CSharp7.cs:141:26:141:30 | ... > ... |
@@ -135,16 +138,26 @@
135138
| CSharp7.cs:141:34:141:46 | ... + ... | CSharp7.cs:141:26:141:50 | ... ? ... : ... |
136139
| CSharp7.cs:141:38:141:46 | call to local function f7 | CSharp7.cs:141:34:141:46 | ... + ... |
137140
| CSharp7.cs:141:50:141:50 | 0 | CSharp7.cs:141:26:141:50 | ... ? ... : ... |
141+
| CSharp7.cs:143:9:143:31 | this | CSharp7.cs:143:26:143:27 | this access |
138142
| CSharp7.cs:143:20:143:20 | x | CSharp7.cs:143:20:143:20 | x |
139143
| CSharp7.cs:143:20:143:20 | x | CSharp7.cs:143:29:143:29 | access to parameter x |
144+
| CSharp7.cs:145:9:149:9 | this | CSharp7.cs:148:20:148:21 | this access |
145+
| CSharp7.cs:147:13:147:35 | this | CSharp7.cs:147:30:147:31 | this access |
140146
| CSharp7.cs:147:24:147:24 | x | CSharp7.cs:147:24:147:24 | x |
141147
| CSharp7.cs:147:24:147:24 | x | CSharp7.cs:147:33:147:33 | access to parameter x |
148+
| CSharp7.cs:158:10:158:17 | this | CSharp7.cs:170:9:170:9 | this access |
142149
| CSharp7.cs:161:18:161:18 | t | CSharp7.cs:161:18:161:18 | t |
143150
| CSharp7.cs:161:18:161:18 | t | CSharp7.cs:161:24:161:24 | access to parameter t |
151+
| CSharp7.cs:163:9:168:9 | this | CSharp7.cs:166:13:166:16 | this access |
144152
| CSharp7.cs:163:26:163:26 | u | CSharp7.cs:163:26:163:26 | u |
145153
| CSharp7.cs:163:26:163:26 | u | CSharp7.cs:167:22:167:22 | access to parameter u |
154+
| CSharp7.cs:165:13:165:43 | this | CSharp7.cs:165:37:165:40 | this access |
155+
| CSharp7.cs:166:13:166:16 | this access | CSharp7.cs:167:20:167:20 | this access |
156+
| CSharp7.cs:170:9:170:9 | this access | CSharp7.cs:171:9:171:9 | this access |
157+
| CSharp7.cs:174:10:174:19 | this | CSharp7.cs:181:21:181:21 | this access |
146158
| CSharp7.cs:176:16:176:30 | SSA def(src) | CSharp7.cs:181:23:181:25 | access to local variable src |
147159
| CSharp7.cs:176:22:176:30 | "tainted" | CSharp7.cs:176:16:176:30 | SSA def(src) |
160+
| CSharp7.cs:177:9:177:40 | this | CSharp7.cs:177:31:177:31 | this access |
148161
| CSharp7.cs:177:25:177:25 | s | CSharp7.cs:177:25:177:25 | s |
149162
| CSharp7.cs:177:25:177:25 | s | CSharp7.cs:177:33:177:33 | access to parameter s |
150163
| CSharp7.cs:177:31:177:34 | call to local function g | CSharp7.cs:177:31:177:39 | ... + ... |
@@ -153,8 +166,10 @@
153166
| CSharp7.cs:178:25:178:25 | s | CSharp7.cs:178:31:178:31 | access to parameter s |
154167
| CSharp7.cs:179:25:179:25 | s | CSharp7.cs:179:25:179:25 | s |
155168
| CSharp7.cs:179:25:179:25 | s | CSharp7.cs:179:37:179:37 | access to parameter s |
169+
| CSharp7.cs:181:21:181:21 | this access | CSharp7.cs:182:21:182:21 | this access |
156170
| CSharp7.cs:181:23:181:25 | [post] access to local variable src | CSharp7.cs:182:23:182:25 | access to local variable src |
157171
| CSharp7.cs:181:23:181:25 | access to local variable src | CSharp7.cs:182:23:182:25 | access to local variable src |
172+
| CSharp7.cs:182:21:182:21 | this access | CSharp7.cs:183:21:183:21 | this access |
158173
| CSharp7.cs:182:23:182:25 | [post] access to local variable src | CSharp7.cs:183:23:183:25 | access to local variable src |
159174
| CSharp7.cs:182:23:182:25 | access to local variable src | CSharp7.cs:183:23:183:25 | access to local variable src |
160175
| CSharp7.cs:189:10:189:11 | this | CSharp7.cs:198:14:198:23 | this access |

0 commit comments

Comments
 (0)