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

Issue 1000373004: Combine traits for IPC mutation and generation fuzzing plus other refactoring. (Closed)

Created:
5 years, 9 months ago by Martin Barbella
Modified:
5 years, 9 months ago
Reviewers:
Tom Sepez, inferno
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Combine traits for IPC mutation and generation fuzzing plus other refactoring. R=inferno@chromium.org,tsepez@chromium.org BUG=450268 Committed: https://crrev.com/870c84a3e72ac9b3bdcd9a2512a063b366f1d55b Cr-Commit-Position: refs/heads/master@{#321369}

Patch Set 1 #

Patch Set 2 : Don't rename mutate/ to fuzzer/ #

Total comments: 2

Patch Set 3 : Keep message_util in mutate/ for now. #

Patch Set 4 : Add mutation support for more types. #

Total comments: 20

Patch Set 5 : Fix problems with some mutations and macros #

Patch Set 6 : Address comments and minor cleanup #

Patch Set 7 : Minor cleanup (if to else if) #

Total comments: 2

Patch Set 8 : Move the message_file.h include out of fuzzer.h #

Patch Set 9 : Merge fuzzers into a single executable #

Patch Set 10 : Remove a debug print #

Total comments: 2

Patch Set 11 : Define frequency as a constant and reorder arguments in ipc_fuzzer_gen.py #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2775 lines, -2899 lines) Patch
M tools/ipc_fuzzer/ipc_fuzzer.gyp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -3 lines 0 comments Download
A tools/ipc_fuzzer/mutate/fuzzer.h View 1 2 3 4 5 6 7 1 chunk +86 lines, -0 lines 0 comments Download
A tools/ipc_fuzzer/mutate/fuzzer.cc View 1 2 3 4 5 6 1 chunk +2077 lines, -0 lines 0 comments Download
A tools/ipc_fuzzer/mutate/fuzzer_main.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +245 lines, -0 lines 0 comments Download
D tools/ipc_fuzzer/mutate/generate.cc View 1 chunk +0 lines, -2111 lines 0 comments Download
A tools/ipc_fuzzer/mutate/generator.h View 1 1 chunk +40 lines, -0 lines 0 comments Download
A tools/ipc_fuzzer/mutate/generator.cc View 1 2 3 4 5 6 7 8 1 chunk +120 lines, -0 lines 0 comments Download
M tools/ipc_fuzzer/mutate/ipc_fuzzer_gen.py View 1 2 3 4 5 6 7 8 9 10 3 chunks +12 lines, -10 lines 0 comments Download
M tools/ipc_fuzzer/mutate/ipc_fuzzer_mut.py View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -10 lines 0 comments Download
D tools/ipc_fuzzer/mutate/mutate.cc View 1 chunk +0 lines, -732 lines 0 comments Download
D tools/ipc_fuzzer/mutate/mutate.gyp View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -31 lines 0 comments Download
A tools/ipc_fuzzer/mutate/mutator.h View 1 2 3 4 5 1 chunk +44 lines, -0 lines 0 comments Download
A tools/ipc_fuzzer/mutate/mutator.cc View 1 2 3 4 5 6 7 8 1 chunk +121 lines, -0 lines 0 comments Download
D tools/ipc_fuzzer/mutate/rand_util.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/ipc_fuzzer/mutate/utils.py View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 17 (3 generated)
inferno
lgtm with nits. https://codereview.chromium.org/1000373004/diff/60001/tools/ipc_fuzzer/mutate/fuzzer.cc File tools/ipc_fuzzer/mutate/fuzzer.cc (right): https://codereview.chromium.org/1000373004/diff/60001/tools/ipc_fuzzer/mutate/fuzzer.cc#newcode25 tools/ipc_fuzzer/mutate/fuzzer.cc:25: // First include of message files ...
5 years, 9 months ago (2015-03-16 18:56:35 UTC) #1
Martin Barbella
Thanks. I'll take a look a closer look at these and upload another patch set ...
5 years, 9 months ago (2015-03-16 19:19:56 UTC) #2
Martin Barbella
Addressed most of the comments but replied to a few others. Could you take another ...
5 years, 9 months ago (2015-03-18 17:59:06 UTC) #3
Martin Barbella
Tom, could you please take a look at this as well?
5 years, 9 months ago (2015-03-18 18:04:12 UTC) #5
Tom Sepez
On 2015/03/18 18:04:12, mbarbella wrote: > Tom, could you please take a look at this ...
5 years, 9 months ago (2015-03-18 18:34:12 UTC) #6
Tom Sepez
On 2015/03/18 18:34:12, Tom Sepez wrote: > On 2015/03/18 18:04:12, mbarbella wrote: > > Tom, ...
5 years, 9 months ago (2015-03-18 18:35:16 UTC) #7
Martin Barbella
On 2015/03/18 18:35:16, Tom Sepez wrote: > On 2015/03/18 18:34:12, Tom Sepez wrote: > > ...
5 years, 9 months ago (2015-03-18 18:38:00 UTC) #8
Tom Sepez
https://codereview.chromium.org/1000373004/diff/120001/tools/ipc_fuzzer/ipc_fuzzer.gyp File tools/ipc_fuzzer/ipc_fuzzer.gyp (right): https://codereview.chromium.org/1000373004/diff/120001/tools/ipc_fuzzer/ipc_fuzzer.gyp#newcode16 tools/ipc_fuzzer/ipc_fuzzer.gyp:16: 'mutate/mutate.gyp:ipc_fuzzer_generate', It seems a pity to have two utilities ...
5 years, 9 months ago (2015-03-18 18:49:19 UTC) #9
Martin Barbella
On 2015/03/18 18:49:19, Tom Sepez wrote: > https://codereview.chromium.org/1000373004/diff/120001/tools/ipc_fuzzer/ipc_fuzzer.gyp > File tools/ipc_fuzzer/ipc_fuzzer.gyp (right): > > https://codereview.chromium.org/1000373004/diff/120001/tools/ipc_fuzzer/ipc_fuzzer.gyp#newcode16 ...
5 years, 9 months ago (2015-03-18 19:00:20 UTC) #10
Martin Barbella
On 2015/03/18 18:49:19, Tom Sepez wrote: > https://codereview.chromium.org/1000373004/diff/120001/tools/ipc_fuzzer/ipc_fuzzer.gyp > File tools/ipc_fuzzer/ipc_fuzzer.gyp (right): > > https://codereview.chromium.org/1000373004/diff/120001/tools/ipc_fuzzer/ipc_fuzzer.gyp#newcode16 ...
5 years, 9 months ago (2015-03-18 19:04:51 UTC) #11
inferno
lgtm https://codereview.chromium.org/1000373004/diff/180001/tools/ipc_fuzzer/mutate/fuzzer_main.cc File tools/ipc_fuzzer/mutate/fuzzer_main.cc (right): https://codereview.chromium.org/1000373004/diff/180001/tools/ipc_fuzzer/mutate/fuzzer_main.cc#newcode219 tools/ipc_fuzzer/mutate/fuzzer_main.cc:219: int frequency = 23; Please add a FIXME ...
5 years, 9 months ago (2015-03-19 16:00:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1000373004/200001
5 years, 9 months ago (2015-03-19 16:05:15 UTC) #15
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 9 months ago (2015-03-19 16:27:00 UTC) #16
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 16:27:47 UTC) #17
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/870c84a3e72ac9b3bdcd9a2512a063b366f1d55b
Cr-Commit-Position: refs/heads/master@{#321369}

Powered by Google App Engine
This is Rietveld 408576698