Debian Codegraph @

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

raw
1 {
2 "source_filename": "tests/testsuite/proposals/wasm-3.0/memory_copy0.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 2,
7 "filename": "memory_copy0.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "action",
12 "line": 19,
13 "action": {
14 "type": "invoke",
15 "field": "copy",
16 "args": [
17 {
18 "type": "i32",
19 "value": "10"
20 },
21 {
22 "type": "i32",
23 "value": "0"
24 },
25 {
26 "type": "i32",
27 "value": "4"
28 }
29 ]
30 }
31 },
32 {
33 "type": "assert_return",
34 "line": 21,
35 "action": {
36 "type": "invoke",
37 "field": "load8_u",
38 "args": [
39 {
40 "type": "i32",
41 "value": "9"
42 }
43 ]
44 },
45 "expected": [
46 {
47 "type": "i32",
48 "value": "0"
49 }
50 ]
51 },
52 {
53 "type": "assert_return",
54 "line": 22,
55 "action": {
56 "type": "invoke",
57 "field": "load8_u",
58 "args": [
59 {
60 "type": "i32",
61 "value": "10"
62 }
63 ]
64 },
65 "expected": [
66 {
67 "type": "i32",
68 "value": "170"
69 }
70 ]
71 },
72 {
73 "type": "assert_return",
74 "line": 23,
75 "action": {
76 "type": "invoke",
77 "field": "load8_u",
78 "args": [
79 {
80 "type": "i32",
81 "value": "11"
82 }
83 ]
84 },
85 "expected": [
86 {
87 "type": "i32",
88 "value": "187"
89 }
90 ]
91 },
92 {
93 "type": "assert_return",
94 "line": 24,
95 "action": {
96 "type": "invoke",
97 "field": "load8_u",
98 "args": [
99 {
100 "type": "i32",
101 "value": "12"
102 }
103 ]
104 },
105 "expected": [
106 {
107 "type": "i32",
108 "value": "204"
109 }
110 ]
111 },
112 {
113 "type": "assert_return",
114 "line": 25,
115 "action": {
116 "type": "invoke",
117 "field": "load8_u",
118 "args": [
119 {
120 "type": "i32",
121 "value": "13"
122 }
123 ]
124 },
125 "expected": [
126 {
127 "type": "i32",
128 "value": "221"
129 }
130 ]
131 },
132 {
133 "type": "assert_return",
134 "line": 26,
135 "action": {
136 "type": "invoke",
137 "field": "load8_u",
138 "args": [
139 {
140 "type": "i32",
141 "value": "14"
142 }
143 ]
144 },
145 "expected": [
146 {
147 "type": "i32",
148 "value": "0"
149 }
150 ]
151 },
152 {
153 "type": "action",
154 "line": 29,
155 "action": {
156 "type": "invoke",
157 "field": "copy",
158 "args": [
159 {
160 "type": "i32",
161 "value": "8"
162 },
163 {
164 "type": "i32",
165 "value": "10"
166 },
167 {
168 "type": "i32",
169 "value": "4"
170 }
171 ]
172 }
173 },
174 {
175 "type": "assert_return",
176 "line": 30,
177 "action": {
178 "type": "invoke",
179 "field": "load8_u",
180 "args": [
181 {
182 "type": "i32",
183 "value": "8"
184 }
185 ]
186 },
187 "expected": [
188 {
189 "type": "i32",
190 "value": "170"
191 }
192 ]
193 },
194 {
195 "type": "assert_return",
196 "line": 31,
197 "action": {
198 "type": "invoke",
199 "field": "load8_u",
200 "args": [
201 {
202 "type": "i32",
203 "value": "9"
204 }
205 ]
206 },
207 "expected": [
208 {
209 "type": "i32",
210 "value": "187"
211 }
212 ]
213 },
214 {
215 "type": "assert_return",
216 "line": 32,
217 "action": {
218 "type": "invoke",
219 "field": "load8_u",
220 "args": [
221 {
222 "type": "i32",
223 "value": "10"
224 }
225 ]
226 },
227 "expected": [
228 {
229 "type": "i32",
230 "value": "204"
231 }
232 ]
233 },
234 {
235 "type": "assert_return",
236 "line": 33,
237 "action": {
238 "type": "invoke",
239 "field": "load8_u",
240 "args": [
241 {
242 "type": "i32",
243 "value": "11"
244 }
245 ]
246 },
247 "expected": [
248 {
249 "type": "i32",
250 "value": "221"
251 }
252 ]
253 },
254 {
255 "type": "assert_return",
256 "line": 34,
257 "action": {
258 "type": "invoke",
259 "field": "load8_u",
260 "args": [
261 {
262 "type": "i32",
263 "value": "12"
264 }
265 ]
266 },
267 "expected": [
268 {
269 "type": "i32",
270 "value": "204"
271 }
272 ]
273 },
274 {
275 "type": "assert_return",
276 "line": 35,
277 "action": {
278 "type": "invoke",
279 "field": "load8_u",
280 "args": [
281 {
282 "type": "i32",
283 "value": "13"
284 }
285 ]
286 },
287 "expected": [
288 {
289 "type": "i32",
290 "value": "221"
291 }
292 ]
293 },
294 {
295 "type": "action",
296 "line": 38,
297 "action": {
298 "type": "invoke",
299 "field": "copy",
300 "args": [
301 {
302 "type": "i32",
303 "value": "10"
304 },
305 {
306 "type": "i32",
307 "value": "7"
308 },
309 {
310 "type": "i32",
311 "value": "6"
312 }
313 ]
314 }
315 },
316 {
317 "type": "assert_return",
318 "line": 39,
319 "action": {
320 "type": "invoke",
321 "field": "load8_u",
322 "args": [
323 {
324 "type": "i32",
325 "value": "10"
326 }
327 ]
328 },
329 "expected": [
330 {
331 "type": "i32",
332 "value": "0"
333 }
334 ]
335 },
336 {
337 "type": "assert_return",
338 "line": 40,
339 "action": {
340 "type": "invoke",
341 "field": "load8_u",
342 "args": [
343 {
344 "type": "i32",
345 "value": "11"
346 }
347 ]
348 },
349 "expected": [
350 {
351 "type": "i32",
352 "value": "170"
353 }
354 ]
355 },
356 {
357 "type": "assert_return",
358 "line": 41,
359 "action": {
360 "type": "invoke",
361 "field": "load8_u",
362 "args": [
363 {
364 "type": "i32",
365 "value": "12"
366 }
367 ]
368 },
369 "expected": [
370 {
371 "type": "i32",
372 "value": "187"
373 }
374 ]
375 },
376 {
377 "type": "assert_return",
378 "line": 42,
379 "action": {
380 "type": "invoke",
381 "field": "load8_u",
382 "args": [
383 {
384 "type": "i32",
385 "value": "13"
386 }
387 ]
388 },
389 "expected": [
390 {
391 "type": "i32",
392 "value": "204"
393 }
394 ]
395 },
396 {
397 "type": "assert_return",
398 "line": 43,
399 "action": {
400 "type": "invoke",
401 "field": "load8_u",
402 "args": [
403 {
404 "type": "i32",
405 "value": "14"
406 }
407 ]
408 },
409 "expected": [
410 {
411 "type": "i32",
412 "value": "221"
413 }
414 ]
415 },
416 {
417 "type": "assert_return",
418 "line": 44,
419 "action": {
420 "type": "invoke",
421 "field": "load8_u",
422 "args": [
423 {
424 "type": "i32",
425 "value": "15"
426 }
427 ]
428 },
429 "expected": [
430 {
431 "type": "i32",
432 "value": "204"
433 }
434 ]
435 },
436 {
437 "type": "assert_return",
438 "line": 45,
439 "action": {
440 "type": "invoke",
441 "field": "load8_u",
442 "args": [
443 {
444 "type": "i32",
445 "value": "16"
446 }
447 ]
448 },
449 "expected": [
450 {
451 "type": "i32",
452 "value": "0"
453 }
454 ]
455 },
456 {
457 "type": "action",
458 "line": 48,
459 "action": {
460 "type": "invoke",
461 "field": "copy",
462 "args": [
463 {
464 "type": "i32",
465 "value": "65280"
466 },
467 {
468 "type": "i32",
469 "value": "0"
470 },
471 {
472 "type": "i32",
473 "value": "256"
474 }
475 ]
476 }
477 },
478 {
479 "type": "action",
480 "line": 49,
481 "action": {
482 "type": "invoke",
483 "field": "copy",
484 "args": [
485 {
486 "type": "i32",
487 "value": "65024"
488 },
489 {
490 "type": "i32",
491 "value": "65280"
492 },
493 {
494 "type": "i32",
495 "value": "256"
496 }
497 ]
498 }
499 },
500 {
501 "type": "action",
502 "line": 52,
503 "action": {
504 "type": "invoke",
505 "field": "copy",
506 "args": [
507 {
508 "type": "i32",
509 "value": "65536"
510 },
511 {
512 "type": "i32",
513 "value": "0"
514 },
515 {
516 "type": "i32",
517 "value": "0"
518 }
519 ]
520 }
521 },
522 {
523 "type": "action",
524 "line": 53,
525 "action": {
526 "type": "invoke",
527 "field": "copy",
528 "args": [
529 {
530 "type": "i32",
531 "value": "0"
532 },
533 {
534 "type": "i32",
535 "value": "65536"
536 },
537 {
538 "type": "i32",
539 "value": "0"
540 }
541 ]
542 }
543 },
544 {
545 "type": "assert_trap",
546 "line": 56,
547 "action": {
548 "type": "invoke",
549 "field": "copy",
550 "args": [
551 {
552 "type": "i32",
553 "value": "65537"
554 },
555 {
556 "type": "i32",
557 "value": "0"
558 },
559 {
560 "type": "i32",
561 "value": "0"
562 }
563 ]
564 },
565 "text": "out of bounds memory access"
566 },
567 {
568 "type": "assert_trap",
569 "line": 58,
570 "action": {
571 "type": "invoke",
572 "field": "copy",
573 "args": [
574 {
575 "type": "i32",
576 "value": "0"
577 },
578 {
579 "type": "i32",
580 "value": "65537"
581 },
582 {
583 "type": "i32",
584 "value": "0"
585 }
586 ]
587 },
588 "text": "out of bounds memory access"
589 }
590 ]
591 }