v8/test
Clemens Hammacher 072d0e3eb6 [wasm] Allow for arbitrarily long error messages
We currently have a fixed limit of 256 characters for error messages
generated in the decoder. However, we sometimes embed names in it,
which makes it easy to generate a crash by using long names (e.g. for
exports) in invalid wasm modules.
This CL fixes this by switching to a stream based interface, allowing
to pass arbitrary objects to be printed. With this interface, we can
easily limit the length of output later.

R=titzer@chromium.org

Bug: chromium:740023
Change-Id: I2848c31c63a015157e2a3a9458b54e523060cd69
Reviewed-on: https://chromium-review.googlesource.com/565282
Reviewed-by: Ben Titzer <titzer@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46860}
2017-07-25 09:17:15 +00:00
..
benchmarks
cctest [regexp] Throw for patterns like /[\p{...}-\p{...}]/u. 2017-07-25 08:25:43 +00:00
common [wasm] Extract WasmVal to own header and rename to WasmValue 2017-07-18 13:12:56 +00:00
debugger [ignition] removed nop bytecode 2017-07-18 16:14:29 +00:00
fuzzer [wasm] Extract WasmVal to own header and rename to WasmValue 2017-07-18 13:12:56 +00:00
inspector inspector: add lengths for binary data descriptions 2017-07-25 00:19:55 +00:00
intl [tests] Fix timezone dependence in an intl test 2017-07-12 12:23:22 +00:00
js-perf-test Add micro-benchmark for Proxy get property 2017-07-19 10:04:06 +00:00
memory
message [Interpreter] Fix expression position on keyed property loads. 2017-07-18 15:32:29 +00:00
mjsunit [wasm] Allow for arbitrarily long error messages 2017-07-25 09:17:15 +00:00
mkgrokdump
mozilla [builtins] Increase precision limits for toFixed, etc 2017-07-20 13:05:35 +00:00
preparser
promises-aplus
test262 [builtins] Increase precision limits for toFixed, etc 2017-07-20 13:05:35 +00:00
unittests [ostreams] Extend AsHex and add AsHexBytes 2017-07-25 08:37:46 +00:00
wasm-spec-tests [wasm][ia32] Add an additional stack check for functions with big frames 2017-07-17 15:21:34 +00:00
webkit [builtins] Increase precision limits for toFixed, etc 2017-07-20 13:05:35 +00:00
bot_default.gyp
bot_default.isolate
BUILD.gn [wasm] Remove the wasm-asmjs fuzzer 2017-06-21 10:59:35 +00:00
default.gyp
default.isolate
optimize_for_size.gyp
optimize_for_size.isolate
perf.gyp
perf.isolate