v8/test/fuzzer
clemensh 6572b5622e [wasm] Remove raw byte pointers from WasmModule
These byte pointers (module_start and module_end) were only valid
during decoding. During instantiation or execution, they can get
invalidated by garbage collection.
This CL removes them from the WasmModule struct, and introduces a new
ModuleStorage struct as interface to the wasm wire bytes.
Since the storage is often needed together with the ModuleEnv, a new
ModuleStorageEnv struct holds both a ModuleEnv and a ModuleStorage.
The pointers in the ModuleStorage should never escape the live range of
this struct, as they might point into a SeqOneByteString or ArrayBuffer.
Therefore, the WasmInterpreter needs to create its own copy of the
whole module.
Runtime functions that previously used the raw pointers in WasmModule
(leading to memory errors) now have to use the SeqOneByteString in the
WasmCompiledModule.

R=titzer@chromium.org
BUG=chromium:669518

Review-Url: https://codereview.chromium.org/2540133002
Cr-Commit-Position: refs/heads/master@{#41388}
2016-11-30 15:03:06 +00:00
..
json Add json fuzzer 2016-02-02 11:29:01 +00:00
parser Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
regexp [regexp] add fuzzer support for regexp parser and compiler. 2016-02-01 14:00:38 +00:00
wasm_call [wasm] Add a new fuzzer which can also test wasm function calls. 2016-10-24 11:15:00 +00:00
wasm_code [wasm] Create a new fuzzer for wasm code. 2016-08-29 13:56:00 +00:00
wasm_data_section [wasm] Write fuzzers for single wasm sections. 2016-09-14 11:17:53 +00:00
wasm_function_sigs_section [wasm] Write fuzzers for single wasm sections. 2016-09-14 11:17:53 +00:00
wasm_globals_section [wasm] Write fuzzers for single wasm sections. 2016-09-14 11:17:53 +00:00
wasm_imports_section [wasm] Write fuzzers for single wasm sections. 2016-09-14 11:17:53 +00:00
wasm_memory_section [wasm] Write fuzzers for single wasm sections. 2016-09-14 11:17:53 +00:00
wasm_names_section [wasm] Write fuzzers for single wasm sections. 2016-09-14 11:17:53 +00:00
wasm_types_section [wasm] Write fuzzers for single wasm sections. 2016-09-14 11:17:53 +00:00
DEPS Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
fuzzer-support.cc Provide a convenience array buffer allocator 2016-06-29 07:42:40 +00:00
fuzzer-support.h Provide a convenience array buffer allocator 2016-06-29 07:42:40 +00:00
fuzzer.cc [wasm] Fix -Wsign-compare warnings. 2016-11-10 12:51:05 +00:00
fuzzer.gyp Add icu libraries to fuzzer dependencies 2016-11-18 11:14:30 +00:00
fuzzer.isolate [wasm] Add a new fuzzer which can also test wasm function calls. 2016-10-24 11:15:00 +00:00
fuzzer.status Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
json.cc Add GC request to libFuzzers in attempt to avoid parasitic coverage. 2016-04-28 13:32:28 +00:00
parser.cc Split parsing of functions and top-level code into two separate methods 2016-11-30 13:21:37 +00:00
regexp.cc [regexp fuzzer] Let the fuzzer input select the regexp flag. 2016-11-22 12:59:38 +00:00
testcfg.py [wasm] Add a new fuzzer which can also test wasm function calls. 2016-10-24 11:15:00 +00:00
wasm_asmjs.tar.gz.sha1 [wasm] Write fuzzers for single wasm sections. 2016-09-14 11:17:53 +00:00
wasm-asmjs.cc [wasm] Fix test-run-wasm-module tests in debug mode. 2016-09-17 01:31:07 +00:00
wasm-call.cc [wasm] Remove raw byte pointers from WasmModule 2016-11-30 15:03:06 +00:00
wasm-code.cc [wasm] Remove raw byte pointers from WasmModule 2016-11-30 15:03:06 +00:00
wasm-data-section.cc [wasm] Master CL for Binary 0xC changes. 2016-09-27 20:46:30 +00:00
wasm-function-sigs-section.cc [wasm] Master CL for Binary 0xC changes. 2016-09-27 20:46:30 +00:00
wasm-globals-section.cc [wasm] Master CL for Binary 0xC changes. 2016-09-27 20:46:30 +00:00
wasm-imports-section.cc [wasm] Master CL for Binary 0xC changes. 2016-09-27 20:46:30 +00:00
wasm-memory-section.cc [wasm] Master CL for Binary 0xC changes. 2016-09-27 20:46:30 +00:00
wasm-names-section.cc [wasm] Master CL for Binary 0xC changes. 2016-09-27 20:46:30 +00:00
wasm-section-fuzzers.cc [wasm] Use a Managed<WasmModule> to hold metadata about modules. 2016-10-19 13:07:22 +00:00
wasm-section-fuzzers.h [wasm] Master CL for Binary 0xC changes. 2016-09-27 20:46:30 +00:00
wasm-types-section.cc [wasm] Master CL for Binary 0xC changes. 2016-09-27 20:46:30 +00:00
wasm.cc [wasm] Fix test-run-wasm-module tests in debug mode. 2016-09-17 01:31:07 +00:00
wasm.tar.gz.sha1 [wasm] Write fuzzers for single wasm sections. 2016-09-14 11:17:53 +00:00