v8/test/mjsunit/regress/wasm
Eric Holk (eholk) 5e76ff5a4a Reland "[wasm] always allocate memory when guard regions are needed"
This reverts commit 7cf29d8df3.

Original change's description:
> [wasm] always allocate memory when guard regions are needed
>
> When using trap handlers, memory references do not get any checks inserted. This
> means there is no check for a null memory as happens when the memory size is
> 0. Normally this would be correctly caught as an out of bounds access, since the
> low memory addresses are not normally mapped. However, if they were mapped for
> some reason, we would not catch the out of bounds access.
>
> The fix is to ensure WebAssembly instances always have a guard region even if
> the memory is size 0.
>
> Bug: chromium:769637

Change-Id: I09fdaea92b7ccb3a6cc9e28392171ec098538a00
Reviewed-on: https://chromium-review.googlesource.com/695812
Commit-Queue: Eric Holk <eholk@chromium.org>
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48293}
2017-10-04 16:59:25 +00:00
..
loop-stack-check.js
regress-5860.js
regress-709684.js
regress-712569.js
regress-752423.js [wasm] Fix patching of table sizes. 2017-08-09 14:44:33 +00:00
regression-5531.js
regression-5800.js
regression-5884.js
regression-6054.js
regression-6164.js
regression-02256.js
regression-02256b.js
regression-02862.js
regression-643595.js
regression-644682.js
regression-647649.js
regression-648079.js [wasm] Simd locals are not allowed without --experimental-wasm-simd 2017-09-11 13:09:30 +00:00
regression-651961.js
regression-654377.js
regression-663994.js
regression-666741.js
regression-667745.js
regression-670683.js
regression-674447.js
regression-680938.js
regression-684858.js
regression-688876.js
regression-689450.js
regression-694433.js
regression-698587.js
regression-699485.js
regression-702460.js [wasm] Simd locals are not allowed without --experimental-wasm-simd 2017-09-11 13:09:30 +00:00
regression-702839.js
regression-703568.js
regression-708714.js
regression-710844.js
regression-711203.js
regression-715216-a.js
regression-715216-b.js
regression-717056.js
regression-717194.js
regression-719175.js [wasm] Don't try to interpret asm.js modules 2017-05-17 09:38:06 +00:00
regression-722445.js [wasm] Check for illegal br table count 2017-05-17 09:46:46 +00:00
regression-724846.js [wasm] Stricter max memory check 2017-05-22 14:28:11 +00:00
regression-724851.js [wasm] Validate function bodies for lazy compilation 2017-05-23 09:47:56 +00:00
regression-724972.js [wasm] Fix WasmMemoryObject constructor for when a module has no initial memory 2017-06-01 17:08:02 +00:00
regression-727219.js [asm] Fix reusing code with annotated export info 2017-05-29 12:33:57 +00:00
regression-727222.js [wasm] Remove more obsolete DCHECKs 2017-05-30 08:58:09 +00:00
regression-727560.js [wasm] Fix WasmMemoryObject constructor for when a module has no initial memory 2017-06-01 17:08:02 +00:00
regression-729991.js [wasm] Add regression test 2017-06-06 15:55:02 +00:00
regression-731351.js [wasm] Correctly reset memory size to default instead of 0. 2017-06-13 16:39:52 +00:00
regression-734108.js [wasm] Reopen CEntryStub handle in deferred scope when async compiling. 2017-06-20 22:22:56 +00:00
regression-734246.js [wasm] Avoid constructing overflowing WireBytesRefs 2017-06-20 13:48:44 +00:00
regression-734345.js [wasm] Keep instances of imported code alive 2017-06-20 16:23:09 +00:00
regression-736584.js [wasm] Fix wrong implication 2017-06-26 14:36:13 +00:00
regression-737069.js [wasm] Check that a function body exists before verifying it. 2017-06-28 12:35:36 +00:00
regression-739768.js [wasm] Fix tables bounds check, add Table.Grow tests 2017-09-05 18:24:39 +00:00
regression-753496.js [wasm] Correctly reconstitute ModuleEnv from runtime data 2017-08-10 14:52:50 +00:00
regression-757217.js [wasm] Test and fix for module with no functions 2017-08-24 00:10:52 +00:00
regression-763439.js [wasm] Fix memory initialization on instantiate 2017-09-20 22:52:31 +00:00
regression-763697.js [wasm] Simd locals are not allowed without --experimental-wasm-simd 2017-09-11 13:09:30 +00:00
regression-769637.js Reland "[wasm] always allocate memory when guard regions are needed" 2017-10-04 16:59:25 +00:00
regression-769846.js [wasm] set thread-in-wasm flag after converting arguments 2017-09-30 01:07:08 +00:00