summaryrefslogtreecommitdiff
path: root/test/binary/bad-data-size.txt
blob: 0d6d88ef93c645a2d552de7abda697f0445484dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
;;; TOOL: run-gen-wasm-interp
;;; ERROR: 1
magic
version
section(MEMORY) {
  count[1]
  has_max[0]
  initial[0]
}
section(DATA) {
  count[1]
  memory_index[0]
  offset[i32.const 0 end]
  data[str("overflow")]
}
(;; STDERR ;;;
error initializing module: out of bounds memory access: data segment is out of bounds: [0, 8) >= max value 0
;;; STDERR ;;)