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

Issue 2511373002: [regexp fuzzer] Let the fuzzer input select the regexp flag. (Closed)

Created:
4 years, 1 month ago by ahaas
Modified:
4 years, 1 month ago
Reviewers:
mmoroz, kcc2, Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[regexp fuzzer] Let the fuzzer input select the regexp flag. With this CL the regexp-parser-fuzzer uses the first byte of the fuzzer input to select the regexp flag instead of executing each input with all possible flags. Thereby the fuzzer can explore more inputs and with its coverage metric will explore all flags only for interesting inputs. I updated all files in test/fuzzer/regexp and added a random byte at the beginning. This byte is used by the fuzzer to determine the flag. BUG=chromium:664436 R=yangguo@chromium.org Committed: https://crrev.com/2ba24a71b6e86b6272f2eccb37694b2b56a1219c Cr-Commit-Position: refs/heads/master@{#41176}

Patch Set 1 #

Patch Set 2 : use hash instead of the first byte to choose the flag #

Total comments: 2

Patch Set 3 : Reintroduce the GC call. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -15 lines) Patch
M test/fuzzer/regexp.cc View 1 2 1 chunk +15 lines, -15 lines 0 comments Download

Messages

Total messages: 31 (21 generated)
ahaas
4 years, 1 month ago (2016-11-18 12:29:53 UTC) #1
Yang
LGTM. I did not verify though whether the test seeds cover all bits for the ...
4 years, 1 month ago (2016-11-18 12:35:50 UTC) #5
ahaas
On 2016/11/18 at 12:35:50, yangguo wrote: > LGTM. I did not verify though whether the ...
4 years, 1 month ago (2016-11-22 09:58:22 UTC) #11
mmoroz
On 2016/11/22 09:58:22, ahaas wrote: > On 2016/11/18 at 12:35:50, yangguo wrote: > > LGTM. ...
4 years, 1 month ago (2016-11-22 10:46:05 UTC) #16
mmoroz
LGTM after re-storing the GC call. https://codereview.chromium.org/2511373002/diff/20001/test/fuzzer/regexp.cc File test/fuzzer/regexp.cc (left): https://codereview.chromium.org/2511373002/diff/20001/test/fuzzer/regexp.cc#oldcode77 test/fuzzer/regexp.cc:77: isolate->RequestGarbageCollectionForTesting( Could you ...
4 years, 1 month ago (2016-11-22 10:46:38 UTC) #17
ahaas
https://codereview.chromium.org/2511373002/diff/20001/test/fuzzer/regexp.cc File test/fuzzer/regexp.cc (left): https://codereview.chromium.org/2511373002/diff/20001/test/fuzzer/regexp.cc#oldcode77 test/fuzzer/regexp.cc:77: isolate->RequestGarbageCollectionForTesting( On 2016/11/22 at 10:46:38, mmoroz wrote: > Could ...
4 years, 1 month ago (2016-11-22 12:30:56 UTC) #20
mmoroz
thanks, LGTM!
4 years, 1 month ago (2016-11-22 12:33:28 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2511373002/40001
4 years, 1 month ago (2016-11-22 12:56:56 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-22 12:59:20 UTC) #29
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 12:59:46 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2ba24a71b6e86b6272f2eccb37694b2b56a1219c
Cr-Commit-Position: refs/heads/master@{#41176}

Powered by Google App Engine
This is Rietveld 408576698