Description[wasm] Call the wasm interpreter from the wasm-code-fuzzer.
With this CL the wasm-code-fuzzer first decodes and interprets the test
case generated by the fuzzer. It then compiles the test case, but only
executes the compiled instance if the interpretation of the test case
was successful. If the compiled instance is executed, then the result of
the execution is compared with the result of the interpretation.
Additionally this CL refactors the CompileAndRunWasmModule function in
wasm-module.cc to resuse code in the call to the interpreter.
R=titzer@chromium.org
Committed: https://crrev.com/1521fe9c3c88128cea5188b28068736a87838f1c
Cr-Commit-Position: refs/heads/master@{#39351}
Patch Set 1 #Patch Set 2 : The interpreter cannot throw real exceptions #Patch Set 3 : Bugfix #
Total comments: 6
Patch Set 4 : Extract testing functions to the new wasm-module-runner.(.h|.cc) files. #Patch Set 5 : Removed includes and fixed gyp files. #
Total comments: 1
Patch Set 6 : Address comments #
Messages
Total messages: 34 (25 generated)
|