From be7ce1b4401bf3f507b03bf450547531d127acd4 Mon Sep 17 00:00:00 2001 From: Ryan Hunt Date: Thu, 14 Nov 2019 04:21:01 -0600 Subject: [PATCH] [spec] Bounds check bulk-memory before execution (#123) Spec issue: https://github.com/webassembly/bulk-memory-operations/issues/111 This commit changes the semantics of bulk-memory instructions to perform an upfront bounds check and trap if any access would be out-of-bounds without writing. This affects the following: * memory.init/copy/fill * table.init/copy (fill requires reftypes) * data segment init (lowers to memory.init) * elem segment init (lowers to table.init) --- document/core/exec/instructions.rst | 40 +- interpreter/exec/eval.ml | 114 +- test/core/bulk.wast | 23 +- test/core/memory_copy.wast | 5805 +++++++++++++-------------- test/core/memory_fill.wast | 12 +- test/core/memory_init.wast | 36 +- test/core/table_copy.wast | 98 +- test/core/table_init.wast | 306 +- test/meta/generate_memory_copy.js | 31 +- test/meta/generate_memory_fill.js | 5 +- test/meta/generate_memory_init.js | 4 +- test/meta/generate_table_copy.js | 29 +- test/meta/generate_table_init.js | 8 +- 13 files changed, 3177 insertions(+), 3334 deletions(-) diff --git a/document/core/exec/instructions.rst b/document/core/exec/instructions.rst index a3fdaa5e..8dc36e76 100644 --- a/document/core/exec/instructions.rst +++ b/document/core/exec/instructions.rst @@ -730,25 +730,25 @@ Memory Instructions 9. Let :math:`\X{data}^?` be the optional :ref:`data instance ` :math:`S.\SDATA[\X{da}]`. -10. If :math:`\X{data}^? = \epsilon`, then: +10. Assert: due to :ref:`validation `, a value of :ref:`value type ` |I32| is on the top of the stack. - a. Trap. +11. Pop the value :math:`\I32.\CONST~cnt` from the stack. -11. Assert: due to :ref:`validation `, a value of :ref:`value type ` |I32| is on the top of the stack. +12. Assert: due to :ref:`validation `, a value of :ref:`value type ` |I32| is on the top of the stack. -12. Pop the value :math:`\I32.\CONST~cnt` from the stack. +13. Pop the value :math:`\I32.\CONST~src` from the stack. -13. Assert: due to :ref:`validation `, a value of :ref:`value type ` |I32| is on the top of the stack. +14. Assert: due to :ref:`validation `, a value of :ref:`value type ` |I32| is on the top of the stack. -14. Pop the value :math:`\I32.\CONST~src` from the stack. +15. Pop the value :math:`\I32.\CONST~dst` from the stack. -15. Assert: due to :ref:`validation `, a value of :ref:`value type ` |I32| is on the top of the stack. +16. If :math:`cnt = 0`, then: -16. Pop the value :math:`\I32.\CONST~dst` from the stack. + a. Return. -17. If :math:`cnt = 0`, then: +17. If :math:`\X{data}^? = \epsilon`, then: - a. Return. + a. Trap. 18. If :math:`cnt = 1`, then: @@ -1091,25 +1091,25 @@ Table Instructions 9. Let :math:`\X{elem}^?` be the optional :ref:`element instance ` :math:`S.\SELEM[\X{ea}]`. -10. If :math:`\X{elem}^? = \epsilon`, then: +10. Assert: due to :ref:`validation `, a value of :ref:`value type ` |I32| is on the top of the stack. - a. Trap. +11. Pop the value :math:`\I32.\CONST~cnt` from the stack. -11. Assert: due to :ref:`validation `, a value of :ref:`value type ` |I32| is on the top of the stack. +12. Assert: due to :ref:`validation `, a value of :ref:`value type ` |I32| is on the top of the stack. -12. Pop the value :math:`\I32.\CONST~cnt` from the stack. +13. Pop the value :math:`\I32.\CONST~src` from the stack. -13. Assert: due to :ref:`validation `, a value of :ref:`value type ` |I32| is on the top of the stack. +14. Assert: due to :ref:`validation `, a value of :ref:`value type ` |I32| is on the top of the stack. -14. Pop the value :math:`\I32.\CONST~src` from the stack. +15. Pop the value :math:`\I32.\CONST~dst` from the stack. -15. Assert: due to :ref:`validation `, a value of :ref:`value type ` |I32| is on the top of the stack. +16. If :math:`cnt = 0`, then: -16. Pop the value :math:`\I32.\CONST~dst` from the stack. + a. Return. -17. If :math:`cnt = 0`, then: +17. If :math:`\X{elem}^? = \epsilon`, then: - a. Return. + a. Trap. 18. If :math:`cnt = 1`, then: diff --git a/interpreter/exec/eval.ml b/interpreter/exec/eval.ml index 3fb6dc31..a56f8b99 100644 --- a/interpreter/exec/eval.ml +++ b/interpreter/exec/eval.ml @@ -117,9 +117,27 @@ let drop n (vs : 'a stack) at = * c : config *) -let const_i32_add i j at msg = - let k = I32.add i j in - if I32.lt_u k i then Trapping msg else Plain (Const (I32 k @@ at)) +let mem_oob frame x i n = + I64.gt_u (I64.add (I64_convert.extend_i32_u i) (I64_convert.extend_i32_u n)) + (Memory.bound (memory frame.inst x)) + +let data_oob frame x i n = + match !(data frame.inst x) with + | None -> false + | Some bs -> + I64.gt_u (I64.add (I64_convert.extend_i32_u i) (I64_convert.extend_i32_u n)) + (I64.of_int_u (String.length bs)) + +let table_oob frame x i n = + I64.gt_u (I64.add (I64_convert.extend_i32_u i) (I64_convert.extend_i32_u n)) + (I64_convert.extend_i32_u (Table.size (table frame.inst x))) + +let elem_oob frame x i n = + match !(elem frame.inst x) with + | None -> false + | Some es -> + I64.gt_u (I64.add (I64_convert.extend_i32_u i) (I64_convert.extend_i32_u n)) + (I64.of_int_u (List.length es)) let rec step (c : config) : config = let {frame; code = vs, es; _} = c in @@ -205,6 +223,10 @@ let rec step (c : config) : config = | TableCopy, I32 0l :: I32 s :: I32 d :: vs' -> vs', [] + | TableCopy, I32 n :: I32 s :: I32 d :: vs' + when table_oob frame (0l @@ e.at) s n || table_oob frame (0l @@ e.at) d n -> + vs', [Trapping (table_error e.at Table.Bounds) @@ e.at] + (* TODO: turn into small-step, but needs reference values *) | TableCopy, I32 n :: I32 s :: I32 d :: vs' -> let tab = table frame.inst (0l @@ e.at) in @@ -214,6 +236,10 @@ let rec step (c : config) : config = | TableInit x, I32 0l :: I32 s :: I32 d :: vs' -> vs', [] + | TableInit x, I32 n :: I32 s :: I32 d :: vs' + when table_oob frame (0l @@ e.at) d n || elem_oob frame x s n -> + vs', [Trapping (table_error e.at Table.Bounds) @@ e.at] + (* TODO: turn into small-step, but needs reference values *) | TableInit x, I32 n :: I32 s :: I32 d :: vs' -> let tab = table frame.inst (0l @@ e.at) in @@ -233,22 +259,22 @@ let rec step (c : config) : config = | Load {offset; ty; sz; _}, I32 i :: vs' -> let mem = memory frame.inst (0l @@ e.at) in - let addr = I64_convert.extend_i32_u i in + let a = I64_convert.extend_i32_u i in (try let v = match sz with - | None -> Memory.load_value mem addr offset ty - | Some (sz, ext) -> Memory.load_packed sz ext mem addr offset ty + | None -> Memory.load_value mem a offset ty + | Some (sz, ext) -> Memory.load_packed sz ext mem a offset ty in v :: vs', [] with exn -> vs', [Trapping (memory_error e.at exn) @@ e.at]) | Store {offset; sz; _}, v :: I32 i :: vs' -> let mem = memory frame.inst (0l @@ e.at) in - let addr = I64_convert.extend_i32_u i in + let a = I64_convert.extend_i32_u i in (try (match sz with - | None -> Memory.store_value mem addr offset v - | Some sz -> Memory.store_packed sz mem addr offset v + | None -> Memory.store_value mem a offset v + | Some sz -> Memory.store_packed sz mem a offset v ); vs', [] with exn -> vs', [Trapping (memory_error e.at exn) @@ e.at]); @@ -268,21 +294,17 @@ let rec step (c : config) : config = | MemoryFill, I32 0l :: v :: I32 i :: vs' -> vs', [] - | MemoryFill, I32 1l :: v :: I32 i :: vs' -> - vs', List.map (at e.at) [ - Plain (Const (I32 i @@ e.at)); - Plain (Const (v @@ e.at)); - Plain (Store - {ty = I32Type; align = 0; offset = 0l; sz = Some Memory.Pack8}); - ] + | MemoryFill, I32 n :: v :: I32 i :: vs' + when mem_oob frame (0l @@ e.at) i n -> + vs', [Trapping (memory_error e.at Memory.Bounds) @@ e.at] | MemoryFill, I32 n :: v :: I32 i :: vs' -> vs', List.map (at e.at) [ Plain (Const (I32 i @@ e.at)); Plain (Const (v @@ e.at)); - Plain (Const (I32 1l @@ e.at)); - Plain (MemoryFill); - const_i32_add i 1l e.at (memory_error e.at Memory.Bounds); + Plain (Store + {ty = I32Type; align = 0; offset = 0l; sz = Some Memory.Pack8}); + Plain (Const (I32 (I32.add i 1l) @@ e.at)); Plain (Const (v @@ e.at)); Plain (Const (I32 (I32.sub n 1l) @@ e.at)); Plain (MemoryFill); @@ -291,7 +313,11 @@ let rec step (c : config) : config = | MemoryCopy, I32 0l :: I32 s :: I32 d :: vs' -> vs', [] - | MemoryCopy, I32 1l :: I32 s :: I32 d :: vs' -> + | MemoryCopy, I32 n :: I32 s :: I32 d :: vs' + when mem_oob frame (0l @@ e.at) s n || mem_oob frame (0l @@ e.at) d n -> + vs', [Trapping (memory_error e.at Memory.Bounds) @@ e.at] + + | MemoryCopy, I32 n :: I32 s :: I32 d :: vs' when d <= s -> vs', List.map (at e.at) [ Plain (Const (I32 d @@ e.at)); Plain (Const (I32 s @@ e.at)); @@ -299,41 +325,37 @@ let rec step (c : config) : config = {ty = I32Type; align = 0; offset = 0l; sz = Some Memory.(Pack8, ZX)}); Plain (Store {ty = I32Type; align = 0; offset = 0l; sz = Some Memory.Pack8}); - ] - - | MemoryCopy, I32 n :: I32 s :: I32 d :: vs' when d <= s -> - vs', List.map (at e.at) [ - Plain (Const (I32 d @@ e.at)); - Plain (Const (I32 s @@ e.at)); - Plain (Const (I32 1l @@ e.at)); - Plain (MemoryCopy); - const_i32_add d 1l e.at (memory_error e.at Memory.Bounds); - const_i32_add s 1l e.at (memory_error e.at Memory.Bounds); + Plain (Const (I32 (I32.add d 1l) @@ e.at)); + Plain (Const (I32 (I32.add s 1l) @@ e.at)); Plain (Const (I32 (I32.sub n 1l) @@ e.at)); Plain (MemoryCopy); ] | MemoryCopy, I32 n :: I32 s :: I32 d :: vs' when s < d -> vs', List.map (at e.at) [ - const_i32_add d (I32.sub n 1l) e.at (memory_error e.at Memory.Bounds); - const_i32_add s (I32.sub n 1l) e.at (memory_error e.at Memory.Bounds); - Plain (Const (I32 1l @@ e.at)); + Plain (Const (I32 (I32.add d 1l) @@ e.at)); + Plain (Const (I32 (I32.add s 1l) @@ e.at)); + Plain (Const (I32 (I32.sub n 1l) @@ e.at)); Plain (MemoryCopy); Plain (Const (I32 d @@ e.at)); Plain (Const (I32 s @@ e.at)); - Plain (Const (I32 (I32.sub n 1l) @@ e.at)); - Plain (MemoryCopy); + Plain (Load + {ty = I32Type; align = 0; offset = 0l; sz = Some Memory.(Pack8, ZX)}); + Plain (Store + {ty = I32Type; align = 0; offset = 0l; sz = Some Memory.Pack8}); ] | MemoryInit x, I32 0l :: I32 s :: I32 d :: vs' -> vs', [] - | MemoryInit x, I32 1l :: I32 s :: I32 d :: vs' -> + | MemoryInit x, I32 n :: I32 s :: I32 d :: vs' + when mem_oob frame (0l @@ e.at) d n || data_oob frame x s n -> + vs', [Trapping (memory_error e.at Memory.Bounds) @@ e.at] + + | MemoryInit x, I32 n :: I32 s :: I32 d :: vs' -> (match !(data frame.inst x) with | None -> vs', [Trapping "data segment dropped" @@ e.at] - | Some bs when Int32.to_int s >= String.length bs -> - vs', [Trapping "out of bounds data segment access" @@ e.at] | Some bs -> let b = Int32.of_int (Char.code bs.[Int32.to_int s]) in vs', List.map (at e.at) [ @@ -341,21 +363,13 @@ let rec step (c : config) : config = Plain (Const (I32 b @@ e.at)); Plain ( Store {ty = I32Type; align = 0; offset = 0l; sz = Some Memory.Pack8}); + Plain (Const (I32 (I32.add d 1l) @@ e.at)); + Plain (Const (I32 (I32.add s 1l) @@ e.at)); + Plain (Const (I32 (I32.sub n 1l) @@ e.at)); + Plain (MemoryInit x); ] ) - | MemoryInit x, I32 n :: I32 s :: I32 d :: vs' -> - vs', List.map (at e.at) [ - Plain (Const (I32 d @@ e.at)); - Plain (Const (I32 s @@ e.at)); - Plain (Const (I32 1l @@ e.at)); - Plain (MemoryInit x); - const_i32_add d 1l e.at (memory_error e.at Memory.Bounds); - const_i32_add s 1l e.at (memory_error e.at Memory.Bounds); - Plain (Const (I32 (I32.sub n 1l) @@ e.at)); - Plain (MemoryInit x); - ] - | DataDrop x, vs -> let seg = data frame.inst x in (match !seg with diff --git a/test/core/bulk.wast b/test/core/bulk.wast index 0324fb20..9e26519e 100644 --- a/test/core/bulk.wast +++ b/test/core/bulk.wast @@ -39,11 +39,11 @@ ;; Fill all of memory (invoke "fill" (i32.const 0) (i32.const 0) (i32.const 0x10000)) -;; Out-of-bounds writes trap, but all previous writes succeed. +;; Out-of-bounds writes trap, and nothing is written (assert_trap (invoke "fill" (i32.const 0xff00) (i32.const 1) (i32.const 0x101)) "out of bounds memory access") -(assert_return (invoke "load8_u" (i32.const 0xff00)) (i32.const 1)) -(assert_return (invoke "load8_u" (i32.const 0xffff)) (i32.const 1)) +(assert_return (invoke "load8_u" (i32.const 0xff00)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 0xffff)) (i32.const 0)) ;; Succeed when writing 0 bytes at the end of the region. (invoke "fill" (i32.const 0x10000) (i32.const 0) (i32.const 0)) @@ -131,11 +131,11 @@ ;; Init ending at memory limit and segment limit is ok. (invoke "init" (i32.const 0xfffc) (i32.const 0) (i32.const 4)) -;; Out-of-bounds writes trap, but all previous writes succeed. +;; Out-of-bounds writes trap, and nothing is written. (assert_trap (invoke "init" (i32.const 0xfffe) (i32.const 0) (i32.const 3)) "out of bounds memory access") -(assert_return (invoke "load8_u" (i32.const 0xfffe)) (i32.const 0xaa)) -(assert_return (invoke "load8_u" (i32.const 0xffff)) (i32.const 0xbb)) +(assert_return (invoke "load8_u" (i32.const 0xfffe)) (i32.const 0xcc)) +(assert_return (invoke "load8_u" (i32.const 0xffff)) (i32.const 0xdd)) ;; Succeed when writing 0 bytes at the end of either region. (invoke "init" (i32.const 0x10000) (i32.const 0) (i32.const 0)) @@ -190,6 +190,12 @@ (local.get 0))) ) +;; Out-of-bounds stores trap, and nothing is written. +(assert_trap (invoke "init" (i32.const 2) (i32.const 0) (i32.const 2)) + "out of bounds table access") +(assert_trap (invoke "call" (i32.const 2)) + "uninitialized element 2") + (invoke "init" (i32.const 0) (i32.const 1) (i32.const 2)) (assert_return (invoke "call" (i32.const 0)) (i32.const 1)) (assert_return (invoke "call" (i32.const 1)) (i32.const 0)) @@ -198,11 +204,6 @@ ;; Init ending at table limit and segment limit is ok. (invoke "init" (i32.const 1) (i32.const 2) (i32.const 2)) -;; Out-of-bounds stores trap, but all previous stores succeed. -(assert_trap (invoke "init" (i32.const 2) (i32.const 0) (i32.const 2)) - "out of bounds table access") -(assert_return (invoke "call" (i32.const 2)) (i32.const 0)) - ;; Succeed when storing 0 elements at the end of either region. (invoke "init" (i32.const 3) (i32.const 0) (i32.const 0)) (invoke "init" (i32.const 0) (i32.const 4) (i32.const 0)) diff --git a/test/core/memory_copy.wast b/test/core/memory_copy.wast index 55bbaf9c..cb46144d 100644 --- a/test/core/memory_copy.wast +++ b/test/core/memory_copy.wast @@ -1072,2954 +1072,2863 @@ (assert_trap (invoke "run" (i32.const 0) (i32.const 65516) (i32.const 40)) "out of bounds") -(assert_return (invoke "load8_u" (i32.const 0)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1)) (i32.const 1)) -(assert_return (invoke "load8_u" (i32.const 2)) (i32.const 2)) -(assert_return (invoke "load8_u" (i32.const 3)) (i32.const 3)) -(assert_return (invoke "load8_u" (i32.const 4)) (i32.const 4)) -(assert_return (invoke "load8_u" (i32.const 5)) (i32.const 5)) -(assert_return (invoke "load8_u" (i32.const 6)) (i32.const 6)) -(assert_return (invoke "load8_u" (i32.const 7)) (i32.const 7)) -(assert_return (invoke "load8_u" (i32.const 8)) (i32.const 8)) -(assert_return (invoke "load8_u" (i32.const 9)) (i32.const 9)) -(assert_return (invoke "load8_u" (i32.const 10)) (i32.const 10)) -(assert_return (invoke "load8_u" (i32.const 11)) (i32.const 11)) -(assert_return (invoke "load8_u" (i32.const 12)) (i32.const 12)) -(assert_return (invoke "load8_u" (i32.const 13)) (i32.const 13)) -(assert_return (invoke "load8_u" (i32.const 14)) (i32.const 14)) -(assert_return (invoke "load8_u" (i32.const 15)) (i32.const 15)) -(assert_return (invoke "load8_u" (i32.const 16)) (i32.const 16)) -(assert_return (invoke "load8_u" (i32.const 17)) (i32.const 17)) -(assert_return (invoke "load8_u" (i32.const 18)) (i32.const 18)) -(assert_return (invoke "load8_u" (i32.const 19)) (i32.const 19)) -(assert_return (invoke "load8_u" (i32.const 218)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 417)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 616)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 815)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1014)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1213)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1412)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1611)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1810)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2009)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2208)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2407)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2606)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2805)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3004)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3203)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3402)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3601)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3800)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3999)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4198)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4397)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4596)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4795)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4994)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5193)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5392)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5591)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5790)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5989)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6188)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6387)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6586)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6785)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6984)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7183)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7382)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7581)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7780)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7979)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8178)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8377)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8576)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8775)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8974)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9173)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9372)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9571)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9770)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9969)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10168)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10367)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10566)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10765)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10964)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11163)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11362)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11561)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11760)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11959)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12158)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12357)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12556)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12755)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12954)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13153)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13352)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13551)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13750)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13949)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14148)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14347)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14546)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14745)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14944)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15143)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15342)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15541)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15740)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15939)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16138)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16337)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16536)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16735)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16934)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17133)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17332)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17531)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17730)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17929)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18128)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18327)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18526)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18725)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18924)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19123)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19322)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19521)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19720)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19919)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20118)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20317)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20516)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20715)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20914)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21113)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21312)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21511)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21710)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21909)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22108)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22307)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22506)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22705)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22904)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23103)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23302)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23501)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23700)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23899)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24098)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24297)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24496)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24695)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24894)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25093)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25292)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25491)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25690)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25889)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26088)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26287)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26486)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26685)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26884)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27083)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27282)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27481)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27680)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27879)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28078)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28277)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28476)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28675)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28874)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29073)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29272)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29471)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29670)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29869)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30068)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30267)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30466)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30665)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30864)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31063)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31262)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31461)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31660)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31859)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32058)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32257)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32456)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32655)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32854)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33053)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33252)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33451)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33650)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33849)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34048)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34247)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34446)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34645)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34844)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35043)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35242)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35441)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35640)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35839)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36038)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36237)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36436)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36635)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36834)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37033)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37232)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37431)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37630)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37829)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38028)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38227)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38426)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38625)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38824)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39023)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39222)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39421)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39620)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39819)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40018)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40217)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40416)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40615)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40814)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41013)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41212)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41411)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41610)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41809)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42008)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42207)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42406)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42605)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42804)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43003)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43202)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43401)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43600)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43799)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43998)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44197)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44396)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44595)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44794)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44993)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45192)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45391)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45590)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45789)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45988)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46187)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46386)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46585)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46784)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46983)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47182)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47381)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47580)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47779)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47978)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48177)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48376)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48575)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48774)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48973)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49172)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49371)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49570)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49769)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49968)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50167)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50366)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50565)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50764)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50963)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51162)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51361)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51560)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51759)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51958)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52157)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52356)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52555)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52754)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52953)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53152)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53351)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53550)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53749)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53948)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54147)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54346)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54545)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54744)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54943)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55142)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55341)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55540)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55739)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55938)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56137)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56336)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56535)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56734)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56933)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57132)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57331)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57530)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57729)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57928)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58127)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58326)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58525)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58724)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58923)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59122)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59321)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59520)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59719)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59918)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60117)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60316)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60515)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60714)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60913)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61112)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61311)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61510)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61709)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61908)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62107)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62306)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62505)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62704)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62903)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63102)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63301)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63500)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63699)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63898)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64097)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64296)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64495)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64694)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64893)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65092)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65291)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65490)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65516)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65517)) (i32.const 1)) -(assert_return (invoke "load8_u" (i32.const 65518)) (i32.const 2)) -(assert_return (invoke "load8_u" (i32.const 65519)) (i32.const 3)) -(assert_return (invoke "load8_u" (i32.const 65520)) (i32.const 4)) -(assert_return (invoke "load8_u" (i32.const 65521)) (i32.const 5)) -(assert_return (invoke "load8_u" (i32.const 65522)) (i32.const 6)) -(assert_return (invoke "load8_u" (i32.const 65523)) (i32.const 7)) -(assert_return (invoke "load8_u" (i32.const 65524)) (i32.const 8)) -(assert_return (invoke "load8_u" (i32.const 65525)) (i32.const 9)) -(assert_return (invoke "load8_u" (i32.const 65526)) (i32.const 10)) -(assert_return (invoke "load8_u" (i32.const 65527)) (i32.const 11)) -(assert_return (invoke "load8_u" (i32.const 65528)) (i32.const 12)) -(assert_return (invoke "load8_u" (i32.const 65529)) (i32.const 13)) -(assert_return (invoke "load8_u" (i32.const 65530)) (i32.const 14)) -(assert_return (invoke "load8_u" (i32.const 65531)) (i32.const 15)) -(assert_return (invoke "load8_u" (i32.const 65532)) (i32.const 16)) -(assert_return (invoke "load8_u" (i32.const 65533)) (i32.const 17)) -(assert_return (invoke "load8_u" (i32.const 65534)) (i32.const 18)) -(assert_return (invoke "load8_u" (i32.const 65535)) (i32.const 19)) - -(module - (memory (export "mem") 1 1 ) - (data (i32.const 65515) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13\14") - (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) - (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) - (func (export "load8_u") (param i32) (result i32) - (i32.load8_u (local.get 0)))) - -(assert_trap (invoke "run" (i32.const 0) (i32.const 65515) (i32.const 39)) - "out of bounds") - -(assert_return (invoke "load8_u" (i32.const 0)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1)) (i32.const 1)) -(assert_return (invoke "load8_u" (i32.const 2)) (i32.const 2)) -(assert_return (invoke "load8_u" (i32.const 3)) (i32.const 3)) -(assert_return (invoke "load8_u" (i32.const 4)) (i32.const 4)) -(assert_return (invoke "load8_u" (i32.const 5)) (i32.const 5)) -(assert_return (invoke "load8_u" (i32.const 6)) (i32.const 6)) -(assert_return (invoke "load8_u" (i32.const 7)) (i32.const 7)) -(assert_return (invoke "load8_u" (i32.const 8)) (i32.const 8)) -(assert_return (invoke "load8_u" (i32.const 9)) (i32.const 9)) -(assert_return (invoke "load8_u" (i32.const 10)) (i32.const 10)) -(assert_return (invoke "load8_u" (i32.const 11)) (i32.const 11)) -(assert_return (invoke "load8_u" (i32.const 12)) (i32.const 12)) -(assert_return (invoke "load8_u" (i32.const 13)) (i32.const 13)) -(assert_return (invoke "load8_u" (i32.const 14)) (i32.const 14)) -(assert_return (invoke "load8_u" (i32.const 15)) (i32.const 15)) -(assert_return (invoke "load8_u" (i32.const 16)) (i32.const 16)) -(assert_return (invoke "load8_u" (i32.const 17)) (i32.const 17)) -(assert_return (invoke "load8_u" (i32.const 18)) (i32.const 18)) -(assert_return (invoke "load8_u" (i32.const 19)) (i32.const 19)) -(assert_return (invoke "load8_u" (i32.const 20)) (i32.const 20)) -(assert_return (invoke "load8_u" (i32.const 219)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 418)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 617)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 816)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1015)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1214)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1413)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1612)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1811)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2010)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2209)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2408)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2607)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2806)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3005)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3204)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3403)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3602)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3801)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4000)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4199)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4398)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4597)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4796)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4995)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5194)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5393)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5592)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5791)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5990)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6189)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6388)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6587)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6786)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6985)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7184)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7383)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7582)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7781)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7980)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8179)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8378)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8577)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8776)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8975)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9174)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9373)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9572)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9771)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9970)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10169)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10368)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10567)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10766)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10965)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11164)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11363)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11562)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11761)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11960)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12159)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12358)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12557)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12756)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12955)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13154)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13353)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13552)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13751)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13950)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14149)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14348)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14547)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14746)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14945)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15144)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15343)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15542)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15741)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15940)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16139)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16338)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16537)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16736)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16935)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17134)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17333)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17532)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17731)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17930)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18129)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18328)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18527)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18726)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18925)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19124)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19323)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19522)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19721)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19920)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20119)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20318)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20517)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20716)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20915)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21114)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21313)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21512)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21711)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21910)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22109)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22308)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22507)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22706)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22905)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23104)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23303)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23502)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23701)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23900)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24099)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24298)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24497)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24696)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24895)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25094)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25293)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25492)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25691)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25890)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26089)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26288)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26487)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26686)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26885)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27084)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27283)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27482)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27681)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27880)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28079)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28278)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28477)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28676)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28875)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29074)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29273)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29472)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29671)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29870)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30069)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30268)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30467)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30666)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30865)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31064)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31263)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31462)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31661)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31860)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32059)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32258)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32457)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32656)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32855)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33054)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33253)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33452)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33651)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33850)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34049)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34248)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34447)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34646)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34845)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35044)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35243)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35442)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35641)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35840)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36039)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36238)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36437)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36636)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36835)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37034)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37233)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37432)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37631)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37830)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38029)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38228)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38427)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38626)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38825)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39024)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39223)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39422)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39621)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39820)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40019)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40218)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40417)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40616)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40815)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41014)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41213)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41412)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41611)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41810)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42009)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42208)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42407)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42606)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42805)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43004)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43203)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43402)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43601)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43800)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43999)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44198)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44397)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44596)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44795)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44994)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45193)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45392)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45591)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45790)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45989)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46188)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46387)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46586)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46785)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46984)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47183)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47382)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47581)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47780)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47979)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48178)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48377)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48576)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48775)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48974)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49173)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49372)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49571)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49770)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49969)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50168)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50367)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50566)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50765)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50964)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51163)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51362)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51561)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51760)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51959)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52158)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52357)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52556)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52755)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52954)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53153)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53352)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53551)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53750)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53949)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54148)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54347)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54546)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54745)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54944)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55143)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55342)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55541)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55740)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55939)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56138)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56337)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56536)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56735)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56934)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57133)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57332)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57531)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57730)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57929)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58128)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58327)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58526)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58725)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58924)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59123)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59322)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59521)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59720)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59919)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60118)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60317)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60516)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60715)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60914)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61113)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61312)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61511)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61710)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61909)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62108)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62307)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62506)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62705)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62904)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63103)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63302)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63501)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63700)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63899)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64098)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64297)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64496)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64695)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64894)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65093)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65292)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65491)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65515)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65516)) (i32.const 1)) -(assert_return (invoke "load8_u" (i32.const 65517)) (i32.const 2)) -(assert_return (invoke "load8_u" (i32.const 65518)) (i32.const 3)) -(assert_return (invoke "load8_u" (i32.const 65519)) (i32.const 4)) -(assert_return (invoke "load8_u" (i32.const 65520)) (i32.const 5)) -(assert_return (invoke "load8_u" (i32.const 65521)) (i32.const 6)) -(assert_return (invoke "load8_u" (i32.const 65522)) (i32.const 7)) -(assert_return (invoke "load8_u" (i32.const 65523)) (i32.const 8)) -(assert_return (invoke "load8_u" (i32.const 65524)) (i32.const 9)) -(assert_return (invoke "load8_u" (i32.const 65525)) (i32.const 10)) -(assert_return (invoke "load8_u" (i32.const 65526)) (i32.const 11)) -(assert_return (invoke "load8_u" (i32.const 65527)) (i32.const 12)) -(assert_return (invoke "load8_u" (i32.const 65528)) (i32.const 13)) -(assert_return (invoke "load8_u" (i32.const 65529)) (i32.const 14)) -(assert_return (invoke "load8_u" (i32.const 65530)) (i32.const 15)) -(assert_return (invoke "load8_u" (i32.const 65531)) (i32.const 16)) -(assert_return (invoke "load8_u" (i32.const 65532)) (i32.const 17)) -(assert_return (invoke "load8_u" (i32.const 65533)) (i32.const 18)) -(assert_return (invoke "load8_u" (i32.const 65534)) (i32.const 19)) -(assert_return (invoke "load8_u" (i32.const 65535)) (i32.const 20)) - -(module - (memory (export "mem") 1 1 ) - (data (i32.const 65486) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13") - (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) - (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) - (func (export "load8_u") (param i32) (result i32) - (i32.load8_u (local.get 0)))) - -(assert_trap (invoke "run" (i32.const 65516) (i32.const 65486) (i32.const 40)) - "out of bounds") - -(assert_return (invoke "load8_u" (i32.const 198)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 397)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 596)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 795)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 994)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1193)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1392)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1591)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1790)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1989)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2188)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2387)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2586)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2785)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2984)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3183)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3382)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3581)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3780)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3979)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4178)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4377)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4576)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4775)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4974)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5173)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5372)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5571)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5770)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5969)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6168)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6367)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6566)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6765)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6964)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7163)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7362)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7561)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7760)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7959)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8158)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8357)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8556)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8755)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8954)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9153)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9352)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9551)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9750)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9949)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10148)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10347)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10546)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10745)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10944)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11143)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11342)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11541)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11740)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11939)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12138)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12337)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12536)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12735)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12934)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13133)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13332)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13531)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13730)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13929)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14128)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14327)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14526)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14725)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14924)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15123)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15322)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15521)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15720)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15919)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16118)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16317)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16516)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16715)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16914)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17113)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17312)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17511)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17710)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17909)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18108)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18307)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18506)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18705)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18904)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19103)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19302)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19501)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19700)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19899)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20098)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20297)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20496)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20695)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20894)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21093)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21292)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21491)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21690)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21889)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22088)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22287)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22486)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22685)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22884)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23083)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23282)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23481)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23680)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23879)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24078)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24277)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24476)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24675)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24874)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25073)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25272)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25471)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25670)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25869)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26068)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26267)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26466)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26665)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26864)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27063)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27262)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27461)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27660)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27859)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28058)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28257)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28456)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28655)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28854)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29053)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29252)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29451)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29650)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29849)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30048)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30247)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30446)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30645)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30844)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31043)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31242)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31441)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31640)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31839)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32038)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32237)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32436)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32635)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32834)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33033)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33232)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33431)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33630)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33829)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34028)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34227)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34426)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34625)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34824)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35023)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35222)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35421)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35620)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35819)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36018)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36217)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36416)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36615)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36814)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37013)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37212)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37411)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37610)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37809)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38008)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38207)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38406)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38605)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38804)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39003)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39202)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39401)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39600)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39799)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39998)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40197)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40396)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40595)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40794)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40993)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41192)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41391)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41590)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41789)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41988)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42187)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42386)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42585)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42784)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42983)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43182)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43381)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43580)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43779)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43978)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44177)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44376)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44575)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44774)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44973)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45172)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45371)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45570)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45769)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45968)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46167)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46366)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46565)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46764)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46963)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47162)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47361)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47560)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47759)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47958)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48157)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48356)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48555)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48754)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48953)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49152)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49351)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49550)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49749)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49948)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50147)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50346)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50545)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50744)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50943)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51142)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51341)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51540)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51739)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51938)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52137)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52336)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52535)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52734)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52933)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53132)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53331)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53530)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53729)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53928)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54127)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54326)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54525)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54724)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54923)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55122)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55321)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55520)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55719)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55918)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56117)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56316)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56515)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56714)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56913)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57112)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57311)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57510)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57709)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57908)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58107)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58306)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58505)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58704)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58903)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59102)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59301)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59500)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59699)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59898)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60097)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60296)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60495)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60694)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60893)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61092)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61291)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61490)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61689)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61888)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62087)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62286)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62485)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62684)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62883)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63082)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63281)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63480)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63679)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63878)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64077)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64276)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64475)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64674)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64873)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65072)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65271)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65470)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65486)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65487)) (i32.const 1)) -(assert_return (invoke "load8_u" (i32.const 65488)) (i32.const 2)) -(assert_return (invoke "load8_u" (i32.const 65489)) (i32.const 3)) -(assert_return (invoke "load8_u" (i32.const 65490)) (i32.const 4)) -(assert_return (invoke "load8_u" (i32.const 65491)) (i32.const 5)) -(assert_return (invoke "load8_u" (i32.const 65492)) (i32.const 6)) -(assert_return (invoke "load8_u" (i32.const 65493)) (i32.const 7)) -(assert_return (invoke "load8_u" (i32.const 65494)) (i32.const 8)) -(assert_return (invoke "load8_u" (i32.const 65495)) (i32.const 9)) -(assert_return (invoke "load8_u" (i32.const 65496)) (i32.const 10)) -(assert_return (invoke "load8_u" (i32.const 65497)) (i32.const 11)) -(assert_return (invoke "load8_u" (i32.const 65498)) (i32.const 12)) -(assert_return (invoke "load8_u" (i32.const 65499)) (i32.const 13)) -(assert_return (invoke "load8_u" (i32.const 65500)) (i32.const 14)) -(assert_return (invoke "load8_u" (i32.const 65501)) (i32.const 15)) -(assert_return (invoke "load8_u" (i32.const 65502)) (i32.const 16)) -(assert_return (invoke "load8_u" (i32.const 65503)) (i32.const 17)) -(assert_return (invoke "load8_u" (i32.const 65504)) (i32.const 18)) -(assert_return (invoke "load8_u" (i32.const 65505)) (i32.const 19)) - -(module - (memory (export "mem") 1 1 ) - (data (i32.const 65516) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13") - (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) - (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) - (func (export "load8_u") (param i32) (result i32) - (i32.load8_u (local.get 0)))) - -(assert_trap (invoke "run" (i32.const 65486) (i32.const 65516) (i32.const 40)) - "out of bounds") - -(assert_return (invoke "load8_u" (i32.const 198)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 397)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 596)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 795)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 994)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1193)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1392)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1591)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1790)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1989)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2188)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2387)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2586)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2785)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2984)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3183)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3382)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3581)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3780)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3979)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4178)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4377)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4576)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4775)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4974)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5173)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5372)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5571)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5770)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5969)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6168)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6367)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6566)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6765)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6964)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7163)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7362)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7561)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7760)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7959)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8158)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8357)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8556)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8755)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8954)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9153)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9352)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9551)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9750)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9949)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10148)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10347)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10546)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10745)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10944)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11143)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11342)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11541)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11740)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11939)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12138)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12337)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12536)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12735)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12934)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13133)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13332)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13531)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13730)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13929)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14128)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14327)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14526)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14725)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14924)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15123)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15322)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15521)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15720)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15919)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16118)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16317)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16516)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16715)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16914)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17113)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17312)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17511)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17710)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17909)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18108)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18307)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18506)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18705)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18904)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19103)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19302)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19501)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19700)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19899)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20098)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20297)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20496)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20695)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20894)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21093)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21292)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21491)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21690)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21889)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22088)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22287)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22486)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22685)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22884)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23083)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23282)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23481)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23680)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23879)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24078)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24277)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24476)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24675)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24874)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25073)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25272)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25471)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25670)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25869)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26068)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26267)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26466)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26665)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26864)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27063)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27262)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27461)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27660)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27859)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28058)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28257)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28456)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28655)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28854)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29053)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29252)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29451)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29650)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29849)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30048)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30247)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30446)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30645)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30844)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31043)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31242)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31441)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31640)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31839)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32038)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32237)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32436)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32635)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32834)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33033)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33232)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33431)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33630)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33829)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34028)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34227)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34426)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34625)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34824)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35023)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35222)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35421)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35620)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35819)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36018)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36217)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36416)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36615)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36814)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37013)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37212)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37411)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37610)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37809)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38008)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38207)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38406)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38605)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38804)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39003)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39202)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39401)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39600)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39799)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39998)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40197)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40396)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40595)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40794)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40993)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41192)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41391)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41590)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41789)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41988)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42187)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42386)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42585)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42784)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42983)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43182)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43381)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43580)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43779)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43978)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44177)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44376)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44575)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44774)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44973)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45172)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45371)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45570)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45769)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45968)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46167)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46366)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46565)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46764)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46963)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47162)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47361)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47560)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47759)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47958)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48157)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48356)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48555)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48754)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48953)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49152)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49351)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49550)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49749)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49948)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50147)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50346)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50545)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50744)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50943)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51142)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51341)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51540)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51739)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51938)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52137)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52336)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52535)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52734)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52933)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53132)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53331)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53530)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53729)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53928)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54127)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54326)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54525)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54724)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54923)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55122)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55321)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55520)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55719)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55918)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56117)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56316)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56515)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56714)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56913)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57112)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57311)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57510)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57709)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57908)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58107)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58306)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58505)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58704)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58903)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59102)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59301)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59500)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59699)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59898)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60097)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60296)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60495)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60694)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60893)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61092)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61291)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61490)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61689)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61888)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62087)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62286)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62485)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62684)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62883)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63082)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63281)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63480)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63679)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63878)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64077)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64276)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64475)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64674)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64873)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65072)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65271)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65470)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65486)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65487)) (i32.const 1)) -(assert_return (invoke "load8_u" (i32.const 65488)) (i32.const 2)) -(assert_return (invoke "load8_u" (i32.const 65489)) (i32.const 3)) -(assert_return (invoke "load8_u" (i32.const 65490)) (i32.const 4)) -(assert_return (invoke "load8_u" (i32.const 65491)) (i32.const 5)) -(assert_return (invoke "load8_u" (i32.const 65492)) (i32.const 6)) -(assert_return (invoke "load8_u" (i32.const 65493)) (i32.const 7)) -(assert_return (invoke "load8_u" (i32.const 65494)) (i32.const 8)) -(assert_return (invoke "load8_u" (i32.const 65495)) (i32.const 9)) -(assert_return (invoke "load8_u" (i32.const 65496)) (i32.const 10)) -(assert_return (invoke "load8_u" (i32.const 65497)) (i32.const 11)) -(assert_return (invoke "load8_u" (i32.const 65498)) (i32.const 12)) -(assert_return (invoke "load8_u" (i32.const 65499)) (i32.const 13)) -(assert_return (invoke "load8_u" (i32.const 65500)) (i32.const 14)) -(assert_return (invoke "load8_u" (i32.const 65501)) (i32.const 15)) -(assert_return (invoke "load8_u" (i32.const 65502)) (i32.const 16)) -(assert_return (invoke "load8_u" (i32.const 65503)) (i32.const 17)) -(assert_return (invoke "load8_u" (i32.const 65504)) (i32.const 18)) -(assert_return (invoke "load8_u" (i32.const 65505)) (i32.const 19)) -(assert_return (invoke "load8_u" (i32.const 65516)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65517)) (i32.const 1)) -(assert_return (invoke "load8_u" (i32.const 65518)) (i32.const 2)) -(assert_return (invoke "load8_u" (i32.const 65519)) (i32.const 3)) -(assert_return (invoke "load8_u" (i32.const 65520)) (i32.const 4)) -(assert_return (invoke "load8_u" (i32.const 65521)) (i32.const 5)) -(assert_return (invoke "load8_u" (i32.const 65522)) (i32.const 6)) -(assert_return (invoke "load8_u" (i32.const 65523)) (i32.const 7)) -(assert_return (invoke "load8_u" (i32.const 65524)) (i32.const 8)) -(assert_return (invoke "load8_u" (i32.const 65525)) (i32.const 9)) -(assert_return (invoke "load8_u" (i32.const 65526)) (i32.const 10)) -(assert_return (invoke "load8_u" (i32.const 65527)) (i32.const 11)) -(assert_return (invoke "load8_u" (i32.const 65528)) (i32.const 12)) -(assert_return (invoke "load8_u" (i32.const 65529)) (i32.const 13)) -(assert_return (invoke "load8_u" (i32.const 65530)) (i32.const 14)) -(assert_return (invoke "load8_u" (i32.const 65531)) (i32.const 15)) -(assert_return (invoke "load8_u" (i32.const 65532)) (i32.const 16)) -(assert_return (invoke "load8_u" (i32.const 65533)) (i32.const 17)) -(assert_return (invoke "load8_u" (i32.const 65534)) (i32.const 18)) -(assert_return (invoke "load8_u" (i32.const 65535)) (i32.const 19)) - -(module - (memory (export "mem") 1 1 ) - (data (i32.const 65506) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13") - (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) - (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) - (func (export "load8_u") (param i32) (result i32) - (i32.load8_u (local.get 0)))) - -(assert_trap (invoke "run" (i32.const 65516) (i32.const 65506) (i32.const 40)) - "out of bounds") - -(assert_return (invoke "load8_u" (i32.const 198)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 397)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 596)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 795)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 994)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1193)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1392)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1591)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1790)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1989)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2188)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2387)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2586)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2785)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2984)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3183)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3382)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3581)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3780)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3979)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4178)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4377)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4576)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4775)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4974)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5173)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5372)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5571)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5770)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5969)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6168)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6367)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6566)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6765)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6964)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7163)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7362)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7561)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7760)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7959)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8158)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8357)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8556)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8755)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8954)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9153)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9352)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9551)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9750)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9949)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10148)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10347)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10546)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10745)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10944)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11143)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11342)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11541)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11740)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11939)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12138)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12337)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12536)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12735)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12934)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13133)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13332)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13531)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13730)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13929)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14128)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14327)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14526)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14725)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14924)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15123)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15322)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15521)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15720)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15919)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16118)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16317)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16516)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16715)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16914)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17113)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17312)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17511)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17710)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17909)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18108)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18307)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18506)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18705)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18904)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19103)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19302)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19501)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19700)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19899)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20098)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20297)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20496)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20695)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20894)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21093)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21292)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21491)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21690)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21889)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22088)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22287)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22486)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22685)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22884)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23083)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23282)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23481)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23680)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23879)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24078)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24277)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24476)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24675)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24874)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25073)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25272)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25471)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25670)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25869)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26068)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26267)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26466)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26665)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26864)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27063)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27262)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27461)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27660)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27859)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28058)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28257)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28456)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28655)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28854)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29053)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29252)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29451)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29650)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29849)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30048)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30247)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30446)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30645)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30844)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31043)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31242)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31441)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31640)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31839)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32038)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32237)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32436)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32635)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32834)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33033)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33232)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33431)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33630)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33829)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34028)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34227)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34426)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34625)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34824)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35023)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35222)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35421)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35620)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35819)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36018)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36217)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36416)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36615)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36814)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37013)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37212)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37411)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37610)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37809)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38008)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38207)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38406)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38605)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38804)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39003)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39202)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39401)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39600)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39799)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39998)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40197)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40396)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40595)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40794)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40993)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41192)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41391)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41590)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41789)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41988)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42187)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42386)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42585)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42784)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42983)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43182)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43381)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43580)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43779)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43978)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44177)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44376)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44575)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44774)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44973)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45172)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45371)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45570)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45769)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45968)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46167)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46366)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46565)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46764)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46963)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47162)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47361)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47560)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47759)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47958)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48157)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48356)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48555)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48754)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48953)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49152)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49351)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49550)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49749)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49948)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50147)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50346)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50545)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50744)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50943)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51142)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51341)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51540)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51739)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51938)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52137)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52336)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52535)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52734)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52933)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53132)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53331)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53530)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53729)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53928)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54127)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54326)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54525)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54724)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54923)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55122)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55321)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55520)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55719)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55918)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56117)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56316)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56515)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56714)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56913)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57112)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57311)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57510)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57709)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57908)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58107)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58306)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58505)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58704)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58903)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59102)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59301)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59500)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59699)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59898)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60097)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60296)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60495)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60694)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60893)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61092)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61291)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61490)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61689)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61888)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62087)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62286)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62485)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62684)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62883)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63082)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63281)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63480)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63679)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63878)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64077)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64276)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64475)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64674)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64873)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65072)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65271)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65470)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65506)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65507)) (i32.const 1)) -(assert_return (invoke "load8_u" (i32.const 65508)) (i32.const 2)) -(assert_return (invoke "load8_u" (i32.const 65509)) (i32.const 3)) -(assert_return (invoke "load8_u" (i32.const 65510)) (i32.const 4)) -(assert_return (invoke "load8_u" (i32.const 65511)) (i32.const 5)) -(assert_return (invoke "load8_u" (i32.const 65512)) (i32.const 6)) -(assert_return (invoke "load8_u" (i32.const 65513)) (i32.const 7)) -(assert_return (invoke "load8_u" (i32.const 65514)) (i32.const 8)) -(assert_return (invoke "load8_u" (i32.const 65515)) (i32.const 9)) -(assert_return (invoke "load8_u" (i32.const 65516)) (i32.const 10)) -(assert_return (invoke "load8_u" (i32.const 65517)) (i32.const 11)) -(assert_return (invoke "load8_u" (i32.const 65518)) (i32.const 12)) -(assert_return (invoke "load8_u" (i32.const 65519)) (i32.const 13)) -(assert_return (invoke "load8_u" (i32.const 65520)) (i32.const 14)) -(assert_return (invoke "load8_u" (i32.const 65521)) (i32.const 15)) -(assert_return (invoke "load8_u" (i32.const 65522)) (i32.const 16)) -(assert_return (invoke "load8_u" (i32.const 65523)) (i32.const 17)) -(assert_return (invoke "load8_u" (i32.const 65524)) (i32.const 18)) -(assert_return (invoke "load8_u" (i32.const 65525)) (i32.const 19)) - -(module - (memory (export "mem") 1 1 ) - (data (i32.const 65516) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13") - (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) - (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) - (func (export "load8_u") (param i32) (result i32) - (i32.load8_u (local.get 0)))) - -(assert_trap (invoke "run" (i32.const 65506) (i32.const 65516) (i32.const 40)) - "out of bounds") - -(assert_return (invoke "load8_u" (i32.const 198)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 397)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 596)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 795)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 994)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1193)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1392)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1591)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1790)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1989)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2188)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2387)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2586)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2785)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2984)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3183)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3382)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3581)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3780)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3979)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4178)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4377)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4576)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4775)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4974)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5173)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5372)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5571)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5770)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5969)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6168)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6367)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6566)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6765)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6964)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7163)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7362)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7561)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7760)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7959)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8158)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8357)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8556)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8755)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8954)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9153)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9352)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9551)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9750)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9949)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10148)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10347)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10546)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10745)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10944)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11143)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11342)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11541)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11740)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11939)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12138)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12337)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12536)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12735)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12934)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13133)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13332)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13531)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13730)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13929)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14128)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14327)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14526)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14725)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14924)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15123)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15322)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15521)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15720)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15919)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16118)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16317)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16516)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16715)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16914)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17113)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17312)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17511)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17710)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17909)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18108)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18307)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18506)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18705)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18904)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19103)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19302)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19501)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19700)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19899)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20098)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20297)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20496)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20695)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20894)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21093)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21292)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21491)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21690)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21889)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22088)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22287)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22486)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22685)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22884)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23083)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23282)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23481)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23680)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23879)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24078)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24277)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24476)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24675)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24874)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25073)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25272)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25471)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25670)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25869)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26068)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26267)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26466)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26665)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26864)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27063)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27262)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27461)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27660)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27859)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28058)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28257)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28456)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28655)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28854)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29053)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29252)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29451)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29650)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29849)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30048)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30247)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30446)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30645)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30844)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31043)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31242)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31441)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31640)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31839)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32038)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32237)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32436)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32635)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32834)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33033)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33232)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33431)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33630)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33829)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34028)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34227)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34426)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34625)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34824)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35023)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35222)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35421)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35620)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35819)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36018)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36217)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36416)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36615)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36814)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37013)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37212)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37411)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37610)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37809)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38008)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38207)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38406)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38605)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38804)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39003)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39202)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39401)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39600)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39799)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39998)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40197)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40396)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40595)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40794)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40993)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41192)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41391)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41590)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41789)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41988)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42187)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42386)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42585)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42784)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42983)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43182)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43381)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43580)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43779)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43978)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44177)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44376)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44575)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44774)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44973)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45172)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45371)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45570)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45769)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45968)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46167)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46366)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46565)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46764)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46963)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47162)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47361)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47560)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47759)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47958)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48157)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48356)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48555)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48754)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48953)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49152)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49351)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49550)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49749)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49948)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50147)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50346)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50545)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50744)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50943)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51142)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51341)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51540)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51739)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51938)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52137)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52336)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52535)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52734)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52933)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53132)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53331)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53530)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53729)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53928)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54127)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54326)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54525)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54724)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54923)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55122)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55321)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55520)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55719)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55918)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56117)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56316)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56515)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56714)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56913)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57112)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57311)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57510)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57709)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57908)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58107)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58306)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58505)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58704)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58903)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59102)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59301)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59500)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59699)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59898)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60097)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60296)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60495)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60694)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60893)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61092)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61291)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61490)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61689)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61888)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62087)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62286)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62485)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62684)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62883)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63082)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63281)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63480)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63679)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63878)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64077)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64276)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64475)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64674)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64873)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65072)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65271)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65470)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65506)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65507)) (i32.const 1)) -(assert_return (invoke "load8_u" (i32.const 65508)) (i32.const 2)) -(assert_return (invoke "load8_u" (i32.const 65509)) (i32.const 3)) -(assert_return (invoke "load8_u" (i32.const 65510)) (i32.const 4)) -(assert_return (invoke "load8_u" (i32.const 65511)) (i32.const 5)) -(assert_return (invoke "load8_u" (i32.const 65512)) (i32.const 6)) -(assert_return (invoke "load8_u" (i32.const 65513)) (i32.const 7)) -(assert_return (invoke "load8_u" (i32.const 65514)) (i32.const 8)) -(assert_return (invoke "load8_u" (i32.const 65515)) (i32.const 9)) -(assert_return (invoke "load8_u" (i32.const 65516)) (i32.const 10)) -(assert_return (invoke "load8_u" (i32.const 65517)) (i32.const 11)) -(assert_return (invoke "load8_u" (i32.const 65518)) (i32.const 12)) -(assert_return (invoke "load8_u" (i32.const 65519)) (i32.const 13)) -(assert_return (invoke "load8_u" (i32.const 65520)) (i32.const 14)) -(assert_return (invoke "load8_u" (i32.const 65521)) (i32.const 15)) -(assert_return (invoke "load8_u" (i32.const 65522)) (i32.const 16)) -(assert_return (invoke "load8_u" (i32.const 65523)) (i32.const 17)) -(assert_return (invoke "load8_u" (i32.const 65524)) (i32.const 18)) -(assert_return (invoke "load8_u" (i32.const 65525)) (i32.const 19)) -(assert_return (invoke "load8_u" (i32.const 65526)) (i32.const 10)) -(assert_return (invoke "load8_u" (i32.const 65527)) (i32.const 11)) -(assert_return (invoke "load8_u" (i32.const 65528)) (i32.const 12)) -(assert_return (invoke "load8_u" (i32.const 65529)) (i32.const 13)) -(assert_return (invoke "load8_u" (i32.const 65530)) (i32.const 14)) -(assert_return (invoke "load8_u" (i32.const 65531)) (i32.const 15)) -(assert_return (invoke "load8_u" (i32.const 65532)) (i32.const 16)) -(assert_return (invoke "load8_u" (i32.const 65533)) (i32.const 17)) -(assert_return (invoke "load8_u" (i32.const 65534)) (i32.const 18)) -(assert_return (invoke "load8_u" (i32.const 65535)) (i32.const 19)) - -(module - (memory (export "mem") 1 1 ) - (data (i32.const 65516) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13") - (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) - (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) - (func (export "load8_u") (param i32) (result i32) - (i32.load8_u (local.get 0)))) - -(assert_trap (invoke "run" (i32.const 65516) (i32.const 65516) (i32.const 40)) - "out of bounds") - -(assert_return (invoke "load8_u" (i32.const 198)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 397)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 596)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 795)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 994)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1193)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1392)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1591)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1790)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1989)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2188)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2387)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2586)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2785)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2984)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3183)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3382)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3581)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3780)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3979)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4178)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4377)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4576)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4775)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4974)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5173)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5372)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5571)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5770)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5969)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6168)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6367)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6566)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6765)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6964)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7163)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7362)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7561)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7760)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7959)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8158)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8357)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8556)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8755)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8954)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9153)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9352)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9551)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9750)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9949)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10148)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10347)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10546)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10745)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10944)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11143)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11342)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11541)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11740)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11939)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12138)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12337)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12536)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12735)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12934)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13133)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13332)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13531)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13730)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13929)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14128)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14327)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14526)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14725)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14924)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15123)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15322)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15521)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15720)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15919)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16118)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16317)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16516)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16715)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16914)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17113)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17312)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17511)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17710)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17909)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18108)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18307)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18506)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18705)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18904)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19103)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19302)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19501)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19700)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19899)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20098)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20297)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20496)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20695)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20894)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21093)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21292)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21491)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21690)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21889)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22088)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22287)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22486)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22685)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22884)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23083)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23282)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23481)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23680)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23879)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24078)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24277)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24476)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24675)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24874)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25073)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25272)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25471)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25670)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25869)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26068)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26267)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26466)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26665)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26864)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27063)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27262)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27461)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27660)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27859)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28058)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28257)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28456)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28655)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28854)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29053)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29252)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29451)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29650)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29849)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30048)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30247)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30446)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30645)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30844)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31043)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31242)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31441)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31640)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31839)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32038)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32237)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32436)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32635)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32834)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33033)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33232)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33431)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33630)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33829)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34028)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34227)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34426)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34625)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34824)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35023)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35222)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35421)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35620)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35819)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36018)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36217)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36416)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36615)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36814)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37013)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37212)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37411)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37610)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37809)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38008)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38207)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38406)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38605)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38804)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39003)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39202)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39401)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39600)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39799)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39998)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40197)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40396)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40595)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40794)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40993)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41192)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41391)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41590)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41789)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41988)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42187)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42386)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42585)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42784)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42983)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43182)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43381)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43580)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43779)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43978)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44177)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44376)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44575)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44774)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44973)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45172)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45371)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45570)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45769)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45968)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46167)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46366)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46565)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46764)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46963)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47162)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47361)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47560)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47759)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47958)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48157)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48356)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48555)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48754)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48953)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49152)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49351)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49550)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49749)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49948)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50147)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50346)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50545)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50744)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50943)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51142)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51341)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51540)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51739)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51938)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52137)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52336)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52535)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52734)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52933)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53132)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53331)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53530)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53729)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53928)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54127)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54326)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54525)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54724)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54923)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55122)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55321)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55520)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55719)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55918)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56117)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56316)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56515)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56714)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56913)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57112)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57311)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57510)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57709)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57908)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58107)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58306)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58505)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58704)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58903)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59102)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59301)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59500)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59699)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59898)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60097)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60296)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60495)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60694)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60893)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61092)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61291)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61490)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61689)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61888)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62087)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62286)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62485)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62684)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62883)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63082)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63281)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63480)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63679)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63878)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64077)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64276)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64475)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64674)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64873)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65072)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65271)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65470)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65516)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65517)) (i32.const 1)) -(assert_return (invoke "load8_u" (i32.const 65518)) (i32.const 2)) -(assert_return (invoke "load8_u" (i32.const 65519)) (i32.const 3)) -(assert_return (invoke "load8_u" (i32.const 65520)) (i32.const 4)) -(assert_return (invoke "load8_u" (i32.const 65521)) (i32.const 5)) -(assert_return (invoke "load8_u" (i32.const 65522)) (i32.const 6)) -(assert_return (invoke "load8_u" (i32.const 65523)) (i32.const 7)) -(assert_return (invoke "load8_u" (i32.const 65524)) (i32.const 8)) -(assert_return (invoke "load8_u" (i32.const 65525)) (i32.const 9)) -(assert_return (invoke "load8_u" (i32.const 65526)) (i32.const 10)) -(assert_return (invoke "load8_u" (i32.const 65527)) (i32.const 11)) -(assert_return (invoke "load8_u" (i32.const 65528)) (i32.const 12)) -(assert_return (invoke "load8_u" (i32.const 65529)) (i32.const 13)) -(assert_return (invoke "load8_u" (i32.const 65530)) (i32.const 14)) -(assert_return (invoke "load8_u" (i32.const 65531)) (i32.const 15)) -(assert_return (invoke "load8_u" (i32.const 65532)) (i32.const 16)) -(assert_return (invoke "load8_u" (i32.const 65533)) (i32.const 17)) -(assert_return (invoke "load8_u" (i32.const 65534)) (i32.const 18)) -(assert_return (invoke "load8_u" (i32.const 65535)) (i32.const 19)) - -(module - (memory (export "mem") 1 ) - (data (i32.const 65516) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13") - (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) - (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) - (func (export "load8_u") (param i32) (result i32) - (i32.load8_u (local.get 0)))) - -(assert_trap (invoke "run" (i32.const 0) (i32.const 65516) (i32.const 4294963200)) - "out of bounds") - -(assert_return (invoke "load8_u" (i32.const 0)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1)) (i32.const 1)) -(assert_return (invoke "load8_u" (i32.const 2)) (i32.const 2)) -(assert_return (invoke "load8_u" (i32.const 3)) (i32.const 3)) -(assert_return (invoke "load8_u" (i32.const 4)) (i32.const 4)) -(assert_return (invoke "load8_u" (i32.const 5)) (i32.const 5)) -(assert_return (invoke "load8_u" (i32.const 6)) (i32.const 6)) -(assert_return (invoke "load8_u" (i32.const 7)) (i32.const 7)) -(assert_return (invoke "load8_u" (i32.const 8)) (i32.const 8)) -(assert_return (invoke "load8_u" (i32.const 9)) (i32.const 9)) -(assert_return (invoke "load8_u" (i32.const 10)) (i32.const 10)) -(assert_return (invoke "load8_u" (i32.const 11)) (i32.const 11)) -(assert_return (invoke "load8_u" (i32.const 12)) (i32.const 12)) -(assert_return (invoke "load8_u" (i32.const 13)) (i32.const 13)) -(assert_return (invoke "load8_u" (i32.const 14)) (i32.const 14)) -(assert_return (invoke "load8_u" (i32.const 15)) (i32.const 15)) -(assert_return (invoke "load8_u" (i32.const 16)) (i32.const 16)) -(assert_return (invoke "load8_u" (i32.const 17)) (i32.const 17)) -(assert_return (invoke "load8_u" (i32.const 18)) (i32.const 18)) -(assert_return (invoke "load8_u" (i32.const 19)) (i32.const 19)) -(assert_return (invoke "load8_u" (i32.const 218)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 417)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 616)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 815)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1014)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1213)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1412)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1611)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 1810)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2009)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2208)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2407)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2606)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 2805)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3004)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3203)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3402)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3601)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3800)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 3999)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4198)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4397)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4596)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4795)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 4994)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5193)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5392)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5591)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5790)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 5989)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6188)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6387)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6586)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6785)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 6984)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7183)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7382)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7581)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7780)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 7979)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8178)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8377)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8576)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8775)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 8974)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9173)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9372)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9571)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9770)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 9969)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10168)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10367)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10566)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10765)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 10964)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11163)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11362)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11561)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11760)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 11959)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12158)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12357)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12556)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12755)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 12954)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13153)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13352)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13551)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13750)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 13949)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14148)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14347)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14546)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14745)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 14944)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15143)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15342)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15541)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15740)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 15939)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16138)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16337)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16536)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16735)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 16934)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17133)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17332)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17531)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17730)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 17929)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18128)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18327)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18526)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18725)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 18924)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19123)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19322)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19521)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19720)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 19919)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20118)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20317)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20516)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20715)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 20914)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21113)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21312)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21511)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21710)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 21909)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22108)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22307)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22506)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22705)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 22904)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23103)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23302)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23501)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23700)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 23899)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24098)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24297)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24496)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24695)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 24894)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25093)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25292)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25491)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25690)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 25889)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26088)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26287)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26486)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26685)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 26884)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27083)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27282)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27481)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27680)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 27879)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28078)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28277)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28476)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28675)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 28874)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29073)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29272)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29471)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29670)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 29869)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30068)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30267)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30466)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30665)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 30864)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31063)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31262)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31461)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31660)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 31859)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32058)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32257)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32456)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32655)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 32854)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33053)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33252)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33451)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33650)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 33849)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34048)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34247)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34446)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34645)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 34844)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35043)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35242)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35441)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35640)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 35839)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36038)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36237)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36436)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36635)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 36834)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37033)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37232)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37431)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37630)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 37829)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38028)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38227)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38426)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38625)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 38824)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39023)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39222)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39421)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39620)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 39819)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40018)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40217)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40416)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40615)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 40814)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41013)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41212)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41411)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41610)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 41809)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42008)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42207)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42406)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42605)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 42804)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43003)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43202)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43401)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43600)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43799)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 43998)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44197)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44396)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44595)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44794)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 44993)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45192)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45391)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45590)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45789)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 45988)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46187)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46386)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46585)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46784)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 46983)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47182)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47381)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47580)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47779)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 47978)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48177)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48376)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48575)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48774)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 48973)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49172)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49371)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49570)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49769)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 49968)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50167)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50366)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50565)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50764)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 50963)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51162)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51361)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51560)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51759)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 51958)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52157)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52356)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52555)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52754)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 52953)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53152)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53351)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53550)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53749)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 53948)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54147)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54346)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54545)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54744)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 54943)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55142)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55341)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55540)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55739)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 55938)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56137)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56336)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56535)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56734)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 56933)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57132)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57331)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57530)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57729)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 57928)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58127)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58326)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58525)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58724)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 58923)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59122)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59321)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59520)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59719)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 59918)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60117)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60316)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60515)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60714)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 60913)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61112)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61311)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61510)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61709)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 61908)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62107)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62306)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62505)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62704)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 62903)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63102)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63301)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63500)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63699)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 63898)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64097)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64296)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64495)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64694)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 64893)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65092)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65291)) (i32.const 0)) -(assert_return (invoke "load8_u" (i32.const 65490)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 198)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 397)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 596)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 795)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 994)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1193)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1392)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1591)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1790)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1989)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2188)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2387)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2586)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2785)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2984)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3183)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3382)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3581)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3780)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3979)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4178)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4377)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4576)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4775)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4974)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5173)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5372)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5571)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5770)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5969)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6168)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6367)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6566)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6765)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6964)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7163)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7362)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7561)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7760)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7959)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8158)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8357)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8556)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8755)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8954)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9153)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9352)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9551)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9750)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9949)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10148)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10347)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10546)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10745)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10944)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11143)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11342)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11541)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11740)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11939)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12138)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12337)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12536)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12735)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12934)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13133)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13332)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13531)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13730)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13929)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14128)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14327)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14526)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14725)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14924)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15123)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15322)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15521)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15720)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15919)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16118)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16317)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16516)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16715)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16914)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17113)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17312)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17511)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17710)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17909)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18108)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18307)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18506)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18705)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18904)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19103)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19302)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19501)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19700)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19899)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20098)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20297)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20496)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20695)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20894)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21093)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21292)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21491)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21690)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21889)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22088)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22287)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22486)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22685)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22884)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23083)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23282)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23481)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23680)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23879)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24078)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24277)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24476)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24675)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24874)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25073)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25272)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25471)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25670)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25869)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26068)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26267)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26466)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26665)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26864)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27063)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27262)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27461)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27660)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27859)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28058)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28257)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28456)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28655)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28854)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29053)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29252)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29451)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29650)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29849)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30048)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30247)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30446)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30645)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30844)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31043)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31242)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31441)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31640)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31839)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32038)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32237)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32436)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32635)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32834)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33033)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33232)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33431)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33630)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33829)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34028)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34227)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34426)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34625)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34824)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35023)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35222)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35421)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35620)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35819)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36018)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36217)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36416)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36615)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36814)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37013)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37212)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37411)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37610)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37809)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38008)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38207)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38406)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38605)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38804)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39003)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39202)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39401)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39600)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39799)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39998)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40197)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40396)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40595)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40794)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40993)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41192)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41391)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41590)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41789)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41988)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42187)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42386)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42585)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42784)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42983)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43182)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43381)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43580)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43779)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43978)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44177)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44376)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44575)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44774)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44973)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45172)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45371)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45570)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45769)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45968)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46167)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46366)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46565)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46764)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46963)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47162)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47361)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47560)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47759)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47958)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48157)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48356)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48555)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48754)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48953)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49152)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49351)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49550)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49749)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49948)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50147)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50346)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50545)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50744)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50943)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51142)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51341)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51540)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51739)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51938)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52137)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52336)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52535)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52734)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52933)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53132)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53331)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53530)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53729)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53928)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54127)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54326)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54525)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54724)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54923)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55122)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55321)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55520)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55719)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55918)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56117)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56316)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56515)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56714)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56913)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57112)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57311)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57510)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57709)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57908)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58107)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58306)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58505)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58704)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58903)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59102)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59301)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59500)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59699)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59898)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60097)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60296)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60495)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60694)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60893)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61092)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61291)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61490)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61689)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61888)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62087)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62286)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62485)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62684)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62883)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63082)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63281)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63480)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63679)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63878)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64077)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64276)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64475)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64674)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64873)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65072)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65271)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65470)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65516)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65517)) (i32.const 1)) +(assert_return (invoke "load8_u" (i32.const 65518)) (i32.const 2)) +(assert_return (invoke "load8_u" (i32.const 65519)) (i32.const 3)) +(assert_return (invoke "load8_u" (i32.const 65520)) (i32.const 4)) +(assert_return (invoke "load8_u" (i32.const 65521)) (i32.const 5)) +(assert_return (invoke "load8_u" (i32.const 65522)) (i32.const 6)) +(assert_return (invoke "load8_u" (i32.const 65523)) (i32.const 7)) +(assert_return (invoke "load8_u" (i32.const 65524)) (i32.const 8)) +(assert_return (invoke "load8_u" (i32.const 65525)) (i32.const 9)) +(assert_return (invoke "load8_u" (i32.const 65526)) (i32.const 10)) +(assert_return (invoke "load8_u" (i32.const 65527)) (i32.const 11)) +(assert_return (invoke "load8_u" (i32.const 65528)) (i32.const 12)) +(assert_return (invoke "load8_u" (i32.const 65529)) (i32.const 13)) +(assert_return (invoke "load8_u" (i32.const 65530)) (i32.const 14)) +(assert_return (invoke "load8_u" (i32.const 65531)) (i32.const 15)) +(assert_return (invoke "load8_u" (i32.const 65532)) (i32.const 16)) +(assert_return (invoke "load8_u" (i32.const 65533)) (i32.const 17)) +(assert_return (invoke "load8_u" (i32.const 65534)) (i32.const 18)) +(assert_return (invoke "load8_u" (i32.const 65535)) (i32.const 19)) + +(module + (memory (export "mem") 1 1 ) + (data (i32.const 65515) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13\14") + (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) + (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) + (func (export "load8_u") (param i32) (result i32) + (i32.load8_u (local.get 0)))) + +(assert_trap (invoke "run" (i32.const 0) (i32.const 65515) (i32.const 39)) + "out of bounds") + +(assert_return (invoke "load8_u" (i32.const 198)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 397)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 596)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 795)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 994)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1193)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1392)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1591)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1790)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1989)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2188)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2387)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2586)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2785)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2984)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3183)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3382)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3581)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3780)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3979)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4178)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4377)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4576)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4775)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4974)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5173)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5372)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5571)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5770)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5969)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6168)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6367)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6566)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6765)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6964)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7163)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7362)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7561)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7760)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7959)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8158)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8357)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8556)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8755)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8954)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9153)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9352)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9551)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9750)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9949)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10148)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10347)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10546)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10745)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10944)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11143)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11342)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11541)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11740)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11939)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12138)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12337)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12536)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12735)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12934)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13133)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13332)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13531)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13730)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13929)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14128)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14327)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14526)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14725)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14924)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15123)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15322)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15521)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15720)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15919)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16118)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16317)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16516)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16715)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16914)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17113)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17312)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17511)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17710)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17909)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18108)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18307)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18506)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18705)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18904)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19103)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19302)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19501)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19700)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19899)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20098)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20297)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20496)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20695)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20894)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21093)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21292)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21491)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21690)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21889)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22088)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22287)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22486)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22685)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22884)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23083)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23282)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23481)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23680)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23879)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24078)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24277)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24476)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24675)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24874)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25073)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25272)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25471)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25670)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25869)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26068)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26267)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26466)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26665)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26864)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27063)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27262)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27461)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27660)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27859)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28058)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28257)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28456)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28655)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28854)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29053)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29252)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29451)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29650)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29849)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30048)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30247)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30446)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30645)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30844)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31043)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31242)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31441)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31640)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31839)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32038)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32237)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32436)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32635)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32834)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33033)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33232)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33431)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33630)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33829)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34028)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34227)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34426)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34625)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34824)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35023)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35222)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35421)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35620)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35819)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36018)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36217)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36416)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36615)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36814)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37013)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37212)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37411)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37610)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37809)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38008)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38207)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38406)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38605)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38804)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39003)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39202)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39401)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39600)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39799)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39998)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40197)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40396)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40595)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40794)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40993)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41192)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41391)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41590)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41789)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41988)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42187)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42386)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42585)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42784)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42983)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43182)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43381)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43580)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43779)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43978)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44177)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44376)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44575)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44774)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44973)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45172)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45371)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45570)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45769)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45968)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46167)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46366)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46565)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46764)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46963)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47162)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47361)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47560)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47759)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47958)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48157)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48356)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48555)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48754)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48953)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49152)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49351)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49550)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49749)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49948)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50147)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50346)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50545)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50744)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50943)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51142)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51341)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51540)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51739)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51938)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52137)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52336)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52535)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52734)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52933)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53132)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53331)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53530)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53729)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53928)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54127)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54326)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54525)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54724)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54923)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55122)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55321)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55520)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55719)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55918)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56117)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56316)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56515)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56714)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56913)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57112)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57311)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57510)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57709)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57908)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58107)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58306)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58505)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58704)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58903)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59102)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59301)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59500)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59699)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59898)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60097)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60296)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60495)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60694)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60893)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61092)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61291)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61490)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61689)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61888)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62087)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62286)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62485)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62684)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62883)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63082)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63281)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63480)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63679)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63878)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64077)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64276)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64475)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64674)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64873)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65072)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65271)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65470)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65515)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65516)) (i32.const 1)) +(assert_return (invoke "load8_u" (i32.const 65517)) (i32.const 2)) +(assert_return (invoke "load8_u" (i32.const 65518)) (i32.const 3)) +(assert_return (invoke "load8_u" (i32.const 65519)) (i32.const 4)) +(assert_return (invoke "load8_u" (i32.const 65520)) (i32.const 5)) +(assert_return (invoke "load8_u" (i32.const 65521)) (i32.const 6)) +(assert_return (invoke "load8_u" (i32.const 65522)) (i32.const 7)) +(assert_return (invoke "load8_u" (i32.const 65523)) (i32.const 8)) +(assert_return (invoke "load8_u" (i32.const 65524)) (i32.const 9)) +(assert_return (invoke "load8_u" (i32.const 65525)) (i32.const 10)) +(assert_return (invoke "load8_u" (i32.const 65526)) (i32.const 11)) +(assert_return (invoke "load8_u" (i32.const 65527)) (i32.const 12)) +(assert_return (invoke "load8_u" (i32.const 65528)) (i32.const 13)) +(assert_return (invoke "load8_u" (i32.const 65529)) (i32.const 14)) +(assert_return (invoke "load8_u" (i32.const 65530)) (i32.const 15)) +(assert_return (invoke "load8_u" (i32.const 65531)) (i32.const 16)) +(assert_return (invoke "load8_u" (i32.const 65532)) (i32.const 17)) +(assert_return (invoke "load8_u" (i32.const 65533)) (i32.const 18)) +(assert_return (invoke "load8_u" (i32.const 65534)) (i32.const 19)) +(assert_return (invoke "load8_u" (i32.const 65535)) (i32.const 20)) + +(module + (memory (export "mem") 1 1 ) + (data (i32.const 65486) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13") + (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) + (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) + (func (export "load8_u") (param i32) (result i32) + (i32.load8_u (local.get 0)))) + +(assert_trap (invoke "run" (i32.const 65516) (i32.const 65486) (i32.const 40)) + "out of bounds") + +(assert_return (invoke "load8_u" (i32.const 198)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 397)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 596)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 795)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 994)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1193)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1392)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1591)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1790)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1989)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2188)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2387)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2586)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2785)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2984)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3183)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3382)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3581)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3780)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3979)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4178)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4377)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4576)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4775)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4974)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5173)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5372)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5571)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5770)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5969)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6168)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6367)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6566)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6765)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6964)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7163)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7362)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7561)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7760)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7959)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8158)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8357)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8556)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8755)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8954)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9153)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9352)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9551)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9750)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9949)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10148)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10347)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10546)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10745)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10944)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11143)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11342)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11541)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11740)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11939)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12138)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12337)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12536)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12735)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12934)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13133)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13332)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13531)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13730)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13929)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14128)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14327)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14526)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14725)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14924)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15123)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15322)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15521)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15720)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15919)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16118)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16317)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16516)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16715)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16914)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17113)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17312)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17511)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17710)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17909)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18108)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18307)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18506)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18705)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18904)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19103)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19302)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19501)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19700)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19899)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20098)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20297)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20496)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20695)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20894)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21093)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21292)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21491)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21690)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21889)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22088)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22287)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22486)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22685)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22884)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23083)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23282)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23481)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23680)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23879)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24078)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24277)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24476)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24675)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24874)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25073)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25272)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25471)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25670)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25869)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26068)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26267)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26466)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26665)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26864)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27063)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27262)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27461)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27660)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27859)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28058)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28257)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28456)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28655)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28854)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29053)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29252)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29451)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29650)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29849)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30048)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30247)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30446)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30645)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30844)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31043)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31242)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31441)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31640)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31839)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32038)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32237)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32436)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32635)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32834)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33033)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33232)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33431)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33630)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33829)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34028)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34227)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34426)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34625)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34824)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35023)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35222)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35421)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35620)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35819)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36018)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36217)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36416)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36615)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36814)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37013)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37212)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37411)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37610)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37809)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38008)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38207)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38406)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38605)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38804)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39003)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39202)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39401)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39600)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39799)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39998)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40197)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40396)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40595)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40794)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40993)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41192)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41391)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41590)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41789)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41988)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42187)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42386)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42585)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42784)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42983)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43182)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43381)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43580)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43779)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43978)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44177)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44376)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44575)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44774)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44973)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45172)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45371)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45570)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45769)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45968)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46167)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46366)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46565)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46764)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46963)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47162)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47361)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47560)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47759)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47958)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48157)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48356)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48555)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48754)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48953)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49152)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49351)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49550)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49749)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49948)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50147)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50346)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50545)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50744)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50943)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51142)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51341)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51540)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51739)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51938)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52137)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52336)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52535)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52734)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52933)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53132)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53331)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53530)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53729)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53928)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54127)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54326)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54525)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54724)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54923)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55122)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55321)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55520)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55719)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55918)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56117)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56316)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56515)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56714)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56913)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57112)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57311)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57510)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57709)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57908)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58107)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58306)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58505)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58704)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58903)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59102)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59301)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59500)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59699)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59898)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60097)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60296)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60495)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60694)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60893)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61092)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61291)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61490)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61689)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61888)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62087)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62286)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62485)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62684)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62883)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63082)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63281)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63480)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63679)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63878)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64077)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64276)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64475)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64674)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64873)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65072)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65271)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65470)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65486)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65487)) (i32.const 1)) +(assert_return (invoke "load8_u" (i32.const 65488)) (i32.const 2)) +(assert_return (invoke "load8_u" (i32.const 65489)) (i32.const 3)) +(assert_return (invoke "load8_u" (i32.const 65490)) (i32.const 4)) +(assert_return (invoke "load8_u" (i32.const 65491)) (i32.const 5)) +(assert_return (invoke "load8_u" (i32.const 65492)) (i32.const 6)) +(assert_return (invoke "load8_u" (i32.const 65493)) (i32.const 7)) +(assert_return (invoke "load8_u" (i32.const 65494)) (i32.const 8)) +(assert_return (invoke "load8_u" (i32.const 65495)) (i32.const 9)) +(assert_return (invoke "load8_u" (i32.const 65496)) (i32.const 10)) +(assert_return (invoke "load8_u" (i32.const 65497)) (i32.const 11)) +(assert_return (invoke "load8_u" (i32.const 65498)) (i32.const 12)) +(assert_return (invoke "load8_u" (i32.const 65499)) (i32.const 13)) +(assert_return (invoke "load8_u" (i32.const 65500)) (i32.const 14)) +(assert_return (invoke "load8_u" (i32.const 65501)) (i32.const 15)) +(assert_return (invoke "load8_u" (i32.const 65502)) (i32.const 16)) +(assert_return (invoke "load8_u" (i32.const 65503)) (i32.const 17)) +(assert_return (invoke "load8_u" (i32.const 65504)) (i32.const 18)) +(assert_return (invoke "load8_u" (i32.const 65505)) (i32.const 19)) + +(module + (memory (export "mem") 1 1 ) + (data (i32.const 65516) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13") + (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) + (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) + (func (export "load8_u") (param i32) (result i32) + (i32.load8_u (local.get 0)))) + +(assert_trap (invoke "run" (i32.const 65486) (i32.const 65516) (i32.const 40)) + "out of bounds") + +(assert_return (invoke "load8_u" (i32.const 198)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 397)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 596)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 795)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 994)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1193)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1392)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1591)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1790)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1989)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2188)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2387)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2586)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2785)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2984)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3183)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3382)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3581)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3780)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3979)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4178)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4377)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4576)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4775)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4974)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5173)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5372)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5571)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5770)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5969)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6168)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6367)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6566)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6765)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6964)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7163)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7362)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7561)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7760)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7959)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8158)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8357)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8556)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8755)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8954)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9153)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9352)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9551)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9750)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9949)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10148)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10347)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10546)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10745)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10944)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11143)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11342)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11541)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11740)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11939)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12138)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12337)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12536)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12735)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12934)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13133)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13332)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13531)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13730)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13929)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14128)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14327)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14526)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14725)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14924)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15123)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15322)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15521)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15720)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15919)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16118)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16317)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16516)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16715)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16914)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17113)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17312)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17511)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17710)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17909)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18108)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18307)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18506)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18705)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18904)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19103)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19302)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19501)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19700)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19899)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20098)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20297)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20496)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20695)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20894)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21093)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21292)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21491)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21690)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21889)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22088)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22287)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22486)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22685)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22884)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23083)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23282)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23481)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23680)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23879)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24078)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24277)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24476)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24675)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24874)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25073)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25272)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25471)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25670)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25869)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26068)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26267)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26466)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26665)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26864)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27063)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27262)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27461)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27660)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27859)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28058)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28257)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28456)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28655)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28854)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29053)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29252)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29451)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29650)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29849)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30048)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30247)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30446)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30645)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30844)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31043)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31242)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31441)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31640)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31839)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32038)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32237)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32436)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32635)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32834)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33033)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33232)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33431)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33630)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33829)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34028)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34227)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34426)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34625)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34824)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35023)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35222)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35421)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35620)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35819)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36018)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36217)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36416)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36615)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36814)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37013)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37212)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37411)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37610)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37809)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38008)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38207)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38406)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38605)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38804)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39003)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39202)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39401)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39600)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39799)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39998)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40197)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40396)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40595)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40794)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40993)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41192)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41391)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41590)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41789)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41988)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42187)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42386)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42585)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42784)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42983)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43182)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43381)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43580)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43779)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43978)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44177)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44376)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44575)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44774)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44973)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45172)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45371)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45570)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45769)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45968)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46167)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46366)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46565)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46764)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46963)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47162)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47361)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47560)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47759)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47958)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48157)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48356)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48555)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48754)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48953)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49152)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49351)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49550)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49749)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49948)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50147)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50346)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50545)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50744)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50943)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51142)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51341)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51540)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51739)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51938)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52137)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52336)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52535)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52734)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52933)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53132)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53331)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53530)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53729)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53928)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54127)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54326)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54525)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54724)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54923)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55122)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55321)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55520)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55719)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55918)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56117)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56316)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56515)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56714)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56913)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57112)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57311)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57510)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57709)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57908)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58107)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58306)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58505)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58704)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58903)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59102)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59301)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59500)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59699)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59898)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60097)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60296)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60495)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60694)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60893)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61092)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61291)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61490)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61689)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61888)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62087)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62286)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62485)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62684)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62883)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63082)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63281)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63480)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63679)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63878)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64077)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64276)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64475)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64674)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64873)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65072)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65271)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65470)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65516)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65517)) (i32.const 1)) +(assert_return (invoke "load8_u" (i32.const 65518)) (i32.const 2)) +(assert_return (invoke "load8_u" (i32.const 65519)) (i32.const 3)) +(assert_return (invoke "load8_u" (i32.const 65520)) (i32.const 4)) +(assert_return (invoke "load8_u" (i32.const 65521)) (i32.const 5)) +(assert_return (invoke "load8_u" (i32.const 65522)) (i32.const 6)) +(assert_return (invoke "load8_u" (i32.const 65523)) (i32.const 7)) +(assert_return (invoke "load8_u" (i32.const 65524)) (i32.const 8)) +(assert_return (invoke "load8_u" (i32.const 65525)) (i32.const 9)) +(assert_return (invoke "load8_u" (i32.const 65526)) (i32.const 10)) +(assert_return (invoke "load8_u" (i32.const 65527)) (i32.const 11)) +(assert_return (invoke "load8_u" (i32.const 65528)) (i32.const 12)) +(assert_return (invoke "load8_u" (i32.const 65529)) (i32.const 13)) +(assert_return (invoke "load8_u" (i32.const 65530)) (i32.const 14)) +(assert_return (invoke "load8_u" (i32.const 65531)) (i32.const 15)) +(assert_return (invoke "load8_u" (i32.const 65532)) (i32.const 16)) +(assert_return (invoke "load8_u" (i32.const 65533)) (i32.const 17)) +(assert_return (invoke "load8_u" (i32.const 65534)) (i32.const 18)) +(assert_return (invoke "load8_u" (i32.const 65535)) (i32.const 19)) + +(module + (memory (export "mem") 1 1 ) + (data (i32.const 65506) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13") + (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) + (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) + (func (export "load8_u") (param i32) (result i32) + (i32.load8_u (local.get 0)))) + +(assert_trap (invoke "run" (i32.const 65516) (i32.const 65506) (i32.const 40)) + "out of bounds") + +(assert_return (invoke "load8_u" (i32.const 198)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 397)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 596)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 795)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 994)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1193)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1392)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1591)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1790)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1989)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2188)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2387)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2586)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2785)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2984)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3183)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3382)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3581)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3780)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3979)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4178)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4377)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4576)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4775)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4974)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5173)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5372)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5571)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5770)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5969)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6168)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6367)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6566)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6765)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6964)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7163)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7362)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7561)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7760)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7959)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8158)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8357)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8556)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8755)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8954)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9153)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9352)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9551)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9750)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9949)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10148)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10347)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10546)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10745)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10944)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11143)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11342)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11541)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11740)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11939)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12138)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12337)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12536)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12735)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12934)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13133)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13332)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13531)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13730)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13929)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14128)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14327)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14526)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14725)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14924)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15123)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15322)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15521)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15720)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15919)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16118)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16317)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16516)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16715)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16914)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17113)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17312)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17511)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17710)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17909)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18108)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18307)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18506)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18705)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18904)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19103)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19302)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19501)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19700)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19899)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20098)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20297)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20496)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20695)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20894)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21093)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21292)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21491)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21690)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21889)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22088)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22287)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22486)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22685)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22884)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23083)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23282)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23481)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23680)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23879)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24078)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24277)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24476)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24675)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24874)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25073)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25272)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25471)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25670)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25869)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26068)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26267)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26466)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26665)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26864)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27063)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27262)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27461)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27660)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27859)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28058)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28257)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28456)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28655)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28854)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29053)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29252)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29451)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29650)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29849)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30048)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30247)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30446)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30645)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30844)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31043)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31242)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31441)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31640)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31839)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32038)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32237)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32436)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32635)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32834)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33033)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33232)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33431)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33630)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33829)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34028)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34227)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34426)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34625)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34824)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35023)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35222)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35421)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35620)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35819)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36018)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36217)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36416)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36615)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36814)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37013)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37212)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37411)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37610)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37809)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38008)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38207)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38406)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38605)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38804)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39003)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39202)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39401)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39600)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39799)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39998)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40197)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40396)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40595)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40794)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40993)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41192)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41391)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41590)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41789)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41988)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42187)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42386)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42585)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42784)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42983)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43182)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43381)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43580)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43779)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43978)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44177)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44376)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44575)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44774)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44973)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45172)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45371)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45570)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45769)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45968)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46167)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46366)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46565)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46764)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46963)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47162)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47361)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47560)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47759)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47958)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48157)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48356)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48555)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48754)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48953)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49152)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49351)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49550)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49749)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49948)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50147)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50346)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50545)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50744)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50943)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51142)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51341)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51540)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51739)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51938)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52137)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52336)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52535)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52734)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52933)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53132)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53331)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53530)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53729)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53928)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54127)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54326)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54525)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54724)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54923)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55122)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55321)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55520)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55719)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55918)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56117)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56316)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56515)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56714)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56913)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57112)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57311)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57510)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57709)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57908)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58107)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58306)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58505)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58704)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58903)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59102)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59301)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59500)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59699)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59898)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60097)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60296)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60495)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60694)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60893)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61092)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61291)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61490)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61689)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61888)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62087)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62286)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62485)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62684)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62883)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63082)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63281)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63480)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63679)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63878)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64077)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64276)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64475)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64674)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64873)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65072)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65271)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65470)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65506)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65507)) (i32.const 1)) +(assert_return (invoke "load8_u" (i32.const 65508)) (i32.const 2)) +(assert_return (invoke "load8_u" (i32.const 65509)) (i32.const 3)) +(assert_return (invoke "load8_u" (i32.const 65510)) (i32.const 4)) +(assert_return (invoke "load8_u" (i32.const 65511)) (i32.const 5)) +(assert_return (invoke "load8_u" (i32.const 65512)) (i32.const 6)) +(assert_return (invoke "load8_u" (i32.const 65513)) (i32.const 7)) +(assert_return (invoke "load8_u" (i32.const 65514)) (i32.const 8)) +(assert_return (invoke "load8_u" (i32.const 65515)) (i32.const 9)) +(assert_return (invoke "load8_u" (i32.const 65516)) (i32.const 10)) +(assert_return (invoke "load8_u" (i32.const 65517)) (i32.const 11)) +(assert_return (invoke "load8_u" (i32.const 65518)) (i32.const 12)) +(assert_return (invoke "load8_u" (i32.const 65519)) (i32.const 13)) +(assert_return (invoke "load8_u" (i32.const 65520)) (i32.const 14)) +(assert_return (invoke "load8_u" (i32.const 65521)) (i32.const 15)) +(assert_return (invoke "load8_u" (i32.const 65522)) (i32.const 16)) +(assert_return (invoke "load8_u" (i32.const 65523)) (i32.const 17)) +(assert_return (invoke "load8_u" (i32.const 65524)) (i32.const 18)) +(assert_return (invoke "load8_u" (i32.const 65525)) (i32.const 19)) + +(module + (memory (export "mem") 1 1 ) + (data (i32.const 65516) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13") + (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) + (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) + (func (export "load8_u") (param i32) (result i32) + (i32.load8_u (local.get 0)))) + +(assert_trap (invoke "run" (i32.const 65506) (i32.const 65516) (i32.const 40)) + "out of bounds") + +(assert_return (invoke "load8_u" (i32.const 198)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 397)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 596)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 795)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 994)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1193)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1392)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1591)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1790)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1989)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2188)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2387)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2586)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2785)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2984)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3183)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3382)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3581)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3780)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3979)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4178)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4377)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4576)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4775)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4974)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5173)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5372)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5571)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5770)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5969)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6168)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6367)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6566)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6765)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6964)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7163)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7362)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7561)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7760)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7959)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8158)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8357)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8556)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8755)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8954)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9153)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9352)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9551)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9750)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9949)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10148)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10347)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10546)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10745)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10944)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11143)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11342)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11541)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11740)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11939)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12138)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12337)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12536)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12735)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12934)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13133)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13332)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13531)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13730)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13929)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14128)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14327)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14526)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14725)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14924)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15123)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15322)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15521)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15720)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15919)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16118)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16317)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16516)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16715)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16914)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17113)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17312)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17511)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17710)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17909)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18108)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18307)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18506)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18705)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18904)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19103)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19302)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19501)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19700)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19899)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20098)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20297)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20496)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20695)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20894)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21093)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21292)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21491)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21690)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21889)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22088)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22287)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22486)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22685)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22884)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23083)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23282)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23481)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23680)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23879)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24078)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24277)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24476)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24675)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24874)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25073)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25272)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25471)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25670)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25869)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26068)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26267)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26466)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26665)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26864)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27063)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27262)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27461)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27660)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27859)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28058)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28257)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28456)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28655)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28854)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29053)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29252)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29451)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29650)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29849)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30048)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30247)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30446)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30645)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30844)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31043)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31242)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31441)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31640)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31839)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32038)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32237)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32436)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32635)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32834)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33033)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33232)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33431)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33630)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33829)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34028)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34227)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34426)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34625)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34824)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35023)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35222)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35421)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35620)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35819)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36018)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36217)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36416)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36615)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36814)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37013)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37212)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37411)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37610)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37809)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38008)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38207)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38406)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38605)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38804)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39003)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39202)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39401)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39600)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39799)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39998)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40197)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40396)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40595)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40794)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40993)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41192)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41391)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41590)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41789)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41988)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42187)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42386)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42585)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42784)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42983)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43182)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43381)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43580)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43779)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43978)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44177)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44376)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44575)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44774)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44973)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45172)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45371)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45570)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45769)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45968)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46167)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46366)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46565)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46764)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46963)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47162)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47361)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47560)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47759)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47958)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48157)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48356)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48555)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48754)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48953)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49152)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49351)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49550)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49749)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49948)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50147)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50346)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50545)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50744)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50943)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51142)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51341)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51540)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51739)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51938)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52137)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52336)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52535)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52734)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52933)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53132)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53331)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53530)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53729)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53928)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54127)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54326)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54525)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54724)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54923)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55122)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55321)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55520)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55719)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55918)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56117)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56316)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56515)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56714)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56913)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57112)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57311)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57510)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57709)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57908)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58107)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58306)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58505)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58704)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58903)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59102)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59301)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59500)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59699)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59898)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60097)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60296)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60495)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60694)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60893)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61092)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61291)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61490)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61689)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61888)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62087)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62286)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62485)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62684)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62883)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63082)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63281)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63480)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63679)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63878)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64077)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64276)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64475)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64674)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64873)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65072)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65271)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65470)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65516)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65517)) (i32.const 1)) +(assert_return (invoke "load8_u" (i32.const 65518)) (i32.const 2)) +(assert_return (invoke "load8_u" (i32.const 65519)) (i32.const 3)) +(assert_return (invoke "load8_u" (i32.const 65520)) (i32.const 4)) +(assert_return (invoke "load8_u" (i32.const 65521)) (i32.const 5)) +(assert_return (invoke "load8_u" (i32.const 65522)) (i32.const 6)) +(assert_return (invoke "load8_u" (i32.const 65523)) (i32.const 7)) +(assert_return (invoke "load8_u" (i32.const 65524)) (i32.const 8)) +(assert_return (invoke "load8_u" (i32.const 65525)) (i32.const 9)) +(assert_return (invoke "load8_u" (i32.const 65526)) (i32.const 10)) +(assert_return (invoke "load8_u" (i32.const 65527)) (i32.const 11)) +(assert_return (invoke "load8_u" (i32.const 65528)) (i32.const 12)) +(assert_return (invoke "load8_u" (i32.const 65529)) (i32.const 13)) +(assert_return (invoke "load8_u" (i32.const 65530)) (i32.const 14)) +(assert_return (invoke "load8_u" (i32.const 65531)) (i32.const 15)) +(assert_return (invoke "load8_u" (i32.const 65532)) (i32.const 16)) +(assert_return (invoke "load8_u" (i32.const 65533)) (i32.const 17)) +(assert_return (invoke "load8_u" (i32.const 65534)) (i32.const 18)) +(assert_return (invoke "load8_u" (i32.const 65535)) (i32.const 19)) + +(module + (memory (export "mem") 1 1 ) + (data (i32.const 65516) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13") + (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) + (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) + (func (export "load8_u") (param i32) (result i32) + (i32.load8_u (local.get 0)))) + +(assert_trap (invoke "run" (i32.const 65516) (i32.const 65516) (i32.const 40)) + "out of bounds") + +(assert_return (invoke "load8_u" (i32.const 198)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 397)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 596)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 795)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 994)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1193)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1392)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1591)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1790)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1989)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2188)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2387)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2586)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2785)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2984)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3183)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3382)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3581)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3780)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3979)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4178)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4377)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4576)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4775)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4974)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5173)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5372)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5571)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5770)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5969)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6168)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6367)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6566)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6765)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6964)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7163)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7362)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7561)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7760)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7959)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8158)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8357)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8556)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8755)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8954)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9153)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9352)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9551)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9750)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9949)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10148)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10347)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10546)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10745)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10944)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11143)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11342)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11541)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11740)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11939)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12138)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12337)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12536)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12735)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12934)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13133)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13332)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13531)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13730)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13929)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14128)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14327)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14526)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14725)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14924)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15123)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15322)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15521)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15720)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15919)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16118)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16317)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16516)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16715)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16914)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17113)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17312)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17511)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17710)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17909)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18108)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18307)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18506)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18705)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18904)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19103)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19302)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19501)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19700)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19899)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20098)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20297)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20496)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20695)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20894)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21093)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21292)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21491)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21690)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21889)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22088)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22287)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22486)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22685)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22884)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23083)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23282)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23481)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23680)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23879)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24078)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24277)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24476)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24675)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24874)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25073)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25272)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25471)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25670)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25869)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26068)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26267)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26466)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26665)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26864)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27063)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27262)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27461)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27660)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27859)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28058)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28257)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28456)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28655)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28854)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29053)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29252)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29451)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29650)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29849)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30048)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30247)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30446)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30645)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30844)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31043)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31242)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31441)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31640)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31839)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32038)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32237)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32436)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32635)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32834)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33033)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33232)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33431)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33630)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33829)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34028)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34227)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34426)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34625)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34824)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35023)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35222)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35421)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35620)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35819)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36018)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36217)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36416)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36615)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36814)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37013)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37212)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37411)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37610)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37809)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38008)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38207)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38406)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38605)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38804)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39003)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39202)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39401)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39600)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39799)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39998)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40197)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40396)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40595)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40794)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40993)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41192)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41391)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41590)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41789)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41988)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42187)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42386)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42585)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42784)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42983)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43182)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43381)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43580)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43779)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43978)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44177)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44376)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44575)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44774)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44973)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45172)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45371)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45570)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45769)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45968)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46167)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46366)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46565)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46764)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46963)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47162)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47361)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47560)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47759)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47958)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48157)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48356)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48555)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48754)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48953)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49152)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49351)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49550)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49749)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49948)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50147)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50346)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50545)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50744)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50943)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51142)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51341)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51540)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51739)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51938)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52137)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52336)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52535)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52734)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52933)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53132)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53331)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53530)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53729)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53928)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54127)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54326)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54525)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54724)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54923)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55122)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55321)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55520)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55719)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55918)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56117)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56316)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56515)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56714)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56913)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57112)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57311)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57510)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57709)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57908)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58107)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58306)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58505)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58704)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58903)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59102)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59301)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59500)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59699)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59898)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60097)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60296)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60495)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60694)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60893)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61092)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61291)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61490)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61689)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61888)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62087)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62286)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62485)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62684)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62883)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63082)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63281)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63480)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63679)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63878)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64077)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64276)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64475)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64674)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64873)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65072)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65271)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65470)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65516)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65517)) (i32.const 1)) +(assert_return (invoke "load8_u" (i32.const 65518)) (i32.const 2)) +(assert_return (invoke "load8_u" (i32.const 65519)) (i32.const 3)) +(assert_return (invoke "load8_u" (i32.const 65520)) (i32.const 4)) +(assert_return (invoke "load8_u" (i32.const 65521)) (i32.const 5)) +(assert_return (invoke "load8_u" (i32.const 65522)) (i32.const 6)) +(assert_return (invoke "load8_u" (i32.const 65523)) (i32.const 7)) +(assert_return (invoke "load8_u" (i32.const 65524)) (i32.const 8)) +(assert_return (invoke "load8_u" (i32.const 65525)) (i32.const 9)) +(assert_return (invoke "load8_u" (i32.const 65526)) (i32.const 10)) +(assert_return (invoke "load8_u" (i32.const 65527)) (i32.const 11)) +(assert_return (invoke "load8_u" (i32.const 65528)) (i32.const 12)) +(assert_return (invoke "load8_u" (i32.const 65529)) (i32.const 13)) +(assert_return (invoke "load8_u" (i32.const 65530)) (i32.const 14)) +(assert_return (invoke "load8_u" (i32.const 65531)) (i32.const 15)) +(assert_return (invoke "load8_u" (i32.const 65532)) (i32.const 16)) +(assert_return (invoke "load8_u" (i32.const 65533)) (i32.const 17)) +(assert_return (invoke "load8_u" (i32.const 65534)) (i32.const 18)) +(assert_return (invoke "load8_u" (i32.const 65535)) (i32.const 19)) + +(module + (memory (export "mem") 1 ) + (data (i32.const 65516) "\00\01\02\03\04\05\06\07\08\09\0a\0b\0c\0d\0e\0f\10\11\12\13") + (func (export "run") (param $targetOffs i32) (param $srcOffs i32) (param $len i32) + (memory.copy (local.get $targetOffs) (local.get $srcOffs) (local.get $len))) + (func (export "load8_u") (param i32) (result i32) + (i32.load8_u (local.get 0)))) + +(assert_trap (invoke "run" (i32.const 0) (i32.const 65516) (i32.const 4294963200)) + "out of bounds") + +(assert_return (invoke "load8_u" (i32.const 198)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 397)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 596)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 795)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 994)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1193)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1392)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1591)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1790)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 1989)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2188)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2387)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2586)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2785)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 2984)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3183)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3382)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3581)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3780)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 3979)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4178)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4377)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4576)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4775)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 4974)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5173)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5372)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5571)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5770)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 5969)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6168)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6367)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6566)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6765)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 6964)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7163)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7362)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7561)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7760)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 7959)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8158)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8357)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8556)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8755)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 8954)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9153)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9352)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9551)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9750)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 9949)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10148)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10347)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10546)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10745)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 10944)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11143)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11342)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11541)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11740)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 11939)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12138)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12337)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12536)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12735)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 12934)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13133)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13332)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13531)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13730)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 13929)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14128)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14327)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14526)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14725)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 14924)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15123)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15322)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15521)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15720)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 15919)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16118)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16317)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16516)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16715)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 16914)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17113)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17312)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17511)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17710)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 17909)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18108)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18307)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18506)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18705)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 18904)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19103)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19302)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19501)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19700)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 19899)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20098)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20297)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20496)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20695)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 20894)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21093)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21292)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21491)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21690)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 21889)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22088)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22287)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22486)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22685)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 22884)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23083)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23282)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23481)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23680)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 23879)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24078)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24277)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24476)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24675)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 24874)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25073)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25272)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25471)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25670)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 25869)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26068)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26267)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26466)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26665)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 26864)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27063)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27262)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27461)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27660)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 27859)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28058)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28257)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28456)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28655)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 28854)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29053)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29252)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29451)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29650)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 29849)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30048)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30247)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30446)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30645)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 30844)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31043)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31242)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31441)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31640)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 31839)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32038)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32237)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32436)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32635)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 32834)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33033)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33232)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33431)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33630)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 33829)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34028)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34227)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34426)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34625)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 34824)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35023)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35222)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35421)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35620)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 35819)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36018)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36217)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36416)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36615)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 36814)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37013)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37212)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37411)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37610)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 37809)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38008)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38207)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38406)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38605)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 38804)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39003)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39202)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39401)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39600)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39799)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 39998)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40197)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40396)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40595)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40794)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 40993)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41192)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41391)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41590)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41789)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 41988)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42187)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42386)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42585)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42784)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 42983)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43182)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43381)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43580)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43779)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 43978)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44177)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44376)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44575)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44774)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 44973)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45172)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45371)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45570)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45769)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 45968)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46167)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46366)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46565)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46764)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 46963)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47162)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47361)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47560)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47759)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 47958)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48157)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48356)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48555)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48754)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 48953)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49152)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49351)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49550)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49749)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 49948)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50147)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50346)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50545)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50744)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 50943)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51142)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51341)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51540)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51739)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 51938)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52137)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52336)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52535)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52734)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 52933)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53132)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53331)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53530)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53729)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 53928)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54127)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54326)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54525)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54724)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 54923)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55122)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55321)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55520)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55719)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 55918)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56117)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56316)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56515)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56714)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 56913)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57112)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57311)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57510)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57709)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 57908)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58107)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58306)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58505)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58704)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 58903)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59102)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59301)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59500)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59699)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 59898)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60097)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60296)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60495)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60694)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 60893)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61092)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61291)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61490)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61689)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 61888)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62087)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62286)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62485)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62684)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 62883)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63082)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63281)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63480)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63679)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 63878)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64077)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64276)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64475)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64674)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 64873)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65072)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65271)) (i32.const 0)) +(assert_return (invoke "load8_u" (i32.const 65470)) (i32.const 0)) (assert_return (invoke "load8_u" (i32.const 65516)) (i32.const 0)) (assert_return (invoke "load8_u" (i32.const 65517)) (i32.const 1)) (assert_return (invoke "load8_u" (i32.const 65518)) (i32.const 2)) diff --git a/test/core/memory_fill.wast b/test/core/memory_fill.wast index bd4d598f..bbce9d8e 100644 --- a/test/core/memory_fill.wast +++ b/test/core/memory_fill.wast @@ -637,9 +637,7 @@ (assert_trap (invoke "run" (i32.const 65280) (i32.const 37) (i32.const 512)) "out of bounds") -(assert_return (invoke "checkRange" (i32.const 65280) (i32.const 65536) (i32.const 37)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 0) (i32.const 65280) (i32.const 0)) +(assert_return (invoke "checkRange" (i32.const 0) (i32.const 1) (i32.const 0)) (i32.const -1)) (module (memory 1 1 ) @@ -661,9 +659,7 @@ (assert_trap (invoke "run" (i32.const 65279) (i32.const 37) (i32.const 514)) "out of bounds") -(assert_return (invoke "checkRange" (i32.const 65279) (i32.const 65536) (i32.const 37)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 0) (i32.const 65279) (i32.const 0)) +(assert_return (invoke "checkRange" (i32.const 0) (i32.const 1) (i32.const 0)) (i32.const -1)) (module (memory 1 1 ) @@ -685,7 +681,5 @@ (assert_trap (invoke "run" (i32.const 65279) (i32.const 37) (i32.const 4294967295)) "out of bounds") -(assert_return (invoke "checkRange" (i32.const 65279) (i32.const 65536) (i32.const 37)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 0) (i32.const 65279) (i32.const 0)) +(assert_return (invoke "checkRange" (i32.const 0) (i32.const 1) (i32.const 0)) (i32.const -1)) diff --git a/test/core/memory_init.wast b/test/core/memory_init.wast index 9a6fb7cd..670bddc2 100644 --- a/test/core/memory_init.wast +++ b/test/core/memory_init.wast @@ -825,11 +825,7 @@ (assert_trap (invoke "run" (i32.const 65528) (i32.const 16)) "out of bounds") -(assert_return (invoke "checkRange" (i32.const 0) (i32.const 65528) (i32.const 0)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 65528) (i32.const 65536) (i32.const 66)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 65536) (i32.const 65536) (i32.const 0)) +(assert_return (invoke "checkRange" (i32.const 0) (i32.const 1) (i32.const 0)) (i32.const -1)) (module (memory 1 1 ) @@ -852,11 +848,7 @@ (assert_trap (invoke "run" (i32.const 65527) (i32.const 16)) "out of bounds") -(assert_return (invoke "checkRange" (i32.const 0) (i32.const 65527) (i32.const 0)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 65527) (i32.const 65536) (i32.const 66)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 65536) (i32.const 65536) (i32.const 0)) +(assert_return (invoke "checkRange" (i32.const 0) (i32.const 1) (i32.const 0)) (i32.const -1)) (module (memory 1 1 ) @@ -879,11 +871,7 @@ (assert_trap (invoke "run" (i32.const 65472) (i32.const 30)) "out of bounds") -(assert_return (invoke "checkRange" (i32.const 0) (i32.const 65472) (i32.const 0)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 65472) (i32.const 65488) (i32.const 66)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 65488) (i32.const 65536) (i32.const 0)) +(assert_return (invoke "checkRange" (i32.const 0) (i32.const 1) (i32.const 0)) (i32.const -1)) (module (memory 1 1 ) @@ -906,11 +894,7 @@ (assert_trap (invoke "run" (i32.const 65473) (i32.const 31)) "out of bounds") -(assert_return (invoke "checkRange" (i32.const 0) (i32.const 65473) (i32.const 0)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 65473) (i32.const 65489) (i32.const 66)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 65489) (i32.const 65536) (i32.const 0)) +(assert_return (invoke "checkRange" (i32.const 0) (i32.const 1) (i32.const 0)) (i32.const -1)) (module (memory 1 ) @@ -933,11 +917,7 @@ (assert_trap (invoke "run" (i32.const 65528) (i32.const 4294967040)) "out of bounds") -(assert_return (invoke "checkRange" (i32.const 0) (i32.const 65528) (i32.const 0)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 65528) (i32.const 65536) (i32.const 66)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 65536) (i32.const 65536) (i32.const 0)) +(assert_return (invoke "checkRange" (i32.const 0) (i32.const 1) (i32.const 0)) (i32.const -1)) (module (memory 1 ) @@ -960,9 +940,5 @@ (assert_trap (invoke "run" (i32.const 0) (i32.const 4294967292)) "out of bounds") -(assert_return (invoke "checkRange" (i32.const 0) (i32.const 0) (i32.const 0)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 0) (i32.const 16) (i32.const 66)) - (i32.const -1)) -(assert_return (invoke "checkRange" (i32.const 16) (i32.const 65536) (i32.const 0)) +(assert_return (invoke "checkRange" (i32.const 0) (i32.const 1) (i32.const 0)) (i32.const -1)) diff --git a/test/core/table_copy.wast b/test/core/table_copy.wast index 2d0fb780..20949b30 100644 --- a/test/core/table_copy.wast +++ b/test/core/table_copy.wast @@ -857,14 +857,14 @@ (assert_trap (invoke "run" (i32.const 0) (i32.const 24) (i32.const 16)) "out of bounds") -(assert_return (invoke "test" (i32.const 0)) (i32.const 0)) -(assert_return (invoke "test" (i32.const 1)) (i32.const 1)) -(assert_return (invoke "test" (i32.const 2)) (i32.const 2)) -(assert_return (invoke "test" (i32.const 3)) (i32.const 3)) -(assert_return (invoke "test" (i32.const 4)) (i32.const 4)) -(assert_return (invoke "test" (i32.const 5)) (i32.const 5)) -(assert_return (invoke "test" (i32.const 6)) (i32.const 6)) -(assert_return (invoke "test" (i32.const 7)) (i32.const 7)) +(assert_trap (invoke "test" (i32.const 0)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 1)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 2)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 3)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 4)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 5)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 6)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 7)) "uninitialized element") (assert_trap (invoke "test" (i32.const 8)) "uninitialized element") (assert_trap (invoke "test" (i32.const 9)) "uninitialized element") (assert_trap (invoke "test" (i32.const 10)) "uninitialized element") @@ -918,15 +918,15 @@ (assert_trap (invoke "run" (i32.const 0) (i32.const 23) (i32.const 15)) "out of bounds") -(assert_return (invoke "test" (i32.const 0)) (i32.const 0)) -(assert_return (invoke "test" (i32.const 1)) (i32.const 1)) -(assert_return (invoke "test" (i32.const 2)) (i32.const 2)) -(assert_return (invoke "test" (i32.const 3)) (i32.const 3)) -(assert_return (invoke "test" (i32.const 4)) (i32.const 4)) -(assert_return (invoke "test" (i32.const 5)) (i32.const 5)) -(assert_return (invoke "test" (i32.const 6)) (i32.const 6)) -(assert_return (invoke "test" (i32.const 7)) (i32.const 7)) -(assert_return (invoke "test" (i32.const 8)) (i32.const 8)) +(assert_trap (invoke "test" (i32.const 0)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 1)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 2)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 3)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 4)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 5)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 6)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 7)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 8)) "uninitialized element") (assert_trap (invoke "test" (i32.const 9)) "uninitialized element") (assert_trap (invoke "test" (i32.const 10)) "uninitialized element") (assert_trap (invoke "test" (i32.const 11)) "uninitialized element") @@ -1051,14 +1051,14 @@ (assert_trap (invoke "test" (i32.const 8)) "uninitialized element") (assert_trap (invoke "test" (i32.const 9)) "uninitialized element") (assert_trap (invoke "test" (i32.const 10)) "uninitialized element") -(assert_return (invoke "test" (i32.const 11)) (i32.const 0)) -(assert_return (invoke "test" (i32.const 12)) (i32.const 1)) -(assert_return (invoke "test" (i32.const 13)) (i32.const 2)) -(assert_return (invoke "test" (i32.const 14)) (i32.const 3)) -(assert_return (invoke "test" (i32.const 15)) (i32.const 4)) -(assert_return (invoke "test" (i32.const 16)) (i32.const 5)) -(assert_return (invoke "test" (i32.const 17)) (i32.const 6)) -(assert_return (invoke "test" (i32.const 18)) (i32.const 7)) +(assert_trap (invoke "test" (i32.const 11)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 12)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 13)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 14)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 15)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 16)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 17)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 18)) "uninitialized element") (assert_trap (invoke "test" (i32.const 19)) "uninitialized element") (assert_trap (invoke "test" (i32.const 20)) "uninitialized element") (assert_trap (invoke "test" (i32.const 21)) "uninitialized element") @@ -1183,14 +1183,14 @@ (assert_trap (invoke "test" (i32.const 18)) "uninitialized element") (assert_trap (invoke "test" (i32.const 19)) "uninitialized element") (assert_trap (invoke "test" (i32.const 20)) "uninitialized element") -(assert_return (invoke "test" (i32.const 21)) (i32.const 0)) -(assert_return (invoke "test" (i32.const 22)) (i32.const 1)) -(assert_return (invoke "test" (i32.const 23)) (i32.const 2)) -(assert_return (invoke "test" (i32.const 24)) (i32.const 3)) -(assert_return (invoke "test" (i32.const 25)) (i32.const 4)) -(assert_return (invoke "test" (i32.const 26)) (i32.const 5)) -(assert_return (invoke "test" (i32.const 27)) (i32.const 6)) -(assert_return (invoke "test" (i32.const 28)) (i32.const 7)) +(assert_trap (invoke "test" (i32.const 21)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 22)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 23)) "uninitialized element") +(assert_return (invoke "test" (i32.const 24)) (i32.const 0)) +(assert_return (invoke "test" (i32.const 25)) (i32.const 1)) +(assert_return (invoke "test" (i32.const 26)) (i32.const 2)) +(assert_return (invoke "test" (i32.const 27)) (i32.const 3)) +(assert_return (invoke "test" (i32.const 28)) (i32.const 4)) (assert_return (invoke "test" (i32.const 29)) (i32.const 5)) (assert_return (invoke "test" (i32.const 30)) (i32.const 6)) (assert_return (invoke "test" (i32.const 31)) (i32.const 7)) @@ -1284,22 +1284,22 @@ (assert_trap (invoke "run" (i32.const 0) (i32.const 112) (i32.const 4294967264)) "out of bounds") -(assert_return (invoke "test" (i32.const 0)) (i32.const 0)) -(assert_return (invoke "test" (i32.const 1)) (i32.const 1)) -(assert_return (invoke "test" (i32.const 2)) (i32.const 2)) -(assert_return (invoke "test" (i32.const 3)) (i32.const 3)) -(assert_return (invoke "test" (i32.const 4)) (i32.const 4)) -(assert_return (invoke "test" (i32.const 5)) (i32.const 5)) -(assert_return (invoke "test" (i32.const 6)) (i32.const 6)) -(assert_return (invoke "test" (i32.const 7)) (i32.const 7)) -(assert_return (invoke "test" (i32.const 8)) (i32.const 8)) -(assert_return (invoke "test" (i32.const 9)) (i32.const 9)) -(assert_return (invoke "test" (i32.const 10)) (i32.const 10)) -(assert_return (invoke "test" (i32.const 11)) (i32.const 11)) -(assert_return (invoke "test" (i32.const 12)) (i32.const 12)) -(assert_return (invoke "test" (i32.const 13)) (i32.const 13)) -(assert_return (invoke "test" (i32.const 14)) (i32.const 14)) -(assert_return (invoke "test" (i32.const 15)) (i32.const 15)) +(assert_trap (invoke "test" (i32.const 0)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 1)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 2)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 3)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 4)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 5)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 6)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 7)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 8)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 9)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 10)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 11)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 12)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 13)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 14)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 15)) "uninitialized element") (assert_trap (invoke "test" (i32.const 16)) "uninitialized element") (assert_trap (invoke "test" (i32.const 17)) "uninitialized element") (assert_trap (invoke "test" (i32.const 18)) "uninitialized element") diff --git a/test/core/table_init.wast b/test/core/table_init.wast index 6cee4715..658deb68 100644 --- a/test/core/table_init.wast +++ b/test/core/table_init.wast @@ -1113,14 +1113,6 @@ (func (export "run") (param $offs i32) (param $len i32) (table.init 0 (local.get $offs) (i32.const 0) (local.get $len)))) (assert_trap (invoke "run" (i32.const 24) (i32.const 16)) "out of bounds") -(assert_return (invoke "test" (i32.const 24)) (i32.const 0)) -(assert_return (invoke "test" (i32.const 25)) (i32.const 1)) -(assert_return (invoke "test" (i32.const 26)) (i32.const 2)) -(assert_return (invoke "test" (i32.const 27)) (i32.const 3)) -(assert_return (invoke "test" (i32.const 28)) (i32.const 4)) -(assert_return (invoke "test" (i32.const 29)) (i32.const 5)) -(assert_return (invoke "test" (i32.const 30)) (i32.const 6)) -(assert_return (invoke "test" (i32.const 31)) (i32.const 7)) (assert_trap (invoke "test" (i32.const 0)) "uninitialized element") (assert_trap (invoke "test" (i32.const 1)) "uninitialized element") (assert_trap (invoke "test" (i32.const 2)) "uninitialized element") @@ -1145,6 +1137,14 @@ (assert_trap (invoke "test" (i32.const 21)) "uninitialized element") (assert_trap (invoke "test" (i32.const 22)) "uninitialized element") (assert_trap (invoke "test" (i32.const 23)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 24)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 25)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 26)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 27)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 28)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 29)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 30)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 31)) "uninitialized element") (module (type (func (result i32))) @@ -1175,13 +1175,6 @@ (func (export "run") (param $offs i32) (param $len i32) (table.init 0 (local.get $offs) (i32.const 0) (local.get $len)))) (assert_trap (invoke "run" (i32.const 25) (i32.const 16)) "out of bounds") -(assert_return (invoke "test" (i32.const 25)) (i32.const 0)) -(assert_return (invoke "test" (i32.const 26)) (i32.const 1)) -(assert_return (invoke "test" (i32.const 27)) (i32.const 2)) -(assert_return (invoke "test" (i32.const 28)) (i32.const 3)) -(assert_return (invoke "test" (i32.const 29)) (i32.const 4)) -(assert_return (invoke "test" (i32.const 30)) (i32.const 5)) -(assert_return (invoke "test" (i32.const 31)) (i32.const 6)) (assert_trap (invoke "test" (i32.const 0)) "uninitialized element") (assert_trap (invoke "test" (i32.const 1)) "uninitialized element") (assert_trap (invoke "test" (i32.const 2)) "uninitialized element") @@ -1207,6 +1200,13 @@ (assert_trap (invoke "test" (i32.const 22)) "uninitialized element") (assert_trap (invoke "test" (i32.const 23)) "uninitialized element") (assert_trap (invoke "test" (i32.const 24)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 25)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 26)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 27)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 28)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 29)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 30)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 31)) "uninitialized element") (module (type (func (result i32))) @@ -1237,70 +1237,6 @@ (func (export "run") (param $offs i32) (param $len i32) (table.init 0 (local.get $offs) (i32.const 0) (local.get $len)))) (assert_trap (invoke "run" (i32.const 96) (i32.const 32)) "out of bounds") -(assert_return (invoke "test" (i32.const 96)) (i32.const 0)) -(assert_return (invoke "test" (i32.const 97)) (i32.const 1)) -(assert_return (invoke "test" (i32.const 98)) (i32.const 2)) -(assert_return (invoke "test" (i32.const 99)) (i32.const 3)) -(assert_return (invoke "test" (i32.const 100)) (i32.const 4)) -(assert_return (invoke "test" (i32.const 101)) (i32.const 5)) -(assert_return (invoke "test" (i32.const 102)) (i32.const 6)) -(assert_return (invoke "test" (i32.const 103)) (i32.const 7)) -(assert_return (invoke "test" (i32.const 104)) (i32.const 8)) -(assert_return (invoke "test" (i32.const 105)) (i32.const 9)) -(assert_return (invoke "test" (i32.const 106)) (i32.const 10)) -(assert_return (invoke "test" (i32.const 107)) (i32.const 11)) -(assert_return (invoke "test" (i32.const 108)) (i32.const 12)) -(assert_return (invoke "test" (i32.const 109)) (i32.const 13)) -(assert_return (invoke "test" (i32.const 110)) (i32.const 14)) -(assert_return (invoke "test" (i32.const 111)) (i32.const 15)) -(assert_trap (invoke "test" (i32.const 112)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 113)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 114)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 115)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 116)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 117)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 118)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 119)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 120)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 121)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 122)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 123)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 124)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 125)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 126)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 127)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 128)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 129)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 130)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 131)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 132)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 133)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 134)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 135)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 136)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 137)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 138)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 139)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 140)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 141)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 142)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 143)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 144)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 145)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 146)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 147)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 148)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 149)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 150)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 151)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 152)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 153)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 154)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 155)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 156)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 157)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 158)) "uninitialized element") -(assert_trap (invoke "test" (i32.const 159)) "uninitialized element") (assert_trap (invoke "test" (i32.const 0)) "uninitialized element") (assert_trap (invoke "test" (i32.const 1)) "uninitialized element") (assert_trap (invoke "test" (i32.const 2)) "uninitialized element") @@ -1397,52 +1333,23 @@ (assert_trap (invoke "test" (i32.const 93)) "uninitialized element") (assert_trap (invoke "test" (i32.const 94)) "uninitialized element") (assert_trap (invoke "test" (i32.const 95)) "uninitialized element") - -(module - (type (func (result i32))) - (table 160 320 funcref) - (elem funcref - (ref.func $f0) (ref.func $f1) (ref.func $f2) (ref.func $f3) - (ref.func $f4) (ref.func $f5) (ref.func $f6) (ref.func $f7) - (ref.func $f8) (ref.func $f9) (ref.func $f10) (ref.func $f11) - (ref.func $f12) (ref.func $f13) (ref.func $f14) (ref.func $f15)) - (func $f0 (export "f0") (result i32) (i32.const 0)) - (func $f1 (export "f1") (result i32) (i32.const 1)) - (func $f2 (export "f2") (result i32) (i32.const 2)) - (func $f3 (export "f3") (result i32) (i32.const 3)) - (func $f4 (export "f4") (result i32) (i32.const 4)) - (func $f5 (export "f5") (result i32) (i32.const 5)) - (func $f6 (export "f6") (result i32) (i32.const 6)) - (func $f7 (export "f7") (result i32) (i32.const 7)) - (func $f8 (export "f8") (result i32) (i32.const 8)) - (func $f9 (export "f9") (result i32) (i32.const 9)) - (func $f10 (export "f10") (result i32) (i32.const 10)) - (func $f11 (export "f11") (result i32) (i32.const 11)) - (func $f12 (export "f12") (result i32) (i32.const 12)) - (func $f13 (export "f13") (result i32) (i32.const 13)) - (func $f14 (export "f14") (result i32) (i32.const 14)) - (func $f15 (export "f15") (result i32) (i32.const 15)) - (func (export "test") (param $n i32) (result i32) - (call_indirect (type 0) (local.get $n))) - (func (export "run") (param $offs i32) (param $len i32) - (table.init 0 (local.get $offs) (i32.const 0) (local.get $len)))) -(assert_trap (invoke "run" (i32.const 97) (i32.const 31)) "out of bounds") -(assert_return (invoke "test" (i32.const 97)) (i32.const 0)) -(assert_return (invoke "test" (i32.const 98)) (i32.const 1)) -(assert_return (invoke "test" (i32.const 99)) (i32.const 2)) -(assert_return (invoke "test" (i32.const 100)) (i32.const 3)) -(assert_return (invoke "test" (i32.const 101)) (i32.const 4)) -(assert_return (invoke "test" (i32.const 102)) (i32.const 5)) -(assert_return (invoke "test" (i32.const 103)) (i32.const 6)) -(assert_return (invoke "test" (i32.const 104)) (i32.const 7)) -(assert_return (invoke "test" (i32.const 105)) (i32.const 8)) -(assert_return (invoke "test" (i32.const 106)) (i32.const 9)) -(assert_return (invoke "test" (i32.const 107)) (i32.const 10)) -(assert_return (invoke "test" (i32.const 108)) (i32.const 11)) -(assert_return (invoke "test" (i32.const 109)) (i32.const 12)) -(assert_return (invoke "test" (i32.const 110)) (i32.const 13)) -(assert_return (invoke "test" (i32.const 111)) (i32.const 14)) -(assert_return (invoke "test" (i32.const 112)) (i32.const 15)) +(assert_trap (invoke "test" (i32.const 96)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 97)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 98)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 99)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 100)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 101)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 102)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 103)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 104)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 105)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 106)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 107)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 108)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 109)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 110)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 111)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 112)) "uninitialized element") (assert_trap (invoke "test" (i32.const 113)) "uninitialized element") (assert_trap (invoke "test" (i32.const 114)) "uninitialized element") (assert_trap (invoke "test" (i32.const 115)) "uninitialized element") @@ -1490,6 +1397,36 @@ (assert_trap (invoke "test" (i32.const 157)) "uninitialized element") (assert_trap (invoke "test" (i32.const 158)) "uninitialized element") (assert_trap (invoke "test" (i32.const 159)) "uninitialized element") + +(module + (type (func (result i32))) + (table 160 320 funcref) + (elem funcref + (ref.func $f0) (ref.func $f1) (ref.func $f2) (ref.func $f3) + (ref.func $f4) (ref.func $f5) (ref.func $f6) (ref.func $f7) + (ref.func $f8) (ref.func $f9) (ref.func $f10) (ref.func $f11) + (ref.func $f12) (ref.func $f13) (ref.func $f14) (ref.func $f15)) + (func $f0 (export "f0") (result i32) (i32.const 0)) + (func $f1 (export "f1") (result i32) (i32.const 1)) + (func $f2 (export "f2") (result i32) (i32.const 2)) + (func $f3 (export "f3") (result i32) (i32.const 3)) + (func $f4 (export "f4") (result i32) (i32.const 4)) + (func $f5 (export "f5") (result i32) (i32.const 5)) + (func $f6 (export "f6") (result i32) (i32.const 6)) + (func $f7 (export "f7") (result i32) (i32.const 7)) + (func $f8 (export "f8") (result i32) (i32.const 8)) + (func $f9 (export "f9") (result i32) (i32.const 9)) + (func $f10 (export "f10") (result i32) (i32.const 10)) + (func $f11 (export "f11") (result i32) (i32.const 11)) + (func $f12 (export "f12") (result i32) (i32.const 12)) + (func $f13 (export "f13") (result i32) (i32.const 13)) + (func $f14 (export "f14") (result i32) (i32.const 14)) + (func $f15 (export "f15") (result i32) (i32.const 15)) + (func (export "test") (param $n i32) (result i32) + (call_indirect (type 0) (local.get $n))) + (func (export "run") (param $offs i32) (param $len i32) + (table.init 0 (local.get $offs) (i32.const 0) (local.get $len)))) +(assert_trap (invoke "run" (i32.const 97) (i32.const 31)) "out of bounds") (assert_trap (invoke "test" (i32.const 0)) "uninitialized element") (assert_trap (invoke "test" (i32.const 1)) "uninitialized element") (assert_trap (invoke "test" (i32.const 2)) "uninitialized element") @@ -1587,6 +1524,69 @@ (assert_trap (invoke "test" (i32.const 94)) "uninitialized element") (assert_trap (invoke "test" (i32.const 95)) "uninitialized element") (assert_trap (invoke "test" (i32.const 96)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 97)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 98)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 99)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 100)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 101)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 102)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 103)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 104)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 105)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 106)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 107)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 108)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 109)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 110)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 111)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 112)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 113)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 114)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 115)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 116)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 117)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 118)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 119)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 120)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 121)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 122)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 123)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 124)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 125)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 126)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 127)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 128)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 129)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 130)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 131)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 132)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 133)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 134)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 135)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 136)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 137)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 138)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 139)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 140)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 141)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 142)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 143)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 144)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 145)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 146)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 147)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 148)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 149)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 150)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 151)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 152)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 153)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 154)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 155)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 156)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 157)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 158)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 159)) "uninitialized element") (module (type (func (result i32))) @@ -1617,22 +1617,6 @@ (func (export "run") (param $offs i32) (param $len i32) (table.init 0 (local.get $offs) (i32.const 0) (local.get $len)))) (assert_trap (invoke "run" (i32.const 48) (i32.const 4294967280)) "out of bounds") -(assert_return (invoke "test" (i32.const 48)) (i32.const 0)) -(assert_return (invoke "test" (i32.const 49)) (i32.const 1)) -(assert_return (invoke "test" (i32.const 50)) (i32.const 2)) -(assert_return (invoke "test" (i32.const 51)) (i32.const 3)) -(assert_return (invoke "test" (i32.const 52)) (i32.const 4)) -(assert_return (invoke "test" (i32.const 53)) (i32.const 5)) -(assert_return (invoke "test" (i32.const 54)) (i32.const 6)) -(assert_return (invoke "test" (i32.const 55)) (i32.const 7)) -(assert_return (invoke "test" (i32.const 56)) (i32.const 8)) -(assert_return (invoke "test" (i32.const 57)) (i32.const 9)) -(assert_return (invoke "test" (i32.const 58)) (i32.const 10)) -(assert_return (invoke "test" (i32.const 59)) (i32.const 11)) -(assert_return (invoke "test" (i32.const 60)) (i32.const 12)) -(assert_return (invoke "test" (i32.const 61)) (i32.const 13)) -(assert_return (invoke "test" (i32.const 62)) (i32.const 14)) -(assert_return (invoke "test" (i32.const 63)) (i32.const 15)) (assert_trap (invoke "test" (i32.const 0)) "uninitialized element") (assert_trap (invoke "test" (i32.const 1)) "uninitialized element") (assert_trap (invoke "test" (i32.const 2)) "uninitialized element") @@ -1681,6 +1665,22 @@ (assert_trap (invoke "test" (i32.const 45)) "uninitialized element") (assert_trap (invoke "test" (i32.const 46)) "uninitialized element") (assert_trap (invoke "test" (i32.const 47)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 48)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 49)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 50)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 51)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 52)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 53)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 54)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 55)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 56)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 57)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 58)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 59)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 60)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 61)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 62)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 63)) "uninitialized element") (module (type (func (result i32))) @@ -1711,11 +1711,19 @@ (func (export "run") (param $offs i32) (param $len i32) (table.init 0 (local.get $offs) (i32.const 8) (local.get $len)))) (assert_trap (invoke "run" (i32.const 0) (i32.const 4294967292)) "out of bounds") -(assert_return (invoke "test" (i32.const 0)) (i32.const 8)) -(assert_return (invoke "test" (i32.const 1)) (i32.const 9)) -(assert_return (invoke "test" (i32.const 2)) (i32.const 10)) -(assert_return (invoke "test" (i32.const 3)) (i32.const 11)) -(assert_return (invoke "test" (i32.const 4)) (i32.const 12)) -(assert_return (invoke "test" (i32.const 5)) (i32.const 13)) -(assert_return (invoke "test" (i32.const 6)) (i32.const 14)) -(assert_return (invoke "test" (i32.const 7)) (i32.const 15)) +(assert_trap (invoke "test" (i32.const 0)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 1)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 2)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 3)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 4)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 5)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 6)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 7)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 8)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 9)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 10)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 11)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 12)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 13)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 14)) "uninitialized element") +(assert_trap (invoke "test" (i32.const 15)) "uninitialized element") diff --git a/test/meta/generate_memory_copy.js b/test/meta/generate_memory_copy.js index 775b6ddd..687ce6c7 100644 --- a/test/meta/generate_memory_copy.js +++ b/test/meta/generate_memory_copy.js @@ -108,38 +108,13 @@ function mem_copy(min, max, shared, srcOffs, targetOffs, len) { let immediateOOB = copyDown && (srcOffs + len > memLength || targetOffs + len > memLength); - var t = 0; var s = 0; var i = 0; - function checkTarget() { - if (i >= targetOffs && i < targetLim) { - print(`(assert_return (invoke "load8_u" (i32.const ${i})) (i32.const ${(t++) & 0xFF}))`); - if (i >= srcOffs && i < srcLim) - s++; - return true; - } - return false; - } - function checkSource() { - if (i >= srcOffs && i < srcLim) { - print(`(assert_return (invoke "load8_u" (i32.const ${i})) (i32.const ${(s++) & 0xFF}))`); - if (i >= targetOffs && i < targetLim) - t++; - return true; - } - return false; - } - let k = 0; for (i=0; i < memLength; i++ ) { - if (immediateOOB) { - if (checkSource()) - continue; - } else { - if (copyDown && (checkSource() || checkTarget())) - continue; - if (!copyDown && (checkTarget() || checkSource())) - continue; + if (i >= srcOffs && i < srcLim) { + print(`(assert_return (invoke "load8_u" (i32.const ${i})) (i32.const ${(s++) & 0xFF}))`); + continue; } // Only spot-check for zero, or we'll be here all night. if (++k == 199) { diff --git a/test/meta/generate_memory_fill.js b/test/meta/generate_memory_fill.js index dc943825..cb048f6a 100644 --- a/test/meta/generate_memory_fill.js +++ b/test/meta/generate_memory_fill.js @@ -123,7 +123,7 @@ print( }}} } -// memory.fill: out of bounds, but should perform a partial fill. +// memory.fill: out of bounds, and should not perform a partial fill. // // Arithmetic overflow of memory offset + len should not affect the behavior, we // should still fill up to the limit. @@ -143,8 +143,7 @@ function mem_fill(min, max, shared, backup, write=backup*2) { `(assert_trap (invoke "run" (i32.const ${offs}) (i32.const ${val}) (i32.const ${write})) "out of bounds") `); - checkRange(offs, offs+backup, val); - checkRange(0, offs, 0); + checkRange(0, min, 0); } mem_fill(1, 1, "", 256); diff --git a/test/meta/generate_memory_init.js b/test/meta/generate_memory_init.js index e0605547..eccbabfe 100644 --- a/test/meta/generate_memory_init.js +++ b/test/meta/generate_memory_init.js @@ -257,9 +257,7 @@ function mem_init(min, max, shared, backup, write) { `(assert_trap (invoke "run" (i32.const ${offs}) (i32.const ${write})) "out of bounds") `); - checkRange(0, offs, 0); - checkRange(offs, offs+Math.min(backup, mem_init_len), 0x42); - checkRange(offs+Math.min(backup, mem_init_len), offs+backup, 0); + checkRange(0, min, 0); } // We exceed the bounds of the memory but not of the data segment diff --git a/test/meta/generate_table_copy.js b/test/meta/generate_table_copy.js index a14c59f8..d399fdc4 100644 --- a/test/meta/generate_table_copy.js +++ b/test/meta/generate_table_copy.js @@ -275,37 +275,12 @@ function tbl_copy(min, max, srcOffs, targetOffs, len) { print(`(assert_trap (invoke "run" (i32.const ${targetOffs}) (i32.const ${srcOffs}) (i32.const ${len})) "out of bounds")`); - var t = 0; var s = 0; var i = 0; - function checkTarget() { - if (i >= targetOffs && i < targetLim) { - print(`(assert_return (invoke "test" (i32.const ${i})) (i32.const ${t++}))`); - if (i >= srcOffs && i < srcLim) - s++; - return true; - } - return false; - } - function checkSource() { + for (i=0; i < tblLength; i++ ) { if (i >= srcOffs && i < srcLim) { print(`(assert_return (invoke "test" (i32.const ${i})) (i32.const ${s++}))`); - if (i >= targetOffs && i < targetLim) - t++; - return true; - } - return false; - } - - for (i=0; i < tblLength; i++ ) { - if (immediateOOB) { - if (checkSource()) - continue; - } else { - if (copyDown && (checkSource() || checkTarget())) - continue; - if (!copyDown && (checkTarget() || checkSource())) - continue; + continue; } print(`(assert_trap (invoke "test" (i32.const ${i})) "uninitialized element")`); } diff --git a/test/meta/generate_table_init.js b/test/meta/generate_table_init.js index 8366d19e..bc594090 100644 --- a/test/meta/generate_table_init.js +++ b/test/meta/generate_table_init.js @@ -315,13 +315,7 @@ function tbl_init(min, max, backup, write, segoffs=0) { // table with as much data as was available. let offs = min - backup; print(`(assert_trap (invoke "run" (i32.const ${offs}) (i32.const ${write})) "out of bounds")`); - for (let i=0; i < Math.min(backup, tbl_init_len - segoffs); i++) { - print(`(assert_return (invoke "test" (i32.const ${offs + i})) (i32.const ${i + segoffs}))`); - } - for (let i=Math.min(backup, tbl_init_len); i < backup; i++) { - print(`(assert_trap (invoke "test" (i32.const ${offs + i})) "uninitialized element")`); - } - for (let i=0; i < offs; i++) { + for (let i=0; i < min; i++) { print(`(assert_trap (invoke "test" (i32.const ${i})) "uninitialized element")`); } }