diff options
author | Alon Zakai <azakai@google.com> | 2024-07-12 13:37:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-12 13:37:40 -0700 |
commit | 0e0e08db6280dec4f4fcce2dff3ba07445c45b8a (patch) | |
tree | c97e58534072cac88bcc685dda3dff49b1cbd20f | |
parent | c0286b61a0eedde936ce1adff4284859ce4c6510 (diff) | |
download | binaryen-0e0e08db6280dec4f4fcce2dff3ba07445c45b8a.tar.gz binaryen-0e0e08db6280dec4f4fcce2dff3ba07445c45b8a.tar.bz2 binaryen-0e0e08db6280dec4f4fcce2dff3ba07445c45b8a.zip |
SafeHeap: Handle overflows when adding the pointer and the size (#6409)
E.g. loading 4 bytes from 2^32 - 2 should error: 2 bytes are past the maximum
address. Before this PR we added 2^32 - 2 + 4 and overflowed to 2, which we
saw as a low and safe address. This PR adds an extra check for an overflow in
that add.
Also add unreachables after calls to segfault(), which reduces the overhead of
the extra check here (the unreachable apparently allows VMs to see that
control flow ends, after the segfault() which is truly no-return).
Fixes emscripten-core/emscripten#21557
-rw-r--r-- | src/passes/SafeHeap.cpp | 44 | ||||
-rw-r--r-- | test/passes/safe-heap_disable-simd.txt | 3135 | ||||
-rw-r--r-- | test/passes/safe-heap_enable-threads_enable-simd.txt | 4427 | ||||
-rw-r--r-- | test/passes/safe-heap_enable-threads_enable-simd64.txt | 4427 | ||||
-rw-r--r-- | test/passes/safe-heap_low-memory-unused_enable-threads_enable-simd.txt | 4427 | ||||
-rw-r--r-- | test/passes/safe-heap_start-function.txt | 1045 |
6 files changed, 11980 insertions, 5525 deletions
diff --git a/src/passes/SafeHeap.cpp b/src/passes/SafeHeap.cpp index b2f7db567..7baeb365e 100644 --- a/src/passes/SafeHeap.cpp +++ b/src/passes/SafeHeap.cpp @@ -288,6 +288,7 @@ struct SafeHeap : public Pass { auto func = Builder::makeFunction(name, funcSig, {indexType}); Builder builder(*module); auto* block = builder.makeBlock(); + // stash the sum of the pointer (0) and the size (1) in a local (2) block->list.push_back(builder.makeLocalSet( 2, builder.makeBinary(memory->is64() ? AddInt64 : AddInt32, @@ -296,6 +297,7 @@ struct SafeHeap : public Pass { // check for reading past valid memory: if pointer + offset + bytes block->list.push_back(makeBoundsCheck(style.type, builder, + 0, 2, style.bytes, module, @@ -346,6 +348,7 @@ struct SafeHeap : public Pass { // check for reading past valid memory: if pointer + offset + bytes block->list.push_back(makeBoundsCheck(style.valueType, builder, + 0, 3, style.bytes, module, @@ -386,9 +389,14 @@ struct SafeHeap : public Pass { builder.makeCall(alignfault, {}, Type::none)); } + // Constructs a bounds check. This receives the indexes of two locals: the + // pointer local, which contains the pointer we are checking, and the sum + // local which contains the pointer added to the number of bytes being + // accessed. Expression* makeBoundsCheck(Type type, Builder& builder, - Index local, + Index ptrLocal, + Index sumLocal, Index bytes, Module* module, Type indexType, @@ -415,19 +423,33 @@ struct SafeHeap : public Pass { } auto gtuOp = is64 ? GtUInt64 : GtUInt32; auto addOp = is64 ? AddInt64 : AddInt32; + auto* upperCheck = + builder.makeBinary(upperOp, + builder.makeLocalGet(sumLocal, indexType), + builder.makeConstPtr(upperBound, indexType)); + auto* lowerCheck = builder.makeBinary( + gtuOp, + builder.makeBinary(addOp, + builder.makeLocalGet(sumLocal, indexType), + builder.makeConstPtr(bytes, indexType)), + brkLocation); + // Check for an overflow when adding the pointer and the size, using the + // rule that for any unsigned x and y, + // x + y < x <=> x + y overflows + auto* overflowCheck = + builder.makeBinary(is64 ? LtUInt64 : LtUInt32, + builder.makeLocalGet(sumLocal, indexType), + builder.makeLocalGet(ptrLocal, indexType)); + // Add an unreachable right after the call to segfault for performance + // reasons: the call never returns, and this helps optimizations benefit + // from that. return builder.makeIf( builder.makeBinary( OrInt32, - builder.makeBinary(upperOp, - builder.makeLocalGet(local, indexType), - builder.makeConstPtr(upperBound, indexType)), - builder.makeBinary( - gtuOp, - builder.makeBinary(addOp, - builder.makeLocalGet(local, indexType), - builder.makeConstPtr(bytes, indexType)), - brkLocation)), - builder.makeCall(segfault, {}, Type::none)); + upperCheck, + builder.makeBinary(OrInt32, lowerCheck, overflowCheck)), + builder.makeSequence(builder.makeCall(segfault, {}, Type::none), + builder.makeUnreachable())); } }; diff --git a/test/passes/safe-heap_disable-simd.txt b/test/passes/safe-heap_disable-simd.txt index bb55667b1..e3ff8f6c2 100644 --- a/test/passes/safe-heap_disable-simd.txt +++ b/test/passes/safe-heap_disable-simd.txt @@ -27,18 +27,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 1) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_s @@ -59,18 +66,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_u @@ -91,18 +105,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_s align=1 @@ -123,18 +144,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -164,18 +192,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_u align=1 @@ -196,18 +231,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -237,18 +279,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load align=1 @@ -269,18 +318,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -310,18 +366,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -351,18 +414,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_s @@ -383,18 +453,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_u @@ -415,18 +492,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_s align=1 @@ -447,18 +531,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -488,18 +579,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_u align=1 @@ -520,18 +618,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -561,18 +666,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_s align=1 @@ -593,18 +705,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -634,18 +753,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -675,18 +801,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_u align=1 @@ -707,18 +840,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -748,18 +888,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -789,18 +936,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load align=1 @@ -821,18 +975,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -862,18 +1023,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -903,18 +1071,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -944,18 +1119,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.load align=1 @@ -976,18 +1158,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1017,18 +1206,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1058,18 +1254,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.load align=1 @@ -1090,18 +1293,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1131,18 +1341,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1172,18 +1389,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1213,18 +1437,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store8 @@ -1246,18 +1477,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store16 align=1 @@ -1279,18 +1517,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1321,18 +1566,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store align=1 @@ -1354,18 +1606,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1396,18 +1655,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1438,18 +1704,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store8 @@ -1471,18 +1744,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store16 align=1 @@ -1504,18 +1784,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1546,18 +1833,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store32 align=1 @@ -1579,18 +1873,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1621,18 +1922,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1663,18 +1971,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store align=1 @@ -1696,18 +2011,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1738,18 +2060,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1780,18 +2109,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1822,18 +2158,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.store align=1 @@ -1855,18 +2198,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1897,18 +2247,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1939,18 +2296,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.store align=1 @@ -1972,18 +2336,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2014,18 +2385,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2056,18 +2434,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2114,18 +2499,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_s @@ -2146,18 +2538,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_u @@ -2178,18 +2577,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_s align=1 @@ -2210,18 +2616,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2251,18 +2664,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_u align=1 @@ -2283,18 +2703,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2324,18 +2751,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load align=1 @@ -2356,18 +2790,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2397,18 +2838,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2438,18 +2886,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_s @@ -2470,18 +2925,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_u @@ -2502,18 +2964,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_s align=1 @@ -2534,18 +3003,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2575,18 +3051,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_u align=1 @@ -2607,18 +3090,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2648,18 +3138,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_s align=1 @@ -2680,18 +3177,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2721,18 +3225,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2762,18 +3273,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_u align=1 @@ -2794,18 +3312,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2835,18 +3360,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2876,18 +3408,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load align=1 @@ -2908,18 +3447,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2949,18 +3495,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2990,18 +3543,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3031,18 +3591,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.load align=1 @@ -3063,18 +3630,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3104,18 +3678,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3145,18 +3726,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.load align=1 @@ -3177,18 +3765,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3218,18 +3813,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3259,18 +3861,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3300,18 +3909,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store8 @@ -3333,18 +3949,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store16 align=1 @@ -3366,18 +3989,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3408,18 +4038,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store align=1 @@ -3441,18 +4078,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3483,18 +4127,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3525,18 +4176,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store8 @@ -3558,18 +4216,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store16 align=1 @@ -3591,18 +4256,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3633,18 +4305,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store32 align=1 @@ -3666,18 +4345,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3708,18 +4394,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3750,18 +4443,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store align=1 @@ -3783,18 +4483,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3825,18 +4532,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3867,18 +4581,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3909,18 +4630,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.store align=1 @@ -3942,18 +4670,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3984,18 +4719,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4026,18 +4768,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.store align=1 @@ -4059,18 +4808,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4101,18 +4857,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4143,18 +4906,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4209,18 +4979,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_s @@ -4241,18 +5018,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_u @@ -4273,18 +5057,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_s align=1 @@ -4305,18 +5096,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4346,18 +5144,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_u align=1 @@ -4378,18 +5183,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4419,18 +5231,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load align=1 @@ -4451,18 +5270,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4492,18 +5318,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4533,18 +5366,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_s @@ -4565,18 +5405,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_u @@ -4597,18 +5444,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_s align=1 @@ -4629,18 +5483,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4670,18 +5531,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_u align=1 @@ -4702,18 +5570,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4743,18 +5618,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_s align=1 @@ -4775,18 +5657,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4816,18 +5705,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4857,18 +5753,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_u align=1 @@ -4889,18 +5792,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4930,18 +5840,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4971,18 +5888,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load align=1 @@ -5003,18 +5927,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5044,18 +5975,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5085,18 +6023,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5126,18 +6071,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.load align=1 @@ -5158,18 +6110,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5199,18 +6158,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5240,18 +6206,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.load align=1 @@ -5272,18 +6245,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5313,18 +6293,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5354,18 +6341,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5395,18 +6389,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store8 @@ -5428,18 +6429,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store16 align=1 @@ -5461,18 +6469,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5503,18 +6518,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store align=1 @@ -5536,18 +6558,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5578,18 +6607,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5620,18 +6656,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store8 @@ -5653,18 +6696,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store16 align=1 @@ -5686,18 +6736,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5728,18 +6785,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store32 align=1 @@ -5761,18 +6825,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5803,18 +6874,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5845,18 +6923,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store align=1 @@ -5878,18 +6963,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5920,18 +7012,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5962,18 +7061,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6004,18 +7110,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.store align=1 @@ -6037,18 +7150,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6079,18 +7199,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6121,18 +7248,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.store align=1 @@ -6154,18 +7288,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6196,18 +7337,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6238,18 +7386,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if diff --git a/test/passes/safe-heap_enable-threads_enable-simd.txt b/test/passes/safe-heap_enable-threads_enable-simd.txt index aeea4f02c..ffc912a3c 100644 --- a/test/passes/safe-heap_enable-threads_enable-simd.txt +++ b/test/passes/safe-heap_enable-threads_enable-simd.txt @@ -198,18 +198,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.shr_s @@ -236,18 +243,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_s @@ -268,18 +282,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.atomic.load8_u @@ -300,18 +321,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_u @@ -332,18 +360,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_s align=1 @@ -364,18 +399,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -411,18 +453,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -452,18 +501,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_u align=1 @@ -484,18 +540,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -525,18 +588,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -566,18 +636,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load align=1 @@ -598,18 +675,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -639,18 +723,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -680,18 +771,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -721,18 +819,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.shr_s @@ -759,18 +864,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_s @@ -791,18 +903,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.atomic.load8_u @@ -823,18 +942,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_u @@ -855,18 +981,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_s align=1 @@ -887,18 +1020,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -934,18 +1074,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -975,18 +1122,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_u align=1 @@ -1007,18 +1161,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1048,18 +1209,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1089,18 +1257,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_s align=1 @@ -1121,18 +1296,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1162,18 +1344,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1209,18 +1398,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1250,18 +1446,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_u align=1 @@ -1282,18 +1485,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1323,18 +1533,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1364,18 +1581,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1405,18 +1629,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load align=1 @@ -1437,18 +1668,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1478,18 +1716,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1519,18 +1764,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1560,18 +1812,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1601,18 +1860,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.load align=1 @@ -1633,18 +1899,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1674,18 +1947,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1715,18 +1995,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.load align=1 @@ -1747,18 +2034,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1788,18 +2082,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1829,18 +2130,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1870,18 +2178,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.load align=1 @@ -1902,18 +2217,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1943,18 +2265,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1984,18 +2313,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2025,18 +2361,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2066,18 +2409,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.atomic.store8 @@ -2099,18 +2449,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store8 @@ -2132,18 +2489,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store16 align=1 @@ -2165,18 +2529,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2207,18 +2578,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2249,18 +2627,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store align=1 @@ -2282,18 +2667,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2324,18 +2716,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2366,18 +2765,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2408,18 +2814,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.atomic.store8 @@ -2441,18 +2854,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store8 @@ -2474,18 +2894,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store16 align=1 @@ -2507,18 +2934,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2549,18 +2983,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2591,18 +3032,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store32 align=1 @@ -2624,18 +3072,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2666,18 +3121,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2708,18 +3170,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2750,18 +3219,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store align=1 @@ -2783,18 +3259,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2825,18 +3308,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2867,18 +3357,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2909,18 +3406,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2951,18 +3455,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.store align=1 @@ -2984,18 +3495,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3026,18 +3544,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3068,18 +3593,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.store align=1 @@ -3101,18 +3633,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3143,18 +3682,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3185,18 +3731,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3227,18 +3780,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.store align=1 @@ -3260,18 +3820,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3302,18 +3869,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3344,18 +3918,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3386,18 +3967,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3454,18 +4042,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_s @@ -3486,18 +4081,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_u @@ -3518,18 +4120,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_s align=1 @@ -3550,18 +4159,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3591,18 +4207,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_u align=1 @@ -3623,18 +4246,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3664,18 +4294,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load align=1 @@ -3696,18 +4333,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3737,18 +4381,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3778,18 +4429,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_s @@ -3810,18 +4468,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_u @@ -3842,18 +4507,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_s align=1 @@ -3874,18 +4546,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3915,18 +4594,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_u align=1 @@ -3947,18 +4633,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3988,18 +4681,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_s align=1 @@ -4020,18 +4720,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4061,18 +4768,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4102,18 +4816,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_u align=1 @@ -4134,18 +4855,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4175,18 +4903,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4216,18 +4951,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load align=1 @@ -4248,18 +4990,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4289,18 +5038,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4330,18 +5086,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4371,18 +5134,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.load align=1 @@ -4403,18 +5173,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4444,18 +5221,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4485,18 +5269,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.load align=1 @@ -4517,18 +5308,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4558,18 +5356,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4599,18 +5404,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4640,18 +5452,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.load align=1 @@ -4672,18 +5491,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4713,18 +5539,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4754,18 +5587,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4795,18 +5635,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4836,18 +5683,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store8 @@ -4869,18 +5723,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store16 align=1 @@ -4902,18 +5763,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4944,18 +5812,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store align=1 @@ -4977,18 +5852,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5019,18 +5901,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5061,18 +5950,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store8 @@ -5094,18 +5990,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store16 align=1 @@ -5127,18 +6030,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5169,18 +6079,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store32 align=1 @@ -5202,18 +6119,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5244,18 +6168,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5286,18 +6217,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store align=1 @@ -5319,18 +6257,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5361,18 +6306,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5403,18 +6355,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5445,18 +6404,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.store align=1 @@ -5478,18 +6444,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5520,18 +6493,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5562,18 +6542,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.store align=1 @@ -5595,18 +6582,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5637,18 +6631,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5679,18 +6680,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5721,18 +6729,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.store align=1 @@ -5754,18 +6769,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5796,18 +6818,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5838,18 +6867,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5880,18 +6916,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5953,18 +6996,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.shr_s @@ -5991,18 +7041,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_s @@ -6023,18 +7080,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.atomic.load8_u @@ -6055,18 +7119,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_u @@ -6087,18 +7158,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_s align=1 @@ -6119,18 +7197,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6166,18 +7251,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6207,18 +7299,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_u align=1 @@ -6239,18 +7338,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6280,18 +7386,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6321,18 +7434,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load align=1 @@ -6353,18 +7473,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6394,18 +7521,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6435,18 +7569,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6476,18 +7617,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.shr_s @@ -6514,18 +7662,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_s @@ -6546,18 +7701,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.atomic.load8_u @@ -6578,18 +7740,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_u @@ -6610,18 +7779,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_s align=1 @@ -6642,18 +7818,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6689,18 +7872,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6730,18 +7920,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_u align=1 @@ -6762,18 +7959,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6803,18 +8007,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6844,18 +8055,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_s align=1 @@ -6876,18 +8094,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6917,18 +8142,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6964,18 +8196,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7005,18 +8244,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_u align=1 @@ -7037,18 +8283,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7078,18 +8331,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7119,18 +8379,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7160,18 +8427,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load align=1 @@ -7192,18 +8466,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7233,18 +8514,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7274,18 +8562,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7315,18 +8610,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7356,18 +8658,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.load align=1 @@ -7388,18 +8697,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7429,18 +8745,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7470,18 +8793,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.load align=1 @@ -7502,18 +8832,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7543,18 +8880,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7584,18 +8928,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7625,18 +8976,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.load align=1 @@ -7657,18 +9015,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7698,18 +9063,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7739,18 +9111,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7780,18 +9159,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7821,18 +9207,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.atomic.store8 @@ -7854,18 +9247,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store8 @@ -7887,18 +9287,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store16 align=1 @@ -7920,18 +9327,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7962,18 +9376,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8004,18 +9425,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store align=1 @@ -8037,18 +9465,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8079,18 +9514,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8121,18 +9563,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8163,18 +9612,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.atomic.store8 @@ -8196,18 +9652,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store8 @@ -8229,18 +9692,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store16 align=1 @@ -8262,18 +9732,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8304,18 +9781,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8346,18 +9830,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store32 align=1 @@ -8379,18 +9870,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8421,18 +9919,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8463,18 +9968,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8505,18 +10017,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store align=1 @@ -8538,18 +10057,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8580,18 +10106,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8622,18 +10155,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8664,18 +10204,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8706,18 +10253,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.store align=1 @@ -8739,18 +10293,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8781,18 +10342,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8823,18 +10391,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.store align=1 @@ -8856,18 +10431,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8898,18 +10480,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8940,18 +10529,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8982,18 +10578,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.store align=1 @@ -9015,18 +10618,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9057,18 +10667,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9099,18 +10716,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9141,18 +10765,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if diff --git a/test/passes/safe-heap_enable-threads_enable-simd64.txt b/test/passes/safe-heap_enable-threads_enable-simd64.txt index c76b664d5..38482cd7d 100644 --- a/test/passes/safe-heap_enable-threads_enable-simd64.txt +++ b/test/passes/safe-heap_enable-threads_enable-simd64.txt @@ -198,18 +198,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.shr_s @@ -236,18 +243,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_s @@ -268,18 +282,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.atomic.load8_u @@ -300,18 +321,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_u @@ -332,18 +360,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_s align=1 @@ -364,18 +399,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -413,18 +455,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -456,18 +505,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_u align=1 @@ -488,18 +544,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -531,18 +594,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -574,18 +644,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load align=1 @@ -606,18 +683,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -649,18 +733,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -692,18 +783,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -735,18 +833,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.shr_s @@ -773,18 +878,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_s @@ -805,18 +917,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.atomic.load8_u @@ -837,18 +956,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_u @@ -869,18 +995,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_s align=1 @@ -901,18 +1034,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -950,18 +1090,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -993,18 +1140,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_u align=1 @@ -1025,18 +1179,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1068,18 +1229,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1111,18 +1279,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_s align=1 @@ -1143,18 +1318,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1186,18 +1368,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1235,18 +1424,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1278,18 +1474,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_u align=1 @@ -1310,18 +1513,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1353,18 +1563,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1396,18 +1613,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1439,18 +1663,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load align=1 @@ -1471,18 +1702,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1514,18 +1752,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1557,18 +1802,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1600,18 +1852,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1643,18 +1902,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.load align=1 @@ -1675,18 +1941,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1718,18 +1991,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1761,18 +2041,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.load align=1 @@ -1793,18 +2080,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1836,18 +2130,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1879,18 +2180,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1922,18 +2230,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.load align=1 @@ -1954,18 +2269,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1997,18 +2319,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2040,18 +2369,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2083,18 +2419,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2126,18 +2469,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.atomic.store8 @@ -2159,18 +2509,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store8 @@ -2192,18 +2549,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store16 align=1 @@ -2225,18 +2589,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2269,18 +2640,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2313,18 +2691,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store align=1 @@ -2346,18 +2731,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2390,18 +2782,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2434,18 +2833,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2478,18 +2884,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.atomic.store8 @@ -2511,18 +2924,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store8 @@ -2544,18 +2964,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store16 align=1 @@ -2577,18 +3004,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2621,18 +3055,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2665,18 +3106,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store32 align=1 @@ -2698,18 +3146,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2742,18 +3197,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2786,18 +3248,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2830,18 +3299,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store align=1 @@ -2863,18 +3339,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2907,18 +3390,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2951,18 +3441,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2995,18 +3492,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3039,18 +3543,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.store align=1 @@ -3072,18 +3583,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3116,18 +3634,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3160,18 +3685,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.store align=1 @@ -3193,18 +3725,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3237,18 +3776,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3281,18 +3827,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3325,18 +3878,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.store align=1 @@ -3358,18 +3918,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3402,18 +3969,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3446,18 +4020,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3490,18 +4071,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3560,18 +4148,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_s @@ -3592,18 +4187,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_u @@ -3624,18 +4226,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_s align=1 @@ -3656,18 +4265,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3699,18 +4315,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_u align=1 @@ -3731,18 +4354,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3774,18 +4404,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load align=1 @@ -3806,18 +4443,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3849,18 +4493,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3892,18 +4543,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_s @@ -3924,18 +4582,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_u @@ -3956,18 +4621,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_s align=1 @@ -3988,18 +4660,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4031,18 +4710,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_u align=1 @@ -4063,18 +4749,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4106,18 +4799,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_s align=1 @@ -4138,18 +4838,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4181,18 +4888,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4224,18 +4938,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_u align=1 @@ -4256,18 +4977,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4299,18 +5027,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4342,18 +5077,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load align=1 @@ -4374,18 +5116,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4417,18 +5166,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4460,18 +5216,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4503,18 +5266,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.load align=1 @@ -4535,18 +5305,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4578,18 +5355,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4621,18 +5405,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.load align=1 @@ -4653,18 +5444,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4696,18 +5494,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4739,18 +5544,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4782,18 +5594,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.load align=1 @@ -4814,18 +5633,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4857,18 +5683,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4900,18 +5733,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4943,18 +5783,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4986,18 +5833,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store8 @@ -5019,18 +5873,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store16 align=1 @@ -5052,18 +5913,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5096,18 +5964,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store align=1 @@ -5129,18 +6004,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5173,18 +6055,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5217,18 +6106,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 1) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store8 @@ -5250,18 +6146,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store16 align=1 @@ -5283,18 +6186,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5327,18 +6237,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store32 align=1 @@ -5360,18 +6277,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5404,18 +6328,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5448,18 +6379,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store align=1 @@ -5481,18 +6419,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5525,18 +6470,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5569,18 +6521,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5613,18 +6572,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.store align=1 @@ -5646,18 +6612,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5690,18 +6663,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5734,18 +6714,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.store align=1 @@ -5767,18 +6754,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5811,18 +6805,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5855,18 +6856,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5899,18 +6907,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.store align=1 @@ -5932,18 +6947,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5976,18 +6998,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6020,18 +7049,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6064,18 +7100,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i64.load - (call $emscripten_get_sbrk_ptr) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6139,18 +7182,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.shr_s @@ -6177,18 +7227,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_s @@ -6209,18 +7266,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.atomic.load8_u @@ -6241,18 +7305,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_u @@ -6273,18 +7344,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_s align=1 @@ -6305,18 +7383,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6354,18 +7439,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6397,18 +7489,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_u align=1 @@ -6429,18 +7528,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6472,18 +7578,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6515,18 +7628,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load align=1 @@ -6547,18 +7667,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6590,18 +7717,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6633,18 +7767,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6676,18 +7817,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.shr_s @@ -6714,18 +7862,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_s @@ -6746,18 +7901,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.atomic.load8_u @@ -6778,18 +7940,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 1) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_u @@ -6810,18 +7979,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_s align=1 @@ -6842,18 +8018,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6891,18 +8074,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6934,18 +8124,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_u align=1 @@ -6966,18 +8163,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7009,18 +8213,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7052,18 +8263,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_s align=1 @@ -7084,18 +8302,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7127,18 +8352,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7176,18 +8408,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7219,18 +8458,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_u align=1 @@ -7251,18 +8497,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7294,18 +8547,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7337,18 +8597,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7380,18 +8647,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load align=1 @@ -7412,18 +8686,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7455,18 +8736,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7498,18 +8786,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7541,18 +8836,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7584,18 +8886,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.load align=1 @@ -7616,18 +8925,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7659,18 +8975,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7702,18 +9025,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.load align=1 @@ -7734,18 +9064,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7777,18 +9114,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7820,18 +9164,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7863,18 +9214,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.load align=1 @@ -7895,18 +9253,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7938,18 +9303,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7981,18 +9353,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8024,18 +9403,25 @@ (local.get $2) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $2) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $2) + (i64.const 16) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8067,18 +9453,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 1) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.atomic.store8 @@ -8100,18 +9493,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 1) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store8 @@ -8133,18 +9533,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store16 align=1 @@ -8166,18 +9573,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8210,18 +9624,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8254,18 +9675,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store align=1 @@ -8287,18 +9715,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8331,18 +9766,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8375,18 +9817,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8419,18 +9868,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 1) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.atomic.store8 @@ -8452,18 +9908,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 1) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 1) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store8 @@ -8485,18 +9948,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store16 align=1 @@ -8518,18 +9988,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8562,18 +10039,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 2) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 2) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8606,18 +10090,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store32 align=1 @@ -8639,18 +10130,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8683,18 +10181,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8727,18 +10232,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8771,18 +10283,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store align=1 @@ -8804,18 +10323,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8848,18 +10374,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8892,18 +10425,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8936,18 +10476,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8980,18 +10527,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.store align=1 @@ -9013,18 +10567,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9057,18 +10618,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 4) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 4) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9101,18 +10669,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.store align=1 @@ -9134,18 +10709,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9178,18 +10760,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9222,18 +10811,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 8) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 8) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9266,18 +10862,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.store align=1 @@ -9299,18 +10902,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9343,18 +10953,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9387,18 +11004,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9431,18 +11055,25 @@ (local.get $3) (i64.const 0) ) - (i64.gt_u - (i64.add - (local.get $3) - (i64.const 16) + (i32.or + (i64.gt_u + (i64.add + (local.get $3) + (i64.const 16) + ) + (i64.load + (call $foo) + ) ) - (i64.load - (call $foo) + (i64.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if diff --git a/test/passes/safe-heap_low-memory-unused_enable-threads_enable-simd.txt b/test/passes/safe-heap_low-memory-unused_enable-threads_enable-simd.txt index 02904abad..72b68f218 100644 --- a/test/passes/safe-heap_low-memory-unused_enable-threads_enable-simd.txt +++ b/test/passes/safe-heap_low-memory-unused_enable-threads_enable-simd.txt @@ -198,18 +198,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.shr_s @@ -236,18 +243,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_s @@ -268,18 +282,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.atomic.load8_u @@ -300,18 +321,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_u @@ -332,18 +360,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_s align=1 @@ -364,18 +399,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -411,18 +453,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -452,18 +501,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_u align=1 @@ -484,18 +540,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -525,18 +588,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -566,18 +636,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load align=1 @@ -598,18 +675,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -639,18 +723,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -680,18 +771,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -721,18 +819,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.shr_s @@ -759,18 +864,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_s @@ -791,18 +903,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.atomic.load8_u @@ -823,18 +942,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_u @@ -855,18 +981,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_s align=1 @@ -887,18 +1020,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -934,18 +1074,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -975,18 +1122,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_u align=1 @@ -1007,18 +1161,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1048,18 +1209,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1089,18 +1257,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_s align=1 @@ -1121,18 +1296,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1162,18 +1344,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1209,18 +1398,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1250,18 +1446,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_u align=1 @@ -1282,18 +1485,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1323,18 +1533,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1364,18 +1581,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1405,18 +1629,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load align=1 @@ -1437,18 +1668,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1478,18 +1716,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1519,18 +1764,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1560,18 +1812,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1601,18 +1860,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.load align=1 @@ -1633,18 +1899,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1674,18 +1947,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1715,18 +1995,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.load align=1 @@ -1747,18 +2034,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1788,18 +2082,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1829,18 +2130,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1870,18 +2178,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.load align=1 @@ -1902,18 +2217,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1943,18 +2265,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1984,18 +2313,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2025,18 +2361,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2066,18 +2409,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.atomic.store8 @@ -2099,18 +2449,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store8 @@ -2132,18 +2489,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store16 align=1 @@ -2165,18 +2529,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2207,18 +2578,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2249,18 +2627,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store align=1 @@ -2282,18 +2667,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2324,18 +2716,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2366,18 +2765,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2408,18 +2814,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.atomic.store8 @@ -2441,18 +2854,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store8 @@ -2474,18 +2894,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store16 align=1 @@ -2507,18 +2934,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2549,18 +2983,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2591,18 +3032,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store32 align=1 @@ -2624,18 +3072,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2666,18 +3121,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2708,18 +3170,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2750,18 +3219,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store align=1 @@ -2783,18 +3259,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2825,18 +3308,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2867,18 +3357,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2909,18 +3406,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2951,18 +3455,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.store align=1 @@ -2984,18 +3495,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3026,18 +3544,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3068,18 +3593,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.store align=1 @@ -3101,18 +3633,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3143,18 +3682,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3185,18 +3731,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3227,18 +3780,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.store align=1 @@ -3260,18 +3820,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3302,18 +3869,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3344,18 +3918,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3386,18 +3967,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3454,18 +4042,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_s @@ -3486,18 +4081,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_u @@ -3518,18 +4120,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_s align=1 @@ -3550,18 +4159,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3591,18 +4207,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_u align=1 @@ -3623,18 +4246,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3664,18 +4294,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load align=1 @@ -3696,18 +4333,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3737,18 +4381,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3778,18 +4429,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_s @@ -3810,18 +4468,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_u @@ -3842,18 +4507,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_s align=1 @@ -3874,18 +4546,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3915,18 +4594,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_u align=1 @@ -3947,18 +4633,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -3988,18 +4681,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_s align=1 @@ -4020,18 +4720,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4061,18 +4768,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4102,18 +4816,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_u align=1 @@ -4134,18 +4855,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4175,18 +4903,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4216,18 +4951,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load align=1 @@ -4248,18 +4990,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4289,18 +5038,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4330,18 +5086,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4371,18 +5134,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.load align=1 @@ -4403,18 +5173,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4444,18 +5221,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4485,18 +5269,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.load align=1 @@ -4517,18 +5308,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4558,18 +5356,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4599,18 +5404,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4640,18 +5452,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.load align=1 @@ -4672,18 +5491,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4713,18 +5539,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4754,18 +5587,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4795,18 +5635,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4836,18 +5683,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store8 @@ -4869,18 +5723,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store16 align=1 @@ -4902,18 +5763,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -4944,18 +5812,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store align=1 @@ -4977,18 +5852,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5019,18 +5901,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5061,18 +5950,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store8 @@ -5094,18 +5990,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store16 align=1 @@ -5127,18 +6030,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5169,18 +6079,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store32 align=1 @@ -5202,18 +6119,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5244,18 +6168,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5286,18 +6217,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store align=1 @@ -5319,18 +6257,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5361,18 +6306,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5403,18 +6355,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5445,18 +6404,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.store align=1 @@ -5478,18 +6444,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5520,18 +6493,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5562,18 +6542,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.store align=1 @@ -5595,18 +6582,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5637,18 +6631,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5679,18 +6680,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5721,18 +6729,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.store align=1 @@ -5754,18 +6769,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5796,18 +6818,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5838,18 +6867,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5880,18 +6916,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -5953,18 +6996,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.shr_s @@ -5991,18 +7041,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_s @@ -6023,18 +7080,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.atomic.load8_u @@ -6055,18 +7119,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_u @@ -6087,18 +7158,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_s align=1 @@ -6119,18 +7197,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6166,18 +7251,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6207,18 +7299,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_u align=1 @@ -6239,18 +7338,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6280,18 +7386,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6321,18 +7434,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load align=1 @@ -6353,18 +7473,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6394,18 +7521,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6435,18 +7569,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6476,18 +7617,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.shr_s @@ -6514,18 +7662,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_s @@ -6546,18 +7701,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.atomic.load8_u @@ -6578,18 +7740,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_u @@ -6610,18 +7779,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_s align=1 @@ -6642,18 +7818,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6689,18 +7872,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6730,18 +7920,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_u align=1 @@ -6762,18 +7959,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6803,18 +8007,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6844,18 +8055,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_s align=1 @@ -6876,18 +8094,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6917,18 +8142,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -6964,18 +8196,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7005,18 +8244,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_u align=1 @@ -7037,18 +8283,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7078,18 +8331,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7119,18 +8379,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7160,18 +8427,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load align=1 @@ -7192,18 +8466,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7233,18 +8514,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7274,18 +8562,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7315,18 +8610,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7356,18 +8658,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.load align=1 @@ -7388,18 +8697,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7429,18 +8745,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7470,18 +8793,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.load align=1 @@ -7502,18 +8832,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7543,18 +8880,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7584,18 +8928,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7625,18 +8976,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.load align=1 @@ -7657,18 +9015,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7698,18 +9063,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7739,18 +9111,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7780,18 +9159,25 @@ (local.get $2) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $2) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 16) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $2) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7821,18 +9207,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.atomic.store8 @@ -7854,18 +9247,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store8 @@ -7887,18 +9287,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store16 align=1 @@ -7920,18 +9327,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -7962,18 +9376,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8004,18 +9425,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store align=1 @@ -8037,18 +9465,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8079,18 +9514,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8121,18 +9563,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8163,18 +9612,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.atomic.store8 @@ -8196,18 +9652,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 1) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store8 @@ -8229,18 +9692,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store16 align=1 @@ -8262,18 +9732,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8304,18 +9781,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 2) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8346,18 +9830,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store32 align=1 @@ -8379,18 +9870,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8421,18 +9919,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8463,18 +9968,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8505,18 +10017,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store align=1 @@ -8538,18 +10057,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8580,18 +10106,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8622,18 +10155,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8664,18 +10204,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8706,18 +10253,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.store align=1 @@ -8739,18 +10293,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8781,18 +10342,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 4) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8823,18 +10391,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.store align=1 @@ -8856,18 +10431,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8898,18 +10480,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8940,18 +10529,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 8) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -8982,18 +10578,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (v128.store align=1 @@ -9015,18 +10618,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9057,18 +10667,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9099,18 +10716,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -9141,18 +10765,25 @@ (local.get $3) (i32.const 1024) ) - (i32.gt_u - (i32.add - (local.get $3) - (i32.const 16) + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 16) + ) + (i32.load + (call $foo) + ) ) - (i32.load - (call $foo) + (i32.lt_u + (local.get $3) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if diff --git a/test/passes/safe-heap_start-function.txt b/test/passes/safe-heap_start-function.txt index 11b258945..a2445b18d 100644 --- a/test/passes/safe-heap_start-function.txt +++ b/test/passes/safe-heap_start-function.txt @@ -64,18 +64,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 1) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_s @@ -96,18 +103,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 1) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load8_u @@ -128,18 +142,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 2) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_s align=1 @@ -160,18 +181,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 2) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -201,18 +229,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 2) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load16_u align=1 @@ -233,18 +268,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 2) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -274,18 +316,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.load align=1 @@ -306,18 +355,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -347,18 +403,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -388,18 +451,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 1) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_s @@ -420,18 +490,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 1) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load8_u @@ -452,18 +529,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 2) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_s align=1 @@ -484,18 +568,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 2) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -525,18 +616,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 2) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load16_u align=1 @@ -557,18 +655,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 2) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -598,18 +703,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_s align=1 @@ -630,18 +742,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -671,18 +790,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -712,18 +838,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load32_u align=1 @@ -744,18 +877,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -785,18 +925,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -826,18 +973,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.load align=1 @@ -858,18 +1012,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -899,18 +1060,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -940,18 +1108,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -981,18 +1156,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.load align=1 @@ -1013,18 +1195,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1054,18 +1243,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1095,18 +1291,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.load align=1 @@ -1127,18 +1330,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1168,18 +1378,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1209,18 +1426,25 @@ (local.get $2) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $2) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $2) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1250,18 +1474,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 1) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store8 @@ -1283,18 +1514,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 2) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store16 align=1 @@ -1316,18 +1554,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 2) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1358,18 +1603,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i32.store align=1 @@ -1391,18 +1643,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1433,18 +1692,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1475,18 +1741,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 1) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 1) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store8 @@ -1508,18 +1781,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 2) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store16 align=1 @@ -1541,18 +1821,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 2) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 2) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1583,18 +1870,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store32 align=1 @@ -1616,18 +1910,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1658,18 +1959,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1700,18 +2008,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (i64.store align=1 @@ -1733,18 +2048,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1775,18 +2097,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1817,18 +2146,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1859,18 +2195,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f32.store align=1 @@ -1892,18 +2235,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1934,18 +2284,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 4) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 4) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -1976,18 +2333,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (f64.store align=1 @@ -2009,18 +2373,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2051,18 +2422,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if @@ -2093,18 +2471,25 @@ (local.get $3) (i32.const 0) ) - (i32.gt_u - (i32.add + (i32.or + (i32.gt_u + (i32.add + (local.get $3) + (i32.const 8) + ) + (i32.load + (call $emscripten_get_sbrk_ptr) + ) + ) + (i32.lt_u (local.get $3) - (i32.const 8) - ) - (i32.load - (call $emscripten_get_sbrk_ptr) + (local.get $0) ) ) ) (then (call $segfault) + (unreachable) ) ) (if |