| 1 |
{ |
| 2 |
"source_filename": "tests/testsuite/proposals/wasm-3.0/traps0.wast", |
| 3 |
"commands": [ |
| 4 |
{ |
| 5 |
"type": "module", |
| 6 |
"line": 1, |
| 7 |
"filename": "traps0.0.wasm", |
| 8 |
"module_type": "binary" |
| 9 |
}, |
| 10 |
{ |
| 11 |
"type": "assert_trap", |
| 12 |
"line": 22, |
| 13 |
"action": { |
| 14 |
"type": "invoke", |
| 15 |
"field": "no_dce.i32.load", |
| 16 |
"args": [ |
| 17 |
{ |
| 18 |
"type": "i32", |
| 19 |
"value": "65536" |
| 20 |
} |
| 21 |
] |
| 22 |
}, |
| 23 |
"text": "out of bounds memory access" |
| 24 |
}, |
| 25 |
{ |
| 26 |
"type": "assert_trap", |
| 27 |
"line": 23, |
| 28 |
"action": { |
| 29 |
"type": "invoke", |
| 30 |
"field": "no_dce.i32.load16_s", |
| 31 |
"args": [ |
| 32 |
{ |
| 33 |
"type": "i32", |
| 34 |
"value": "65536" |
| 35 |
} |
| 36 |
] |
| 37 |
}, |
| 38 |
"text": "out of bounds memory access" |
| 39 |
}, |
| 40 |
{ |
| 41 |
"type": "assert_trap", |
| 42 |
"line": 24, |
| 43 |
"action": { |
| 44 |
"type": "invoke", |
| 45 |
"field": "no_dce.i32.load16_u", |
| 46 |
"args": [ |
| 47 |
{ |
| 48 |
"type": "i32", |
| 49 |
"value": "65536" |
| 50 |
} |
| 51 |
] |
| 52 |
}, |
| 53 |
"text": "out of bounds memory access" |
| 54 |
}, |
| 55 |
{ |
| 56 |
"type": "assert_trap", |
| 57 |
"line": 25, |
| 58 |
"action": { |
| 59 |
"type": "invoke", |
| 60 |
"field": "no_dce.i32.load8_s", |
| 61 |
"args": [ |
| 62 |
{ |
| 63 |
"type": "i32", |
| 64 |
"value": "65536" |
| 65 |
} |
| 66 |
] |
| 67 |
}, |
| 68 |
"text": "out of bounds memory access" |
| 69 |
}, |
| 70 |
{ |
| 71 |
"type": "assert_trap", |
| 72 |
"line": 26, |
| 73 |
"action": { |
| 74 |
"type": "invoke", |
| 75 |
"field": "no_dce.i32.load8_u", |
| 76 |
"args": [ |
| 77 |
{ |
| 78 |
"type": "i32", |
| 79 |
"value": "65536" |
| 80 |
} |
| 81 |
] |
| 82 |
}, |
| 83 |
"text": "out of bounds memory access" |
| 84 |
}, |
| 85 |
{ |
| 86 |
"type": "assert_trap", |
| 87 |
"line": 27, |
| 88 |
"action": { |
| 89 |
"type": "invoke", |
| 90 |
"field": "no_dce.i64.load", |
| 91 |
"args": [ |
| 92 |
{ |
| 93 |
"type": "i32", |
| 94 |
"value": "65536" |
| 95 |
} |
| 96 |
] |
| 97 |
}, |
| 98 |
"text": "out of bounds memory access" |
| 99 |
}, |
| 100 |
{ |
| 101 |
"type": "assert_trap", |
| 102 |
"line": 28, |
| 103 |
"action": { |
| 104 |
"type": "invoke", |
| 105 |
"field": "no_dce.i64.load32_s", |
| 106 |
"args": [ |
| 107 |
{ |
| 108 |
"type": "i32", |
| 109 |
"value": "65536" |
| 110 |
} |
| 111 |
] |
| 112 |
}, |
| 113 |
"text": "out of bounds memory access" |
| 114 |
}, |
| 115 |
{ |
| 116 |
"type": "assert_trap", |
| 117 |
"line": 29, |
| 118 |
"action": { |
| 119 |
"type": "invoke", |
| 120 |
"field": "no_dce.i64.load32_u", |
| 121 |
"args": [ |
| 122 |
{ |
| 123 |
"type": "i32", |
| 124 |
"value": "65536" |
| 125 |
} |
| 126 |
] |
| 127 |
}, |
| 128 |
"text": "out of bounds memory access" |
| 129 |
}, |
| 130 |
{ |
| 131 |
"type": "assert_trap", |
| 132 |
"line": 30, |
| 133 |
"action": { |
| 134 |
"type": "invoke", |
| 135 |
"field": "no_dce.i64.load16_s", |
| 136 |
"args": [ |
| 137 |
{ |
| 138 |
"type": "i32", |
| 139 |
"value": "65536" |
| 140 |
} |
| 141 |
] |
| 142 |
}, |
| 143 |
"text": "out of bounds memory access" |
| 144 |
}, |
| 145 |
{ |
| 146 |
"type": "assert_trap", |
| 147 |
"line": 31, |
| 148 |
"action": { |
| 149 |
"type": "invoke", |
| 150 |
"field": "no_dce.i64.load16_u", |
| 151 |
"args": [ |
| 152 |
{ |
| 153 |
"type": "i32", |
| 154 |
"value": "65536" |
| 155 |
} |
| 156 |
] |
| 157 |
}, |
| 158 |
"text": "out of bounds memory access" |
| 159 |
}, |
| 160 |
{ |
| 161 |
"type": "assert_trap", |
| 162 |
"line": 32, |
| 163 |
"action": { |
| 164 |
"type": "invoke", |
| 165 |
"field": "no_dce.i64.load8_s", |
| 166 |
"args": [ |
| 167 |
{ |
| 168 |
"type": "i32", |
| 169 |
"value": "65536" |
| 170 |
} |
| 171 |
] |
| 172 |
}, |
| 173 |
"text": "out of bounds memory access" |
| 174 |
}, |
| 175 |
{ |
| 176 |
"type": "assert_trap", |
| 177 |
"line": 33, |
| 178 |
"action": { |
| 179 |
"type": "invoke", |
| 180 |
"field": "no_dce.i64.load8_u", |
| 181 |
"args": [ |
| 182 |
{ |
| 183 |
"type": "i32", |
| 184 |
"value": "65536" |
| 185 |
} |
| 186 |
] |
| 187 |
}, |
| 188 |
"text": "out of bounds memory access" |
| 189 |
}, |
| 190 |
{ |
| 191 |
"type": "assert_trap", |
| 192 |
"line": 34, |
| 193 |
"action": { |
| 194 |
"type": "invoke", |
| 195 |
"field": "no_dce.f32.load", |
| 196 |
"args": [ |
| 197 |
{ |
| 198 |
"type": "i32", |
| 199 |
"value": "65536" |
| 200 |
} |
| 201 |
] |
| 202 |
}, |
| 203 |
"text": "out of bounds memory access" |
| 204 |
}, |
| 205 |
{ |
| 206 |
"type": "assert_trap", |
| 207 |
"line": 35, |
| 208 |
"action": { |
| 209 |
"type": "invoke", |
| 210 |
"field": "no_dce.f64.load", |
| 211 |
"args": [ |
| 212 |
{ |
| 213 |
"type": "i32", |
| 214 |
"value": "65536" |
| 215 |
} |
| 216 |
] |
| 217 |
}, |
| 218 |
"text": "out of bounds memory access" |
| 219 |
} |
| 220 |
] |
| 221 |
} |