Debian Codegraph @

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

raw
1 {
2 "source_filename": "tests/testsuite/proposals/wasm-3.0/linking0.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 1,
7 "name": "Mt",
8 "filename": "linking0.0.wasm",
9 "module_type": "binary"
10 },
11 {
12 "type": "register",
13 "line": 14,
14 "name": "Mt",
15 "as": "Mt"
16 },
17 {
18 "type": "assert_unlinkable",
19 "line": 17,
20 "filename": "linking0.1.wasm",
21 "module_type": "binary",
22 "text": "unknown import"
23 },
24 {
25 "type": "assert_trap",
26 "line": 27,
27 "action": {
28 "type": "invoke",
29 "module": "Mt",
30 "field": "call",
31 "args": [
32 {
33 "type": "i32",
34 "value": "7"
35 }
36 ]
37 },
38 "text": "uninitialized element"
39 },
40 {
41 "type": "assert_uninstantiable",
42 "line": 31,
43 "filename": "linking0.2.wasm",
44 "module_type": "binary",
45 "text": "out of bounds memory access"
46 },
47 {
48 "type": "assert_return",
49 "line": 42,
50 "action": {
51 "type": "invoke",
52 "module": "Mt",
53 "field": "call",
54 "args": [
55 {
56 "type": "i32",
57 "value": "7"
58 }
59 ]
60 },
61 "expected": [
62 {
63 "type": "i32",
64 "value": "0"
65 }
66 ]
67 }
68 ]
69 }