Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Issue 1738943004: Adding Wasm + Wasm-asm variant fuzzer. (Closed)

Created:
4 years, 10 months ago by bradnelson
Modified:
4 years, 9 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Adding Wasm + Wasm-asm variant fuzzer. Fixing a memory leak in CompileAndRunModule. BUG= https://code.google.com/p/v8/issues/detail?id=4203 TEST=wasm-fuzzer R=jochen@chromium.org,jarin@chromium.org,kcc@chromium.org,machenbach@chromium.org,titzer@chromium.org LOG=N Committed: https://crrev.com/cb028ac0e41f411fb1fa0858cb02928e862a1630 Cr-Commit-Position: refs/heads/master@{#34415}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : fix #

Patch Set 4 : fix #

Patch Set 5 : fix #

Patch Set 6 : fix #

Patch Set 7 : fix leak #

Patch Set 8 : split asm + wasm #

Patch Set 9 : fix #

Patch Set 10 : fix #

Patch Set 11 : fix #

Patch Set 12 : fix #

Patch Set 13 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -23 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +38 lines, -0 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M test/fuzzer/fuzzer.gyp View 1 2 3 4 5 6 7 1 chunk +52 lines, -0 lines 0 comments Download
M test/fuzzer/fuzzer.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M test/fuzzer/testcfg.py View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
A + test/fuzzer/wasm.cc View 1 2 3 4 5 6 7 1 chunk +12 lines, -11 lines 0 comments Download
A + test/fuzzer/wasm-asmjs.cc View 1 2 3 4 5 6 7 1 chunk +12 lines, -11 lines 0 comments Download
A test/fuzzer/wasm/foo.wasm View 1 2 8 9 Binary file 0 comments Download
A test/fuzzer/wasm_asmjs/foo.wasm View 1 2 3 4 5 6 7 8 9 Binary file 0 comments Download

Messages

Total messages: 24 (7 generated)
bradn
4 years, 10 months ago (2016-02-26 06:55:35 UTC) #3
Michael Achenbach
infra parts, lgtm
4 years, 10 months ago (2016-02-26 07:25:13 UTC) #4
titzer
lgtm
4 years, 10 months ago (2016-02-26 07:56:16 UTC) #5
jochen (gone - plz use gerrit)
could we have a non-empty sample input?
4 years, 10 months ago (2016-02-26 08:02:01 UTC) #6
bradn
I was hoping someone would ask :-) So it's like a tiny valid one (47 ...
4 years, 10 months ago (2016-02-26 08:10:19 UTC) #7
jochen (gone - plz use gerrit)
the idea is to add regression tests, once libfuzzer finds something. libfuzzer doesn't look at ...
4 years, 10 months ago (2016-02-26 08:12:39 UTC) #8
bradn
More follow up questions: 1. Would it be better to try loading each as both ...
4 years, 10 months ago (2016-02-26 08:13:25 UTC) #9
jochen (gone - plz use gerrit)
On 2016/02/26 at 08:13:25, bradnelson wrote: > More follow up questions: > > 1. Would ...
4 years, 10 months ago (2016-02-26 08:19:30 UTC) #10
JF
I have 1200 small .wasm files for sale: https://storage.googleapis.com/wasm-llvm/builds/git/wasm-torture-s2wasm-sexpr-wasm-3541.tbz2 Most of them work in d8: ...
4 years, 10 months ago (2016-02-26 17:26:26 UTC) #12
kcc2
It would be better to not use the first byte to pick the type. Instead, ...
4 years, 10 months ago (2016-02-26 18:18:52 UTC) #13
JF
On 2016/02/26 18:18:52, kcc2 wrote: > It would be better to not use the first ...
4 years, 10 months ago (2016-02-26 19:01:57 UTC) #14
kcc2
If the format is not finalized yet, we shouldn't store samples in git for now. ...
4 years, 10 months ago (2016-02-26 19:04:43 UTC) #15
kcc2
If the format is not finalized yet, we shouldn't store samples in git for now. ...
4 years, 10 months ago (2016-02-26 19:04:47 UTC) #16
bradn
Discovered leak from asan try run :-(
4 years, 9 months ago (2016-03-01 23:20:32 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1738943004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1738943004/220001
4 years, 9 months ago (2016-03-02 00:39:23 UTC) #20
commit-bot: I haz the power
Committed patchset #13 (id:220001)
4 years, 9 months ago (2016-03-02 00:53:26 UTC) #22
commit-bot: I haz the power
4 years, 9 months ago (2016-03-02 00:54:17 UTC) #24
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/cb028ac0e41f411fb1fa0858cb02928e862a1630
Cr-Commit-Position: refs/heads/master@{#34415}

Powered by Google App Engine
This is Rietveld 408576698