Skip to content

Commit 7d60f03

Browse files
committed
fix tests
1 parent 8e5be13 commit 7d60f03

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

go/ql/test/experimental/CWE-522-DecompressionBombs/DecompressionBombs.expected

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,13 @@ edges
2121
| test.go:108:25:108:32 | filename | test.go:108:2:108:33 | ... := ...[0] |
2222
| test.go:110:3:110:19 | ... := ...[0] | test.go:112:37:112:38 | rc |
2323
| test.go:110:12:110:12 | f | test.go:110:3:110:19 | ... := ...[0] |
24-
| test.go:121:2:121:51 | ... := ...[0] | test.go:125:37:125:38 | rc |
24+
| test.go:121:2:121:51 | ... := ...[0] | test.go:122:20:122:29 | implicit dereference |
2525
| test.go:121:43:121:50 | filename | test.go:121:2:121:51 | ... := ...[0] |
26+
| test.go:122:20:122:29 | implicit dereference | test.go:122:20:122:29 | implicit dereference |
27+
| test.go:122:20:122:29 | implicit dereference | test.go:122:20:122:29 | implicit read of field Reader |
28+
| test.go:122:20:122:29 | implicit read of field Reader | test.go:123:12:123:12 | f |
29+
| test.go:123:12:123:12 | f | test.go:123:12:123:19 | call to Open |
30+
| test.go:123:12:123:19 | call to Open | test.go:125:37:125:38 | rc |
2631
| test.go:136:19:136:22 | definition of file | test.go:137:25:137:28 | file |
2732
| test.go:137:2:137:29 | ... := ...[0] | test.go:138:48:138:52 | file1 |
2833
| test.go:137:25:137:28 | file | test.go:137:2:137:29 | ... := ...[0] |
@@ -34,9 +39,11 @@ edges
3439
| test.go:147:20:147:23 | definition of file | test.go:148:25:148:28 | file |
3540
| test.go:148:2:148:29 | ... := ...[0] | test.go:149:66:149:70 | file2 |
3641
| test.go:148:25:148:28 | file | test.go:148:2:148:29 | ... := ...[0] |
37-
| test.go:149:2:149:87 | ... := ...[0] | test.go:154:36:154:51 | fileReaderCloser |
42+
| test.go:149:2:149:87 | ... := ...[0] | test.go:153:26:153:29 | file |
3843
| test.go:149:50:149:71 | call to NewReader | test.go:149:2:149:87 | ... := ...[0] |
3944
| test.go:149:66:149:70 | file2 | test.go:149:50:149:71 | call to NewReader |
45+
| test.go:153:26:153:29 | file | test.go:153:26:153:36 | call to Open |
46+
| test.go:153:26:153:36 | call to Open | test.go:154:36:154:51 | fileReaderCloser |
4047
| test.go:166:22:166:25 | definition of file | test.go:169:41:169:44 | file |
4148
| test.go:166:22:166:25 | definition of file | test.go:175:28:175:31 | file |
4249
| test.go:166:22:166:25 | definition of file | test.go:182:28:182:31 | file |
@@ -180,6 +187,10 @@ nodes
180187
| test.go:112:37:112:38 | rc | semmle.label | rc |
181188
| test.go:121:2:121:51 | ... := ...[0] | semmle.label | ... := ...[0] |
182189
| test.go:121:43:121:50 | filename | semmle.label | filename |
190+
| test.go:122:20:122:29 | implicit dereference | semmle.label | implicit dereference |
191+
| test.go:122:20:122:29 | implicit read of field Reader | semmle.label | implicit read of field Reader |
192+
| test.go:123:12:123:12 | f | semmle.label | f |
193+
| test.go:123:12:123:19 | call to Open | semmle.label | call to Open |
183194
| test.go:125:37:125:38 | rc | semmle.label | rc |
184195
| test.go:136:19:136:22 | definition of file | semmle.label | definition of file |
185196
| test.go:137:2:137:29 | ... := ...[0] | semmle.label | ... := ...[0] |
@@ -196,6 +207,8 @@ nodes
196207
| test.go:149:2:149:87 | ... := ...[0] | semmle.label | ... := ...[0] |
197208
| test.go:149:50:149:71 | call to NewReader | semmle.label | call to NewReader |
198209
| test.go:149:66:149:70 | file2 | semmle.label | file2 |
210+
| test.go:153:26:153:29 | file | semmle.label | file |
211+
| test.go:153:26:153:36 | call to Open | semmle.label | call to Open |
199212
| test.go:154:36:154:51 | fileReaderCloser | semmle.label | fileReaderCloser |
200213
| test.go:166:22:166:25 | definition of file | semmle.label | definition of file |
201214
| test.go:169:3:169:73 | ... := ...[0] | semmle.label | ... := ...[0] |

0 commit comments

Comments
 (0)