v8/test/unittests/wasm
Clemens Backes 770e66c483 [wasm] Do not validate asm.js code
Asm.js code (translated to Wasm) is valid by design, do not try to
validate it.
This is achieved by fully populating the {validated_functions} bitset
for asm.js modules. To make this safe(r) we do not allow to change the
origin or a WasmModule after initialization, which requires some
refactoring mostly in tests.

R=ahaas@chromium.org

Bug: v8:13447, v8:13565
Change-Id: I174c01f13185ff4117b02882b953c6ba29a3644d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4100686
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84824}
2022-12-13 17:46:59 +00:00
..
control-transfer-unittest.cc [wasm] Fix BytecodeIterator 2022-11-07 12:10:33 +00:00
decoder-unittest.cc [wasm] Detemplatize immediates 2022-10-24 17:27:49 +00:00
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
function-body-decoder-unittest.cc [wasm] Do not validate asm.js code 2022-12-13 17:46:59 +00:00
leb-helper-unittest.cc [wasm] Detemplatize immediates 2022-10-24 17:27:49 +00:00
liftoff-register-unittests.cc [mips32] Delete mips32 from v8 2022-09-13 07:54:54 +00:00
loop-assignment-analysis-unittest.cc [wasm-gc] Remove 'let' opcode 2022-07-01 14:35:09 +00:00
memory-protection-unittest.cc [wasm] Always use the engine allocator for decoded modules 2022-12-02 12:22:06 +00:00
module-decoder-memory64-unittest.cc [wasm] Always use the engine allocator for decoded modules 2022-12-02 12:22:06 +00:00
module-decoder-unittest.cc [wasm] Always use the engine allocator for decoded modules 2022-12-02 12:22:06 +00:00
OWNERS Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
simd-shuffle-unittest.cc [wasm-simd][liftoff][x64] Optimize shuffles (swizzles) 2020-08-04 17:03:05 +00:00
streaming-decoder-unittest.cc [wasm] Revalidate module after streaming error 2022-12-05 10:46:31 +00:00
string-builder-unittest.cc [wasm] Fix/improve StringBuilder buffer growth 2022-07-19 13:02:36 +00:00
subtyping-unittest.cc [wasm] Remove indirection to WasmModule::signature_zone 2022-12-06 15:45:52 +00:00
trap-handler-posix-unittest.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
trap-handler-simulator-unittest.cc [traphandler] Fix simulator test for Mac 2021-09-22 08:58:22 +00:00
trap-handler-win-unittest.cc [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
trap-handler-x64-arm64-unittest.cc [wasm][arm64] Enable trap handler test on Darwin 2022-11-14 13:45:18 +00:00
wasm-code-manager-unittest.cc [wasm][test] Various test cleanups 2021-02-01 07:57:35 +00:00
wasm-compiler-unittest.cc [wasm-gc] Split any and extern type 2022-07-28 13:09:55 +00:00
wasm-disassembler-unittest-gc.wasm.inc [wasm] Test disassembler for Wasm GC 2022-11-15 11:21:00 +00:00
wasm-disassembler-unittest-gc.wat.inc [wasm] Test disassembler for Wasm GC 2022-11-15 11:21:00 +00:00
wasm-disassembler-unittest-mvp.wasm.inc [wasm] fix printing of float literals in disassembler 2022-11-07 11:20:13 +00:00
wasm-disassembler-unittest-mvp.wat.inc [wasm] Test disassembler for Wasm GC 2022-11-15 11:21:00 +00:00
wasm-disassembler-unittest-names.wasm.inc [wasm] test disassembler for custom name section 2022-11-07 14:45:23 +00:00
wasm-disassembler-unittest-names.wat.inc [wasm] test disassembler for custom name section 2022-11-07 14:45:23 +00:00
wasm-disassembler-unittest-simd.wasm.inc [wasm] test disassembler for SIMD extension 2022-11-08 11:13:27 +00:00
wasm-disassembler-unittest-simd.wat.inc [wasm] test disassembler for SIMD extension 2022-11-08 11:13:27 +00:00
wasm-disassembler-unittest-too-many-ends.wasm.inc [wami] Prevent crash on disassembling too many end bytes 2022-11-23 11:58:26 +00:00
wasm-disassembler-unittest-too-many-ends.wat.inc [wami] Prevent crash on disassembling too many end bytes 2022-11-23 11:58:26 +00:00
wasm-disassembler-unittest.cc [wasm] Always use the engine allocator for decoded modules 2022-12-02 12:22:06 +00:00
wasm-gdbserver-unittest.cc [wasm] [debugging] Fix --wasm-gdb-remote 2020-12-08 19:37:25 +00:00
wasm-macro-gen-unittest.cc [wasm][test] Cleanup macros 2021-09-24 16:47:54 +00:00
wasm-module-builder-unittest.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
wasm-module-sourcemap-unittest.cc Add source map support of WasmModule 2019-08-26 15:19:02 +00:00