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

Issue 18254010: IPC fuzzer child process component (Closed)

Created:
7 years, 5 months ago by aedla
Modified:
7 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, Ryan Sleevi
Visibility:
Public.

Description

IPC fuzzer child process component Fuzzer child process takes messages from a testcase file specified by --ipc-fuzzer-testcase and sends them across IPC. Renderer process is replaced by the fuzzer process using --renderer-cmd-prefix, which is only supported under POSIX. BUG=260848 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237795

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : missed some files #

Total comments: 12

Patch Set 4 : addressed comments #

Patch Set 5 : remove unnecessary include #

Total comments: 14

Patch Set 6 : addressed comments #

Patch Set 7 : moved to a separate binary, runs on linux, need to test on windows #

Patch Set 8 : fix copyright years #

Patch Set 9 : no windows support #

Total comments: 1

Patch Set 10 : replace ShouldKillChildProcessOnBadMessage with --disable-kill-after-bad-ipc #

Total comments: 2

Patch Set 11 : fix indentation #

Patch Set 12 : addressed comments #

Total comments: 16

Patch Set 13 : addressed comments from jochen #

Total comments: 10

Patch Set 14 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+357 lines, -3 lines) Patch
M build/all.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/browser/browser_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +8 lines, -2 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
A tools/ipc_fuzzer/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
A tools/ipc_fuzzer/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
A tools/ipc_fuzzer/ipc_fuzzer.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +27 lines, -0 lines 0 comments Download
A tools/ipc_fuzzer/ipc_fuzzer_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +198 lines, -0 lines 0 comments Download
A tools/ipc_fuzzer/play_testcase.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +85 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (0 generated)
aedla
Tom, could you please review this?
7 years, 5 months ago (2013-07-12 16:34:46 UTC) #1
Tom Sepez
My overwhelming concern is that generating the message file is going to be difficult. Tell ...
7 years, 5 months ago (2013-07-12 18:47:19 UTC) #2
aedla
On 2013/07/12 18:47:19, Tom Sepez wrote: > My overwhelming concern is that generating the message ...
7 years, 5 months ago (2013-07-15 16:12:07 UTC) #3
aedla
rsleevi, could you please take a look at gyp file changes?
7 years, 5 months ago (2013-07-15 16:14:32 UTC) #4
aedla
On 2013/07/15 16:14:32, aedla wrote: > rsleevi, could you please take a look at gyp ...
7 years, 5 months ago (2013-07-15 16:19:46 UTC) #5
jam
driveby: try to do this in a way that avoids adding test-only code to production ...
7 years, 5 months ago (2013-07-15 16:24:39 UTC) #6
aedla
jochen@, could you please take a look at gyp file changes?
7 years, 5 months ago (2013-07-15 16:25:02 UTC) #7
aedla
On 2013/07/15 16:24:39, jam wrote: > driveby: try to do this in a way that ...
7 years, 5 months ago (2013-07-15 17:24:49 UTC) #8
Tom Sepez
On 2013/07/15 17:24:49, aedla wrote: > On 2013/07/15 16:24:39, jam wrote: > > driveby: try ...
7 years, 5 months ago (2013-07-15 17:30:28 UTC) #9
jochen (gone - plz use gerrit)
some comments can you please file a bug and reference it from the cl description? ...
7 years, 5 months ago (2013-07-16 09:07:58 UTC) #10
Tom Sepez
Jochen is right, I remember now that the routing ID issue was why I tried ...
7 years, 5 months ago (2013-07-16 18:21:43 UTC) #11
aedla
On 2013/07/16 09:07:58, jochen wrote: > won't the majority of IPCs the fuzzer sends just ...
7 years, 5 months ago (2013-07-16 20:42:47 UTC) #12
jochen (gone - plz use gerrit)
On 2013/07/16 20:42:47, aedla wrote: > On 2013/07/16 09:07:58, jochen wrote: > > won't the ...
7 years, 5 months ago (2013-07-18 07:00:42 UTC) #13
aedla
On 2013/07/18 07:00:42, jochen wrote: > On 2013/07/16 20:42:47, aedla wrote: > > On 2013/07/16 ...
7 years, 5 months ago (2013-07-18 10:24:04 UTC) #14
aedla
Ok, the fuzzer is now in a separate binary. Added a convenience python script, that ...
7 years, 3 months ago (2013-08-27 17:14:26 UTC) #15
aedla
brettw, could you please take a look at changes in base/ and content/ ?
7 years, 3 months ago (2013-08-27 17:18:27 UTC) #16
jam
it seems that content/chrome changes would be simplified if we added a new command line ...
7 years, 3 months ago (2013-08-29 21:43:16 UTC) #17
aedla
On 2013/08/29 21:43:16, jam wrote: > it seems that content/chrome changes would be simplified if ...
7 years, 3 months ago (2013-08-30 09:54:55 UTC) #18
aedla
I notice now that jam is in content OWNERS, maybe you'll review content changes, as ...
7 years, 3 months ago (2013-08-30 12:03:20 UTC) #19
jam
no changes to chrome are necessary now...
7 years, 3 months ago (2013-08-30 15:05:17 UTC) #20
aedla
On 2013/08/30 15:05:17, jam wrote: > no changes to chrome are necessary now... I still ...
7 years, 3 months ago (2013-08-30 16:04:36 UTC) #21
jam
On 2013/08/30 16:04:36, aedla wrote: > On 2013/08/30 15:05:17, jam wrote: > > no changes ...
7 years, 3 months ago (2013-08-30 20:59:30 UTC) #22
aedla
On 2013/08/30 20:59:30, jam wrote: > we shouldn't duplicate kIpcFuzzerTestcase... just make > tools/ipc_fuzzer/ipc_fuzzer_main.cc include ...
7 years, 3 months ago (2013-09-03 16:30:09 UTC) #23
brettw
I'd prefer not to do the changes in base. The existing function is not difficult ...
7 years, 3 months ago (2013-09-03 20:21:18 UTC) #24
brettw
Whoops, got a comment twice.
7 years, 3 months ago (2013-09-03 20:21:36 UTC) #25
jam
On 2013/09/03 16:30:09, aedla wrote: > On 2013/08/30 20:59:30, jam wrote: > > > we ...
7 years, 3 months ago (2013-09-03 20:35:54 UTC) #26
aedla
On 2013/09/03 20:21:18, brettw wrote: > I'd prefer not to do the changes in base. ...
7 years, 3 months ago (2013-09-09 11:46:50 UTC) #27
brettw
LGTM on integration, I didn't check the fuzzer itself.
7 years, 3 months ago (2013-09-16 17:47:29 UTC) #28
aedla
jochen@, you looked at the fuzzer code a while back when it was still inside ...
7 years, 1 month ago (2013-10-29 20:42:49 UTC) #29
jochen (gone - plz use gerrit)
some comments Can you add an OWNERS file to the ipc fuzzer dir? Maybe somebody ...
7 years, 1 month ago (2013-10-31 10:46:59 UTC) #30
aedla
jochen@, thanks for the comments. On 2013/10/31 10:46:59, jochen wrote: > some comments > > ...
7 years ago (2013-11-26 17:09:50 UTC) #31
aedla
So the current review status is: build, content - LGTM from brettw chrome - I ...
7 years ago (2013-11-26 17:40:26 UTC) #32
Tom Sepez
Nice. I'm fine with being an OWNER. LGTM. https://codereview.chromium.org/18254010/diff/313001/tools/ipc_fuzzer/ipc_fuzzer_main.cc File tools/ipc_fuzzer/ipc_fuzzer_main.cc (right): https://codereview.chromium.org/18254010/diff/313001/tools/ipc_fuzzer/ipc_fuzzer_main.cc#newcode117 tools/ipc_fuzzer/ipc_fuzzer_main.cc:117: break; ...
7 years ago (2013-11-26 18:25:04 UTC) #33
Tom Sepez
On 2013/11/26 18:25:04, Tom Sepez wrote: > Nice. I'm fine with being an OWNER. LGTM. ...
7 years ago (2013-11-26 18:28:55 UTC) #34
Tom Sepez
https://codereview.chromium.org/18254010/diff/313001/tools/ipc_fuzzer/ipc_fuzzer_main.cc File tools/ipc_fuzzer/ipc_fuzzer_main.cc (right): https://codereview.chromium.org/18254010/diff/313001/tools/ipc_fuzzer/ipc_fuzzer_main.cc#newcode61 tools/ipc_fuzzer/ipc_fuzzer_main.cc:61: std::vector<scoped_ptr<IPC::Message>> messages_; nit: > >
7 years ago (2013-11-26 21:30:43 UTC) #35
jochen (gone - plz use gerrit)
lgtm with comments addressed https://codereview.chromium.org/18254010/diff/313001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/18254010/diff/313001/build/common.gypi#newcode848 build/common.gypi:848: 'enable_ipc_fuzzer%': 0, you don't need ...
7 years ago (2013-11-27 09:19:49 UTC) #36
aedla
On 2013/11/26 18:28:55, Tom Sepez wrote: > One other suggestion: you might split out the ...
7 years ago (2013-11-27 19:24:50 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aedla@chromium.org/18254010/333001
7 years ago (2013-11-28 13:16:10 UTC) #38
commit-bot: I haz the power
7 years ago (2013-11-28 16:05:17 UTC) #39
Message was sent while issue was closed.
Change committed as 237795

Powered by Google App Engine
This is Rietveld 408576698