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

Issue 23719017: Disable the SyzyASan instrumentation of chrome_child.dll for the official builds. (Closed)

Created:
7 years, 3 months ago by Sébastien Marchand
Modified:
7 years, 3 months ago
Reviewers:
gab, chrisha, laforge
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Disable the SyzyASan instrumentation of chrome_child.dll for the official builds. It allows us to run an experiment where only chrome.dll is instrumented. TBR=chrisha@chromium.org, gab@chromium.org CC=laforge@chromium.org BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221961

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -1 line) Patch
M chrome/chrome_syzygy.gyp View 2 chunks +30 lines, -1 line 5 comments Download

Messages

Total messages: 9 (0 generated)
Sébastien Marchand
PTAL (I'll add more comment in a subsequent CL, this is a P0 CL).
7 years, 3 months ago (2013-09-07 23:33:57 UTC) #1
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
7 years, 3 months ago (2013-09-07 23:34:13 UTC) #2
chrisha
Thanks for grabbing this, Seb. Lgtm On Sep 7, 2013 4:33 PM, <sebmarchand@chromium.org> wrote: > ...
7 years, 3 months ago (2013-09-08 00:53:40 UTC) #3
laforge
lgtm
7 years, 3 months ago (2013-09-08 02:24:52 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sebmarchand@chromium.org/23719017/1
7 years, 3 months ago (2013-09-08 02:24:56 UTC) #5
commit-bot: I haz the power
Change committed as 221961
7 years, 3 months ago (2013-09-08 23:45:49 UTC) #6
gab
Post-commit review. https://codereview.chromium.org/23719017/diff/1/chrome/chrome_syzygy.gyp File chrome/chrome_syzygy.gyp (right): https://codereview.chromium.org/23719017/diff/1/chrome/chrome_syzygy.gyp#newcode39 chrome/chrome_syzygy.gyp:39: ['OS=="win" and fastbuild==0 and chrome_multiple_dll==1 and ' ...
7 years, 3 months ago (2013-09-10 18:27:02 UTC) #7
gab
https://codereview.chromium.org/23719017/diff/1/chrome/chrome_syzygy.gyp File chrome/chrome_syzygy.gyp (right): https://codereview.chromium.org/23719017/diff/1/chrome/chrome_syzygy.gyp#newcode59 chrome/chrome_syzygy.gyp:59: ], On 2013/09/10 18:27:02, gab wrote: > Which doesn't ...
7 years, 3 months ago (2013-09-10 18:27:31 UTC) #8
Sébastien Marchand
7 years, 3 months ago (2013-09-10 18:58:56 UTC) #9
Message was sent while issue was closed.
Response to Gab's comment/questions.

https://codereview.chromium.org/23719017/diff/1/chrome/chrome_syzygy.gyp
File chrome/chrome_syzygy.gyp (right):

https://codereview.chromium.org/23719017/diff/1/chrome/chrome_syzygy.gyp#newc...
chrome/chrome_syzygy.gyp:39: ['OS=="win" and fastbuild==0 and
chrome_multiple_dll==1 and '
On 2013/09/10 18:27:02, gab wrote:
> Feels like this would be cleaner if:
> 
> 1) The condition on line 22 was only 'OS=="win" and fastbuild==0 and
> chrome_multiple_dll==1'.
> 2) It had an internal condition '(asan!=1 or buildtype!="Official"'
> 3) This was the else block of that condition.

Yeah, Chris is working on another CL that'll change all of this. See my response
to your other comment for the details.

https://codereview.chromium.org/23719017/diff/1/chrome/chrome_syzygy.gyp#newc...
chrome/chrome_syzygy.gyp:59: ],
On 2013/09/10 18:27:32, gab wrote:
> On 2013/09/10 18:27:02, gab wrote:
> > Which doesn't the main chrome DLL need to do this copy?
> 
> s/Which/Why

The purpose of this CL was to be able to run an experiment where only chrome.dll
is SyzyASan-instrumented. This allow us to ship a Canary/Dev build where only
the browser is instrumented, so the user experience is not impacted too much.

We're having a pretty good coverage for the renderer processes with Clusterfuzz,
but not so much for the browser, it's why we're interested in running this kind
of experiment.

Chris is working on a cleaner CL. He want to export fine-grained control for
each library with 'asan_chrome_dll' and 'asan_chrome_child_dll' variables, with
default values for those variables based on the value of asan and buildtype.

Powered by Google App Engine
This is Rietveld 408576698