v8/test/unittests/wasm
ddchen fd2bf837a5 [wasm] improve handling of malformed inputs
When reading malformed input, the length of variable-length types can be very large. Computing operand length with this and adding it to PC will overflow and screw up decode.

This patch switches to unsigned int for arity and lengths, terminates loop analysis on error, adds overflow checking to BranchTableOperand, and adds a unit test.

Review-Url: https://codereview.chromium.org/2052623003
Cr-Commit-Position: refs/heads/master@{#37301}
2016-06-27 20:37:28 +00:00
..
asm-types-unittest.cc V8. ASM-2-WASM. Another asm-types.h revision. 2016-06-20 16:54:41 +00:00
ast-decoder-unittest.cc [wasm] Separate compilation from instantiation 2016-06-20 05:23:37 +00:00
control-transfer-unittest.cc [wasm] Implement an interpreter for WASM. 2016-05-25 08:33:10 +00:00
decoder-unittest.cc [wasm] improve handling of malformed inputs 2016-06-27 20:37:28 +00:00
encoder-unittest.cc [wasm] Remove renumbering of local variables from asm->wasm. 2016-05-17 17:57:34 +00:00
leb-helper-unittest.cc [wasm] improve handling of malformed inputs 2016-06-27 20:37:28 +00:00
loop-assignment-analysis-unittest.cc [wasm] improve handling of malformed inputs 2016-06-27 20:37:28 +00:00
module-decoder-unittest.cc Upgrade Wasm JS API, step 1 2016-06-21 12:54:09 +00:00
OWNERS
switch-logic-unittest.cc [wasm] optimized switch implementation in asm.js to wasm builder 2016-04-13 21:56:42 +00:00
wasm-macro-gen-unittest.cc [formatting] Remove all double blank lines in WASM code. 2016-05-11 12:36:04 +00:00