Debian Codegraph @

tests/snapshots/testsuite/proposals/wasm-3.0/array_new_data.wast.json

raw
1 {
2 "source_filename": "tests/testsuite/proposals/wasm-3.0/array_new_data.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 1,
7 "filename": "array_new_data.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "assert_return",
12 "line": 12,
13 "action": {
14 "type": "invoke",
15 "field": "array-new-data",
16 "args": [
17 {
18 "type": "i32",
19 "value": "0"
20 },
21 {
22 "type": "i32",
23 "value": "0"
24 }
25 ]
26 },
27 "expected": [
28 {
29 "type": "arrayref"
30 }
31 ]
32 },
33 {
34 "type": "assert_return",
35 "line": 13,
36 "action": {
37 "type": "invoke",
38 "field": "array-new-data",
39 "args": [
40 {
41 "type": "i32",
42 "value": "0"
43 },
44 {
45 "type": "i32",
46 "value": "4"
47 }
48 ]
49 },
50 "expected": [
51 {
52 "type": "arrayref"
53 }
54 ]
55 },
56 {
57 "type": "assert_return",
58 "line": 14,
59 "action": {
60 "type": "invoke",
61 "field": "array-new-data",
62 "args": [
63 {
64 "type": "i32",
65 "value": "1"
66 },
67 {
68 "type": "i32",
69 "value": "2"
70 }
71 ]
72 },
73 "expected": [
74 {
75 "type": "arrayref"
76 }
77 ]
78 },
79 {
80 "type": "assert_return",
81 "line": 15,
82 "action": {
83 "type": "invoke",
84 "field": "array-new-data",
85 "args": [
86 {
87 "type": "i32",
88 "value": "4"
89 },
90 {
91 "type": "i32",
92 "value": "0"
93 }
94 ]
95 },
96 "expected": [
97 {
98 "type": "arrayref"
99 }
100 ]
101 },
102 {
103 "type": "assert_trap",
104 "line": 18,
105 "action": {
106 "type": "invoke",
107 "field": "array-new-data",
108 "args": [
109 {
110 "type": "i32",
111 "value": "0"
112 },
113 {
114 "type": "i32",
115 "value": "5"
116 }
117 ]
118 },
119 "text": "out of bounds memory access"
120 },
121 {
122 "type": "assert_trap",
123 "line": 19,
124 "action": {
125 "type": "invoke",
126 "field": "array-new-data",
127 "args": [
128 {
129 "type": "i32",
130 "value": "5"
131 },
132 {
133 "type": "i32",
134 "value": "0"
135 }
136 ]
137 },
138 "text": "out of bounds memory access"
139 },
140 {
141 "type": "assert_trap",
142 "line": 20,
143 "action": {
144 "type": "invoke",
145 "field": "array-new-data",
146 "args": [
147 {
148 "type": "i32",
149 "value": "1"
150 },
151 {
152 "type": "i32",
153 "value": "4"
154 }
155 ]
156 },
157 "text": "out of bounds memory access"
158 },
159 {
160 "type": "assert_trap",
161 "line": 21,
162 "action": {
163 "type": "invoke",
164 "field": "array-new-data",
165 "args": [
166 {
167 "type": "i32",
168 "value": "4"
169 },
170 {
171 "type": "i32",
172 "value": "1"
173 }
174 ]
175 },
176 "text": "out of bounds memory access"
177 },
178 {
179 "type": "module",
180 "line": 23,
181 "filename": "array_new_data.1.wasm",
182 "module_type": "binary"
183 },
184 {
185 "type": "assert_trap",
186 "line": 74,
187 "action": {
188 "type": "invoke",
189 "field": "f0",
190 "args": []
191 },
192 "text": "out of bounds memory access"
193 },
194 {
195 "type": "assert_trap",
196 "line": 75,
197 "action": {
198 "type": "invoke",
199 "field": "f1",
200 "args": []
201 },
202 "text": "out of bounds memory access"
203 },
204 {
205 "type": "assert_trap",
206 "line": 76,
207 "action": {
208 "type": "invoke",
209 "field": "f2",
210 "args": []
211 },
212 "text": "out of bounds memory access"
213 },
214 {
215 "type": "assert_trap",
216 "line": 77,
217 "action": {
218 "type": "invoke",
219 "field": "f3",
220 "args": []
221 },
222 "text": "out of bounds memory access"
223 },
224 {
225 "type": "assert_return",
226 "line": 78,
227 "action": {
228 "type": "invoke",
229 "field": "f4",
230 "args": []
231 },
232 "expected": []
233 },
234 {
235 "type": "assert_trap",
236 "line": 79,
237 "action": {
238 "type": "invoke",
239 "field": "f9",
240 "args": []
241 },
242 "text": "out of bounds memory access"
243 },
244 {
245 "type": "assert_trap",
246 "line": 81,
247 "action": {
248 "type": "invoke",
249 "field": "g0",
250 "args": []
251 },
252 "text": "out of bounds memory access"
253 },
254 {
255 "type": "assert_trap",
256 "line": 82,
257 "action": {
258 "type": "invoke",
259 "field": "g1",
260 "args": []
261 },
262 "text": "out of bounds memory access"
263 },
264 {
265 "type": "assert_trap",
266 "line": 83,
267 "action": {
268 "type": "invoke",
269 "field": "g4",
270 "args": []
271 },
272 "text": "out of bounds memory access"
273 },
274 {
275 "type": "assert_trap",
276 "line": 84,
277 "action": {
278 "type": "invoke",
279 "field": "g7",
280 "args": []
281 },
282 "text": "out of bounds memory access"
283 },
284 {
285 "type": "assert_return",
286 "line": 85,
287 "action": {
288 "type": "invoke",
289 "field": "g8",
290 "args": []
291 },
292 "expected": []
293 },
294 {
295 "type": "assert_trap",
296 "line": 86,
297 "action": {
298 "type": "invoke",
299 "field": "g9",
300 "args": []
301 },
302 "text": "out of bounds memory access"
303 },
304 {
305 "type": "module",
306 "line": 89,
307 "filename": "array_new_data.2.wasm",
308 "module_type": "binary"
309 },
310 {
311 "type": "assert_return",
312 "line": 103,
313 "action": {
314 "type": "invoke",
315 "field": "array-new-data-contents",
316 "args": []
317 },
318 "expected": [
319 {
320 "type": "i32",
321 "value": "187"
322 },
323 {
324 "type": "i32",
325 "value": "204"
326 }
327 ]
328 },
329 {
330 "type": "module",
331 "line": 105,
332 "filename": "array_new_data.3.wasm",
333 "module_type": "binary"
334 },
335 {
336 "type": "assert_return",
337 "line": 118,
338 "action": {
339 "type": "invoke",
340 "field": "array-new-data-little-endian",
341 "args": []
342 },
343 "expected": [
344 {
345 "type": "i32",
346 "value": "-573785174"
347 }
348 ]
349 },
350 {
351 "type": "module",
352 "line": 120,
353 "filename": "array_new_data.4.wasm",
354 "module_type": "binary"
355 },
356 {
357 "type": "assert_return",
358 "line": 133,
359 "action": {
360 "type": "invoke",
361 "field": "array-new-data-unaligned",
362 "args": []
363 },
364 "expected": [
365 {
366 "type": "i32",
367 "value": "8721"
368 }
369 ]
370 }
371 ]
372 }