v8/test/unittests/wasm
Manos Koukoutos a5f00fd1dd [wasm] OpcodeLength should detect invalid opcodes
OpcodeLength in function-body-decoder was implemented in a way that did
not detect invalid non-prefixed opcodes, even when {validate} was on.
This CL brings its behavior in line with prefixed opcodes and validation
requirements.

Change-Id: I53fec32f13bd18a2ed0c7a7666d69fc09603db56
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2552516
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71368}
2020-11-24 12:38:40 +00:00
..
control-transfer-unittest.cc [wasm][cleanup] Rename kLocal<type> constants -> k<type>Code 2020-09-29 08:48:21 +00:00
decoder-unittest.cc [wasm] Simplify LEB decoding 2020-10-08 13:58:01 +00:00
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
function-body-decoder-unittest.cc [wasm] Parameterize function body decoder tests by memory type 2020-11-19 18:49:17 +00:00
leb-helper-unittest.cc [wasm] Rename {ValidateFlag} constants 2020-09-30 13:19:03 +00:00
loop-assignment-analysis-unittest.cc [wasm] OpcodeLength should detect invalid opcodes 2020-11-24 12:38:40 +00:00
module-decoder-memory64-unittest.cc [wasm][memory64] Start implementing the memory64 proposal 2020-09-24 09:38:08 +00:00
module-decoder-unittest.cc [wasm] Emit error for invalid memory limits flag 2020-10-21 15:50:19 +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] Make StreamingDecoder abstract, introduce AsyncStreamingDecoder 2020-05-20 17:24:32 +00:00
subtyping-unittest.cc [wasm-gc] Implement anyref 2020-11-19 15:38:57 +00:00
trap-handler-posix-unittest.cc [wasm] Implement trap handler on Windows 2018-10-30 10:25:37 +00:00
trap-handler-win-unittest.cc Move utility code to src/utils 2019-05-23 14:13:34 +00:00
trap-handler-x64-unittest.cc Reland "[wasm] Disallow late enabling of trap handlers" 2020-10-26 16:33:11 +00:00
wasm-code-manager-unittest.cc [wasm] Fix performance bottleneck in DisjointAllocationPool 2020-04-22 10:00:05 +00:00
wasm-compiler-unittest.cc [wasm] Rename anyref to externref, anyref flag/feature to reftypes 2020-06-09 17:51:04 +00:00
wasm-gdbserver-unittest.cc [unittests] Convert to the new MOCK_METHOD macro. 2020-06-10 15:50:38 +00:00
wasm-macro-gen-unittest.cc [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +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