blob: 7d217b8a5e7826887be79dd0b5e40d0645cafd05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
;;; TOOL: run-gen-wasm-bad
magic
version
section(GLOBAL) {
count[1]
type[i32] mut[0] init_expr[i32.const 0 end]
}
section("linking") {
metadata_version[2]
section(LINKING_SYMBOL_TABLE) {
num_symbols[1]
type[2]
flags[1]
index[1]
str("global OOB")
}
}
(;; STDERR ;;;
error: invalid global index: 1
000002c: error: OnGlobalSymbol callback failed
error: invalid global index: 1
000002c: error: OnGlobalSymbol callback failed
;;; STDERR ;;)
|