Debian Codegraph @

tests/snapshots/testsuite/bulk.wast.json

raw
1 {
2 "source_filename": "tests/testsuite/bulk.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 2,
7 "filename": "bulk.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "module",
12 "line": 6,
13 "filename": "bulk.1.wasm",
14 "module_type": "binary"
15 },
16 {
17 "type": "module",
18 "line": 13,
19 "filename": "bulk.2.wasm",
20 "module_type": "binary"
21 },
22 {
23 "type": "action",
24 "line": 27,
25 "action": {
26 "type": "invoke",
27 "field": "fill",
28 "args": [
29 {
30 "type": "i32",
31 "value": "1"
32 },
33 {
34 "type": "i32",
35 "value": "255"
36 },
37 {
38 "type": "i32",
39 "value": "3"
40 }
41 ]
42 }
43 },
44 {
45 "type": "assert_return",
46 "line": 28,
47 "action": {
48 "type": "invoke",
49 "field": "load8_u",
50 "args": [
51 {
52 "type": "i32",
53 "value": "0"
54 }
55 ]
56 },
57 "expected": [
58 {
59 "type": "i32",
60 "value": "0"
61 }
62 ]
63 },
64 {
65 "type": "assert_return",
66 "line": 29,
67 "action": {
68 "type": "invoke",
69 "field": "load8_u",
70 "args": [
71 {
72 "type": "i32",
73 "value": "1"
74 }
75 ]
76 },
77 "expected": [
78 {
79 "type": "i32",
80 "value": "255"
81 }
82 ]
83 },
84 {
85 "type": "assert_return",
86 "line": 30,
87 "action": {
88 "type": "invoke",
89 "field": "load8_u",
90 "args": [
91 {
92 "type": "i32",
93 "value": "2"
94 }
95 ]
96 },
97 "expected": [
98 {
99 "type": "i32",
100 "value": "255"
101 }
102 ]
103 },
104 {
105 "type": "assert_return",
106 "line": 31,
107 "action": {
108 "type": "invoke",
109 "field": "load8_u",
110 "args": [
111 {
112 "type": "i32",
113 "value": "3"
114 }
115 ]
116 },
117 "expected": [
118 {
119 "type": "i32",
120 "value": "255"
121 }
122 ]
123 },
124 {
125 "type": "assert_return",
126 "line": 32,
127 "action": {
128 "type": "invoke",
129 "field": "load8_u",
130 "args": [
131 {
132 "type": "i32",
133 "value": "4"
134 }
135 ]
136 },
137 "expected": [
138 {
139 "type": "i32",
140 "value": "0"
141 }
142 ]
143 },
144 {
145 "type": "action",
146 "line": 35,
147 "action": {
148 "type": "invoke",
149 "field": "fill",
150 "args": [
151 {
152 "type": "i32",
153 "value": "0"
154 },
155 {
156 "type": "i32",
157 "value": "48042"
158 },
159 {
160 "type": "i32",
161 "value": "2"
162 }
163 ]
164 }
165 },
166 {
167 "type": "assert_return",
168 "line": 36,
169 "action": {
170 "type": "invoke",
171 "field": "load8_u",
172 "args": [
173 {
174 "type": "i32",
175 "value": "0"
176 }
177 ]
178 },
179 "expected": [
180 {
181 "type": "i32",
182 "value": "170"
183 }
184 ]
185 },
186 {
187 "type": "assert_return",
188 "line": 37,
189 "action": {
190 "type": "invoke",
191 "field": "load8_u",
192 "args": [
193 {
194 "type": "i32",
195 "value": "1"
196 }
197 ]
198 },
199 "expected": [
200 {
201 "type": "i32",
202 "value": "170"
203 }
204 ]
205 },
206 {
207 "type": "action",
208 "line": 40,
209 "action": {
210 "type": "invoke",
211 "field": "fill",
212 "args": [
213 {
214 "type": "i32",
215 "value": "0"
216 },
217 {
218 "type": "i32",
219 "value": "0"
220 },
221 {
222 "type": "i32",
223 "value": "65536"
224 }
225 ]
226 }
227 },
228 {
229 "type": "assert_trap",
230 "line": 43,
231 "action": {
232 "type": "invoke",
233 "field": "fill",
234 "args": [
235 {
236 "type": "i32",
237 "value": "65280"
238 },
239 {
240 "type": "i32",
241 "value": "1"
242 },
243 {
244 "type": "i32",
245 "value": "257"
246 }
247 ]
248 },
249 "text": "out of bounds memory access"
250 },
251 {
252 "type": "assert_return",
253 "line": 45,
254 "action": {
255 "type": "invoke",
256 "field": "load8_u",
257 "args": [
258 {
259 "type": "i32",
260 "value": "65280"
261 }
262 ]
263 },
264 "expected": [
265 {
266 "type": "i32",
267 "value": "0"
268 }
269 ]
270 },
271 {
272 "type": "assert_return",
273 "line": 46,
274 "action": {
275 "type": "invoke",
276 "field": "load8_u",
277 "args": [
278 {
279 "type": "i32",
280 "value": "65535"
281 }
282 ]
283 },
284 "expected": [
285 {
286 "type": "i32",
287 "value": "0"
288 }
289 ]
290 },
291 {
292 "type": "action",
293 "line": 49,
294 "action": {
295 "type": "invoke",
296 "field": "fill",
297 "args": [
298 {
299 "type": "i32",
300 "value": "65536"
301 },
302 {
303 "type": "i32",
304 "value": "0"
305 },
306 {
307 "type": "i32",
308 "value": "0"
309 }
310 ]
311 }
312 },
313 {
314 "type": "assert_trap",
315 "line": 52,
316 "action": {
317 "type": "invoke",
318 "field": "fill",
319 "args": [
320 {
321 "type": "i32",
322 "value": "65537"
323 },
324 {
325 "type": "i32",
326 "value": "0"
327 },
328 {
329 "type": "i32",
330 "value": "0"
331 }
332 ]
333 },
334 "text": "out of bounds memory access"
335 },
336 {
337 "type": "module",
338 "line": 57,
339 "filename": "bulk.3.wasm",
340 "module_type": "binary"
341 },
342 {
343 "type": "action",
344 "line": 71,
345 "action": {
346 "type": "invoke",
347 "field": "copy",
348 "args": [
349 {
350 "type": "i32",
351 "value": "10"
352 },
353 {
354 "type": "i32",
355 "value": "0"
356 },
357 {
358 "type": "i32",
359 "value": "4"
360 }
361 ]
362 }
363 },
364 {
365 "type": "assert_return",
366 "line": 73,
367 "action": {
368 "type": "invoke",
369 "field": "load8_u",
370 "args": [
371 {
372 "type": "i32",
373 "value": "9"
374 }
375 ]
376 },
377 "expected": [
378 {
379 "type": "i32",
380 "value": "0"
381 }
382 ]
383 },
384 {
385 "type": "assert_return",
386 "line": 74,
387 "action": {
388 "type": "invoke",
389 "field": "load8_u",
390 "args": [
391 {
392 "type": "i32",
393 "value": "10"
394 }
395 ]
396 },
397 "expected": [
398 {
399 "type": "i32",
400 "value": "170"
401 }
402 ]
403 },
404 {
405 "type": "assert_return",
406 "line": 75,
407 "action": {
408 "type": "invoke",
409 "field": "load8_u",
410 "args": [
411 {
412 "type": "i32",
413 "value": "11"
414 }
415 ]
416 },
417 "expected": [
418 {
419 "type": "i32",
420 "value": "187"
421 }
422 ]
423 },
424 {
425 "type": "assert_return",
426 "line": 76,
427 "action": {
428 "type": "invoke",
429 "field": "load8_u",
430 "args": [
431 {
432 "type": "i32",
433 "value": "12"
434 }
435 ]
436 },
437 "expected": [
438 {
439 "type": "i32",
440 "value": "204"
441 }
442 ]
443 },
444 {
445 "type": "assert_return",
446 "line": 77,
447 "action": {
448 "type": "invoke",
449 "field": "load8_u",
450 "args": [
451 {
452 "type": "i32",
453 "value": "13"
454 }
455 ]
456 },
457 "expected": [
458 {
459 "type": "i32",
460 "value": "221"
461 }
462 ]
463 },
464 {
465 "type": "assert_return",
466 "line": 78,
467 "action": {
468 "type": "invoke",
469 "field": "load8_u",
470 "args": [
471 {
472 "type": "i32",
473 "value": "14"
474 }
475 ]
476 },
477 "expected": [
478 {
479 "type": "i32",
480 "value": "0"
481 }
482 ]
483 },
484 {
485 "type": "action",
486 "line": 81,
487 "action": {
488 "type": "invoke",
489 "field": "copy",
490 "args": [
491 {
492 "type": "i32",
493 "value": "8"
494 },
495 {
496 "type": "i32",
497 "value": "10"
498 },
499 {
500 "type": "i32",
501 "value": "4"
502 }
503 ]
504 }
505 },
506 {
507 "type": "assert_return",
508 "line": 82,
509 "action": {
510 "type": "invoke",
511 "field": "load8_u",
512 "args": [
513 {
514 "type": "i32",
515 "value": "8"
516 }
517 ]
518 },
519 "expected": [
520 {
521 "type": "i32",
522 "value": "170"
523 }
524 ]
525 },
526 {
527 "type": "assert_return",
528 "line": 83,
529 "action": {
530 "type": "invoke",
531 "field": "load8_u",
532 "args": [
533 {
534 "type": "i32",
535 "value": "9"
536 }
537 ]
538 },
539 "expected": [
540 {
541 "type": "i32",
542 "value": "187"
543 }
544 ]
545 },
546 {
547 "type": "assert_return",
548 "line": 84,
549 "action": {
550 "type": "invoke",
551 "field": "load8_u",
552 "args": [
553 {
554 "type": "i32",
555 "value": "10"
556 }
557 ]
558 },
559 "expected": [
560 {
561 "type": "i32",
562 "value": "204"
563 }
564 ]
565 },
566 {
567 "type": "assert_return",
568 "line": 85,
569 "action": {
570 "type": "invoke",
571 "field": "load8_u",
572 "args": [
573 {
574 "type": "i32",
575 "value": "11"
576 }
577 ]
578 },
579 "expected": [
580 {
581 "type": "i32",
582 "value": "221"
583 }
584 ]
585 },
586 {
587 "type": "assert_return",
588 "line": 86,
589 "action": {
590 "type": "invoke",
591 "field": "load8_u",
592 "args": [
593 {
594 "type": "i32",
595 "value": "12"
596 }
597 ]
598 },
599 "expected": [
600 {
601 "type": "i32",
602 "value": "204"
603 }
604 ]
605 },
606 {
607 "type": "assert_return",
608 "line": 87,
609 "action": {
610 "type": "invoke",
611 "field": "load8_u",
612 "args": [
613 {
614 "type": "i32",
615 "value": "13"
616 }
617 ]
618 },
619 "expected": [
620 {
621 "type": "i32",
622 "value": "221"
623 }
624 ]
625 },
626 {
627 "type": "action",
628 "line": 90,
629 "action": {
630 "type": "invoke",
631 "field": "copy",
632 "args": [
633 {
634 "type": "i32",
635 "value": "10"
636 },
637 {
638 "type": "i32",
639 "value": "7"
640 },
641 {
642 "type": "i32",
643 "value": "6"
644 }
645 ]
646 }
647 },
648 {
649 "type": "assert_return",
650 "line": 91,
651 "action": {
652 "type": "invoke",
653 "field": "load8_u",
654 "args": [
655 {
656 "type": "i32",
657 "value": "10"
658 }
659 ]
660 },
661 "expected": [
662 {
663 "type": "i32",
664 "value": "0"
665 }
666 ]
667 },
668 {
669 "type": "assert_return",
670 "line": 92,
671 "action": {
672 "type": "invoke",
673 "field": "load8_u",
674 "args": [
675 {
676 "type": "i32",
677 "value": "11"
678 }
679 ]
680 },
681 "expected": [
682 {
683 "type": "i32",
684 "value": "170"
685 }
686 ]
687 },
688 {
689 "type": "assert_return",
690 "line": 93,
691 "action": {
692 "type": "invoke",
693 "field": "load8_u",
694 "args": [
695 {
696 "type": "i32",
697 "value": "12"
698 }
699 ]
700 },
701 "expected": [
702 {
703 "type": "i32",
704 "value": "187"
705 }
706 ]
707 },
708 {
709 "type": "assert_return",
710 "line": 94,
711 "action": {
712 "type": "invoke",
713 "field": "load8_u",
714 "args": [
715 {
716 "type": "i32",
717 "value": "13"
718 }
719 ]
720 },
721 "expected": [
722 {
723 "type": "i32",
724 "value": "204"
725 }
726 ]
727 },
728 {
729 "type": "assert_return",
730 "line": 95,
731 "action": {
732 "type": "invoke",
733 "field": "load8_u",
734 "args": [
735 {
736 "type": "i32",
737 "value": "14"
738 }
739 ]
740 },
741 "expected": [
742 {
743 "type": "i32",
744 "value": "221"
745 }
746 ]
747 },
748 {
749 "type": "assert_return",
750 "line": 96,
751 "action": {
752 "type": "invoke",
753 "field": "load8_u",
754 "args": [
755 {
756 "type": "i32",
757 "value": "15"
758 }
759 ]
760 },
761 "expected": [
762 {
763 "type": "i32",
764 "value": "204"
765 }
766 ]
767 },
768 {
769 "type": "assert_return",
770 "line": 97,
771 "action": {
772 "type": "invoke",
773 "field": "load8_u",
774 "args": [
775 {
776 "type": "i32",
777 "value": "16"
778 }
779 ]
780 },
781 "expected": [
782 {
783 "type": "i32",
784 "value": "0"
785 }
786 ]
787 },
788 {
789 "type": "action",
790 "line": 100,
791 "action": {
792 "type": "invoke",
793 "field": "copy",
794 "args": [
795 {
796 "type": "i32",
797 "value": "65280"
798 },
799 {
800 "type": "i32",
801 "value": "0"
802 },
803 {
804 "type": "i32",
805 "value": "256"
806 }
807 ]
808 }
809 },
810 {
811 "type": "action",
812 "line": 101,
813 "action": {
814 "type": "invoke",
815 "field": "copy",
816 "args": [
817 {
818 "type": "i32",
819 "value": "65024"
820 },
821 {
822 "type": "i32",
823 "value": "65280"
824 },
825 {
826 "type": "i32",
827 "value": "256"
828 }
829 ]
830 }
831 },
832 {
833 "type": "action",
834 "line": 104,
835 "action": {
836 "type": "invoke",
837 "field": "copy",
838 "args": [
839 {
840 "type": "i32",
841 "value": "65536"
842 },
843 {
844 "type": "i32",
845 "value": "0"
846 },
847 {
848 "type": "i32",
849 "value": "0"
850 }
851 ]
852 }
853 },
854 {
855 "type": "action",
856 "line": 105,
857 "action": {
858 "type": "invoke",
859 "field": "copy",
860 "args": [
861 {
862 "type": "i32",
863 "value": "0"
864 },
865 {
866 "type": "i32",
867 "value": "65536"
868 },
869 {
870 "type": "i32",
871 "value": "0"
872 }
873 ]
874 }
875 },
876 {
877 "type": "assert_trap",
878 "line": 108,
879 "action": {
880 "type": "invoke",
881 "field": "copy",
882 "args": [
883 {
884 "type": "i32",
885 "value": "65537"
886 },
887 {
888 "type": "i32",
889 "value": "0"
890 },
891 {
892 "type": "i32",
893 "value": "0"
894 }
895 ]
896 },
897 "text": "out of bounds memory access"
898 },
899 {
900 "type": "assert_trap",
901 "line": 110,
902 "action": {
903 "type": "invoke",
904 "field": "copy",
905 "args": [
906 {
907 "type": "i32",
908 "value": "0"
909 },
910 {
911 "type": "i32",
912 "value": "65537"
913 },
914 {
915 "type": "i32",
916 "value": "0"
917 }
918 ]
919 },
920 "text": "out of bounds memory access"
921 },
922 {
923 "type": "module",
924 "line": 115,
925 "filename": "bulk.4.wasm",
926 "module_type": "binary"
927 },
928 {
929 "type": "action",
930 "line": 129,
931 "action": {
932 "type": "invoke",
933 "field": "init",
934 "args": [
935 {
936 "type": "i32",
937 "value": "0"
938 },
939 {
940 "type": "i32",
941 "value": "1"
942 },
943 {
944 "type": "i32",
945 "value": "2"
946 }
947 ]
948 }
949 },
950 {
951 "type": "assert_return",
952 "line": 130,
953 "action": {
954 "type": "invoke",
955 "field": "load8_u",
956 "args": [
957 {
958 "type": "i32",
959 "value": "0"
960 }
961 ]
962 },
963 "expected": [
964 {
965 "type": "i32",
966 "value": "187"
967 }
968 ]
969 },
970 {
971 "type": "assert_return",
972 "line": 131,
973 "action": {
974 "type": "invoke",
975 "field": "load8_u",
976 "args": [
977 {
978 "type": "i32",
979 "value": "1"
980 }
981 ]
982 },
983 "expected": [
984 {
985 "type": "i32",
986 "value": "204"
987 }
988 ]
989 },
990 {
991 "type": "assert_return",
992 "line": 132,
993 "action": {
994 "type": "invoke",
995 "field": "load8_u",
996 "args": [
997 {
998 "type": "i32",
999 "value": "2"
1000 }
1001 ]
1002 },
1003 "expected": [
1004 {
1005 "type": "i32",
1006 "value": "0"
1007 }
1008 ]
1009 },
1010 {
1011 "type": "action",
1012 "line": 135,
1013 "action": {
1014 "type": "invoke",
1015 "field": "init",
1016 "args": [
1017 {
1018 "type": "i32",
1019 "value": "65532"
1020 },
1021 {
1022 "type": "i32",
1023 "value": "0"
1024 },
1025 {
1026 "type": "i32",
1027 "value": "4"
1028 }
1029 ]
1030 }
1031 },
1032 {
1033 "type": "assert_trap",
1034 "line": 138,
1035 "action": {
1036 "type": "invoke",
1037 "field": "init",
1038 "args": [
1039 {
1040 "type": "i32",
1041 "value": "65534"
1042 },
1043 {
1044 "type": "i32",
1045 "value": "0"
1046 },
1047 {
1048 "type": "i32",
1049 "value": "3"
1050 }
1051 ]
1052 },
1053 "text": "out of bounds memory access"
1054 },
1055 {
1056 "type": "assert_return",
1057 "line": 140,
1058 "action": {
1059 "type": "invoke",
1060 "field": "load8_u",
1061 "args": [
1062 {
1063 "type": "i32",
1064 "value": "65534"
1065 }
1066 ]
1067 },
1068 "expected": [
1069 {
1070 "type": "i32",
1071 "value": "204"
1072 }
1073 ]
1074 },
1075 {
1076 "type": "assert_return",
1077 "line": 141,
1078 "action": {
1079 "type": "invoke",
1080 "field": "load8_u",
1081 "args": [
1082 {
1083 "type": "i32",
1084 "value": "65535"
1085 }
1086 ]
1087 },
1088 "expected": [
1089 {
1090 "type": "i32",
1091 "value": "221"
1092 }
1093 ]
1094 },
1095 {
1096 "type": "action",
1097 "line": 144,
1098 "action": {
1099 "type": "invoke",
1100 "field": "init",
1101 "args": [
1102 {
1103 "type": "i32",
1104 "value": "65536"
1105 },
1106 {
1107 "type": "i32",
1108 "value": "0"
1109 },
1110 {
1111 "type": "i32",
1112 "value": "0"
1113 }
1114 ]
1115 }
1116 },
1117 {
1118 "type": "action",
1119 "line": 145,
1120 "action": {
1121 "type": "invoke",
1122 "field": "init",
1123 "args": [
1124 {
1125 "type": "i32",
1126 "value": "0"
1127 },
1128 {
1129 "type": "i32",
1130 "value": "4"
1131 },
1132 {
1133 "type": "i32",
1134 "value": "0"
1135 }
1136 ]
1137 }
1138 },
1139 {
1140 "type": "assert_trap",
1141 "line": 148,
1142 "action": {
1143 "type": "invoke",
1144 "field": "init",
1145 "args": [
1146 {
1147 "type": "i32",
1148 "value": "65537"
1149 },
1150 {
1151 "type": "i32",
1152 "value": "0"
1153 },
1154 {
1155 "type": "i32",
1156 "value": "0"
1157 }
1158 ]
1159 },
1160 "text": "out of bounds memory access"
1161 },
1162 {
1163 "type": "assert_trap",
1164 "line": 150,
1165 "action": {
1166 "type": "invoke",
1167 "field": "init",
1168 "args": [
1169 {
1170 "type": "i32",
1171 "value": "0"
1172 },
1173 {
1174 "type": "i32",
1175 "value": "5"
1176 },
1177 {
1178 "type": "i32",
1179 "value": "0"
1180 }
1181 ]
1182 },
1183 "text": "out of bounds memory access"
1184 },
1185 {
1186 "type": "module",
1187 "line": 154,
1188 "filename": "bulk.5.wasm",
1189 "module_type": "binary"
1190 },
1191 {
1192 "type": "action",
1193 "line": 168,
1194 "action": {
1195 "type": "invoke",
1196 "field": "init_passive",
1197 "args": [
1198 {
1199 "type": "i32",
1200 "value": "1"
1201 }
1202 ]
1203 }
1204 },
1205 {
1206 "type": "action",
1207 "line": 169,
1208 "action": {
1209 "type": "invoke",
1210 "field": "drop_passive",
1211 "args": []
1212 }
1213 },
1214 {
1215 "type": "action",
1216 "line": 170,
1217 "action": {
1218 "type": "invoke",
1219 "field": "drop_passive",
1220 "args": []
1221 }
1222 },
1223 {
1224 "type": "assert_return",
1225 "line": 171,
1226 "action": {
1227 "type": "invoke",
1228 "field": "init_passive",
1229 "args": [
1230 {
1231 "type": "i32",
1232 "value": "0"
1233 }
1234 ]
1235 },
1236 "expected": []
1237 },
1238 {
1239 "type": "assert_trap",
1240 "line": 172,
1241 "action": {
1242 "type": "invoke",
1243 "field": "init_passive",
1244 "args": [
1245 {
1246 "type": "i32",
1247 "value": "1"
1248 }
1249 ]
1250 },
1251 "text": "out of bounds memory access"
1252 },
1253 {
1254 "type": "action",
1255 "line": 173,
1256 "action": {
1257 "type": "invoke",
1258 "field": "init_passive",
1259 "args": [
1260 {
1261 "type": "i32",
1262 "value": "0"
1263 }
1264 ]
1265 }
1266 },
1267 {
1268 "type": "action",
1269 "line": 174,
1270 "action": {
1271 "type": "invoke",
1272 "field": "drop_active",
1273 "args": []
1274 }
1275 },
1276 {
1277 "type": "assert_return",
1278 "line": 175,
1279 "action": {
1280 "type": "invoke",
1281 "field": "init_active",
1282 "args": [
1283 {
1284 "type": "i32",
1285 "value": "0"
1286 }
1287 ]
1288 },
1289 "expected": []
1290 },
1291 {
1292 "type": "assert_trap",
1293 "line": 176,
1294 "action": {
1295 "type": "invoke",
1296 "field": "init_active",
1297 "args": [
1298 {
1299 "type": "i32",
1300 "value": "1"
1301 }
1302 ]
1303 },
1304 "text": "out of bounds memory access"
1305 },
1306 {
1307 "type": "action",
1308 "line": 177,
1309 "action": {
1310 "type": "invoke",
1311 "field": "init_active",
1312 "args": [
1313 {
1314 "type": "i32",
1315 "value": "0"
1316 }
1317 ]
1318 }
1319 },
1320 {
1321 "type": "module",
1322 "line": 181,
1323 "filename": "bulk.6.wasm",
1324 "module_type": "binary"
1325 },
1326 {
1327 "type": "module",
1328 "line": 196,
1329 "filename": "bulk.7.wasm",
1330 "module_type": "binary"
1331 },
1332 {
1333 "type": "module",
1334 "line": 199,
1335 "filename": "bulk.8.wasm",
1336 "module_type": "binary"
1337 },
1338 {
1339 "type": "assert_trap",
1340 "line": 219,
1341 "action": {
1342 "type": "invoke",
1343 "field": "init",
1344 "args": [
1345 {
1346 "type": "i32",
1347 "value": "2"
1348 },
1349 {
1350 "type": "i32",
1351 "value": "0"
1352 },
1353 {
1354 "type": "i32",
1355 "value": "2"
1356 }
1357 ]
1358 },
1359 "text": "out of bounds table access"
1360 },
1361 {
1362 "type": "assert_trap",
1363 "line": 221,
1364 "action": {
1365 "type": "invoke",
1366 "field": "call",
1367 "args": [
1368 {
1369 "type": "i32",
1370 "value": "2"
1371 }
1372 ]
1373 },
1374 "text": "uninitialized element 2"
1375 },
1376 {
1377 "type": "action",
1378 "line": 224,
1379 "action": {
1380 "type": "invoke",
1381 "field": "init",
1382 "args": [
1383 {
1384 "type": "i32",
1385 "value": "0"
1386 },
1387 {
1388 "type": "i32",
1389 "value": "1"
1390 },
1391 {
1392 "type": "i32",
1393 "value": "2"
1394 }
1395 ]
1396 }
1397 },
1398 {
1399 "type": "assert_return",
1400 "line": 225,
1401 "action": {
1402 "type": "invoke",
1403 "field": "call",
1404 "args": [
1405 {
1406 "type": "i32",
1407 "value": "0"
1408 }
1409 ]
1410 },
1411 "expected": [
1412 {
1413 "type": "i32",
1414 "value": "1"
1415 }
1416 ]
1417 },
1418 {
1419 "type": "assert_return",
1420 "line": 226,
1421 "action": {
1422 "type": "invoke",
1423 "field": "call",
1424 "args": [
1425 {
1426 "type": "i32",
1427 "value": "1"
1428 }
1429 ]
1430 },
1431 "expected": [
1432 {
1433 "type": "i32",
1434 "value": "0"
1435 }
1436 ]
1437 },
1438 {
1439 "type": "assert_trap",
1440 "line": 227,
1441 "action": {
1442 "type": "invoke",
1443 "field": "call",
1444 "args": [
1445 {
1446 "type": "i32",
1447 "value": "2"
1448 }
1449 ]
1450 },
1451 "text": "uninitialized element"
1452 },
1453 {
1454 "type": "action",
1455 "line": 230,
1456 "action": {
1457 "type": "invoke",
1458 "field": "init",
1459 "args": [
1460 {
1461 "type": "i32",
1462 "value": "1"
1463 },
1464 {
1465 "type": "i32",
1466 "value": "2"
1467 },
1468 {
1469 "type": "i32",
1470 "value": "2"
1471 }
1472 ]
1473 }
1474 },
1475 {
1476 "type": "action",
1477 "line": 233,
1478 "action": {
1479 "type": "invoke",
1480 "field": "init",
1481 "args": [
1482 {
1483 "type": "i32",
1484 "value": "3"
1485 },
1486 {
1487 "type": "i32",
1488 "value": "0"
1489 },
1490 {
1491 "type": "i32",
1492 "value": "0"
1493 }
1494 ]
1495 }
1496 },
1497 {
1498 "type": "action",
1499 "line": 234,
1500 "action": {
1501 "type": "invoke",
1502 "field": "init",
1503 "args": [
1504 {
1505 "type": "i32",
1506 "value": "0"
1507 },
1508 {
1509 "type": "i32",
1510 "value": "4"
1511 },
1512 {
1513 "type": "i32",
1514 "value": "0"
1515 }
1516 ]
1517 }
1518 },
1519 {
1520 "type": "assert_trap",
1521 "line": 237,
1522 "action": {
1523 "type": "invoke",
1524 "field": "init",
1525 "args": [
1526 {
1527 "type": "i32",
1528 "value": "4"
1529 },
1530 {
1531 "type": "i32",
1532 "value": "0"
1533 },
1534 {
1535 "type": "i32",
1536 "value": "0"
1537 }
1538 ]
1539 },
1540 "text": "out of bounds table access"
1541 },
1542 {
1543 "type": "assert_trap",
1544 "line": 239,
1545 "action": {
1546 "type": "invoke",
1547 "field": "init",
1548 "args": [
1549 {
1550 "type": "i32",
1551 "value": "0"
1552 },
1553 {
1554 "type": "i32",
1555 "value": "5"
1556 },
1557 {
1558 "type": "i32",
1559 "value": "0"
1560 }
1561 ]
1562 },
1563 "text": "out of bounds table access"
1564 },
1565 {
1566 "type": "module",
1567 "line": 244,
1568 "filename": "bulk.9.wasm",
1569 "module_type": "binary"
1570 },
1571 {
1572 "type": "action",
1573 "line": 261,
1574 "action": {
1575 "type": "invoke",
1576 "field": "init_passive",
1577 "args": [
1578 {
1579 "type": "i32",
1580 "value": "1"
1581 }
1582 ]
1583 }
1584 },
1585 {
1586 "type": "action",
1587 "line": 262,
1588 "action": {
1589 "type": "invoke",
1590 "field": "drop_passive",
1591 "args": []
1592 }
1593 },
1594 {
1595 "type": "action",
1596 "line": 263,
1597 "action": {
1598 "type": "invoke",
1599 "field": "drop_passive",
1600 "args": []
1601 }
1602 },
1603 {
1604 "type": "assert_return",
1605 "line": 264,
1606 "action": {
1607 "type": "invoke",
1608 "field": "init_passive",
1609 "args": [
1610 {
1611 "type": "i32",
1612 "value": "0"
1613 }
1614 ]
1615 },
1616 "expected": []
1617 },
1618 {
1619 "type": "assert_trap",
1620 "line": 265,
1621 "action": {
1622 "type": "invoke",
1623 "field": "init_passive",
1624 "args": [
1625 {
1626 "type": "i32",
1627 "value": "1"
1628 }
1629 ]
1630 },
1631 "text": "out of bounds table access"
1632 },
1633 {
1634 "type": "action",
1635 "line": 266,
1636 "action": {
1637 "type": "invoke",
1638 "field": "init_passive",
1639 "args": [
1640 {
1641 "type": "i32",
1642 "value": "0"
1643 }
1644 ]
1645 }
1646 },
1647 {
1648 "type": "action",
1649 "line": 267,
1650 "action": {
1651 "type": "invoke",
1652 "field": "drop_active",
1653 "args": []
1654 }
1655 },
1656 {
1657 "type": "assert_return",
1658 "line": 268,
1659 "action": {
1660 "type": "invoke",
1661 "field": "init_active",
1662 "args": [
1663 {
1664 "type": "i32",
1665 "value": "0"
1666 }
1667 ]
1668 },
1669 "expected": []
1670 },
1671 {
1672 "type": "assert_trap",
1673 "line": 269,
1674 "action": {
1675 "type": "invoke",
1676 "field": "init_active",
1677 "args": [
1678 {
1679 "type": "i32",
1680 "value": "1"
1681 }
1682 ]
1683 },
1684 "text": "out of bounds table access"
1685 },
1686 {
1687 "type": "action",
1688 "line": 270,
1689 "action": {
1690 "type": "invoke",
1691 "field": "init_active",
1692 "args": [
1693 {
1694 "type": "i32",
1695 "value": "0"
1696 }
1697 ]
1698 }
1699 },
1700 {
1701 "type": "module",
1702 "line": 274,
1703 "filename": "bulk.10.wasm",
1704 "module_type": "binary"
1705 },
1706 {
1707 "type": "module",
1708 "line": 297,
1709 "filename": "bulk.11.wasm",
1710 "module_type": "binary"
1711 },
1712 {
1713 "type": "module",
1714 "line": 300,
1715 "filename": "bulk.12.wasm",
1716 "module_type": "binary"
1717 },
1718 {
1719 "type": "action",
1720 "line": 319,
1721 "action": {
1722 "type": "invoke",
1723 "field": "copy",
1724 "args": [
1725 {
1726 "type": "i32",
1727 "value": "3"
1728 },
1729 {
1730 "type": "i32",
1731 "value": "0"
1732 },
1733 {
1734 "type": "i32",
1735 "value": "3"
1736 }
1737 ]
1738 }
1739 },
1740 {
1741 "type": "assert_return",
1742 "line": 321,
1743 "action": {
1744 "type": "invoke",
1745 "field": "call",
1746 "args": [
1747 {
1748 "type": "i32",
1749 "value": "3"
1750 }
1751 ]
1752 },
1753 "expected": [
1754 {
1755 "type": "i32",
1756 "value": "0"
1757 }
1758 ]
1759 },
1760 {
1761 "type": "assert_return",
1762 "line": 322,
1763 "action": {
1764 "type": "invoke",
1765 "field": "call",
1766 "args": [
1767 {
1768 "type": "i32",
1769 "value": "4"
1770 }
1771 ]
1772 },
1773 "expected": [
1774 {
1775 "type": "i32",
1776 "value": "1"
1777 }
1778 ]
1779 },
1780 {
1781 "type": "assert_return",
1782 "line": 323,
1783 "action": {
1784 "type": "invoke",
1785 "field": "call",
1786 "args": [
1787 {
1788 "type": "i32",
1789 "value": "5"
1790 }
1791 ]
1792 },
1793 "expected": [
1794 {
1795 "type": "i32",
1796 "value": "2"
1797 }
1798 ]
1799 },
1800 {
1801 "type": "action",
1802 "line": 326,
1803 "action": {
1804 "type": "invoke",
1805 "field": "copy",
1806 "args": [
1807 {
1808 "type": "i32",
1809 "value": "0"
1810 },
1811 {
1812 "type": "i32",
1813 "value": "1"
1814 },
1815 {
1816 "type": "i32",
1817 "value": "3"
1818 }
1819 ]
1820 }
1821 },
1822 {
1823 "type": "assert_return",
1824 "line": 328,
1825 "action": {
1826 "type": "invoke",
1827 "field": "call",
1828 "args": [
1829 {
1830 "type": "i32",
1831 "value": "0"
1832 }
1833 ]
1834 },
1835 "expected": [
1836 {
1837 "type": "i32",
1838 "value": "1"
1839 }
1840 ]
1841 },
1842 {
1843 "type": "assert_return",
1844 "line": 329,
1845 "action": {
1846 "type": "invoke",
1847 "field": "call",
1848 "args": [
1849 {
1850 "type": "i32",
1851 "value": "1"
1852 }
1853 ]
1854 },
1855 "expected": [
1856 {
1857 "type": "i32",
1858 "value": "2"
1859 }
1860 ]
1861 },
1862 {
1863 "type": "assert_return",
1864 "line": 330,
1865 "action": {
1866 "type": "invoke",
1867 "field": "call",
1868 "args": [
1869 {
1870 "type": "i32",
1871 "value": "2"
1872 }
1873 ]
1874 },
1875 "expected": [
1876 {
1877 "type": "i32",
1878 "value": "0"
1879 }
1880 ]
1881 },
1882 {
1883 "type": "action",
1884 "line": 333,
1885 "action": {
1886 "type": "invoke",
1887 "field": "copy",
1888 "args": [
1889 {
1890 "type": "i32",
1891 "value": "2"
1892 },
1893 {
1894 "type": "i32",
1895 "value": "0"
1896 },
1897 {
1898 "type": "i32",
1899 "value": "3"
1900 }
1901 ]
1902 }
1903 },
1904 {
1905 "type": "assert_return",
1906 "line": 335,
1907 "action": {
1908 "type": "invoke",
1909 "field": "call",
1910 "args": [
1911 {
1912 "type": "i32",
1913 "value": "2"
1914 }
1915 ]
1916 },
1917 "expected": [
1918 {
1919 "type": "i32",
1920 "value": "1"
1921 }
1922 ]
1923 },
1924 {
1925 "type": "assert_return",
1926 "line": 336,
1927 "action": {
1928 "type": "invoke",
1929 "field": "call",
1930 "args": [
1931 {
1932 "type": "i32",
1933 "value": "3"
1934 }
1935 ]
1936 },
1937 "expected": [
1938 {
1939 "type": "i32",
1940 "value": "2"
1941 }
1942 ]
1943 },
1944 {
1945 "type": "assert_return",
1946 "line": 337,
1947 "action": {
1948 "type": "invoke",
1949 "field": "call",
1950 "args": [
1951 {
1952 "type": "i32",
1953 "value": "4"
1954 }
1955 ]
1956 },
1957 "expected": [
1958 {
1959 "type": "i32",
1960 "value": "0"
1961 }
1962 ]
1963 },
1964 {
1965 "type": "action",
1966 "line": 340,
1967 "action": {
1968 "type": "invoke",
1969 "field": "copy",
1970 "args": [
1971 {
1972 "type": "i32",
1973 "value": "6"
1974 },
1975 {
1976 "type": "i32",
1977 "value": "8"
1978 },
1979 {
1980 "type": "i32",
1981 "value": "2"
1982 }
1983 ]
1984 }
1985 },
1986 {
1987 "type": "action",
1988 "line": 341,
1989 "action": {
1990 "type": "invoke",
1991 "field": "copy",
1992 "args": [
1993 {
1994 "type": "i32",
1995 "value": "8"
1996 },
1997 {
1998 "type": "i32",
1999 "value": "6"
2000 },
2001 {
2002 "type": "i32",
2003 "value": "2"
2004 }
2005 ]
2006 }
2007 },
2008 {
2009 "type": "action",
2010 "line": 344,
2011 "action": {
2012 "type": "invoke",
2013 "field": "copy",
2014 "args": [
2015 {
2016 "type": "i32",
2017 "value": "10"
2018 },
2019 {
2020 "type": "i32",
2021 "value": "0"
2022 },
2023 {
2024 "type": "i32",
2025 "value": "0"
2026 }
2027 ]
2028 }
2029 },
2030 {
2031 "type": "action",
2032 "line": 345,
2033 "action": {
2034 "type": "invoke",
2035 "field": "copy",
2036 "args": [
2037 {
2038 "type": "i32",
2039 "value": "0"
2040 },
2041 {
2042 "type": "i32",
2043 "value": "10"
2044 },
2045 {
2046 "type": "i32",
2047 "value": "0"
2048 }
2049 ]
2050 }
2051 },
2052 {
2053 "type": "assert_trap",
2054 "line": 348,
2055 "action": {
2056 "type": "invoke",
2057 "field": "copy",
2058 "args": [
2059 {
2060 "type": "i32",
2061 "value": "11"
2062 },
2063 {
2064 "type": "i32",
2065 "value": "0"
2066 },
2067 {
2068 "type": "i32",
2069 "value": "0"
2070 }
2071 ]
2072 },
2073 "text": "out of bounds table access"
2074 },
2075 {
2076 "type": "assert_trap",
2077 "line": 350,
2078 "action": {
2079 "type": "invoke",
2080 "field": "copy",
2081 "args": [
2082 {
2083 "type": "i32",
2084 "value": "0"
2085 },
2086 {
2087 "type": "i32",
2088 "value": "11"
2089 },
2090 {
2091 "type": "i32",
2092 "value": "0"
2093 }
2094 ]
2095 },
2096 "text": "out of bounds table access"
2097 }
2098 ]
2099 }