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

Issue 174013007: Add UMA stats to record when DLLs are successfully blocked in the Browser. (Closed)

Created:
6 years, 10 months ago by csharp
Modified:
5 years, 9 months ago
CC:
chromium-reviews, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org, caitkp+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add UMA stats to record when DLLs are successfully blocked in the Browser. BUG=345287 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254480

Patch Set 1 #

Total comments: 37

Patch Set 2 : Rebase #

Patch Set 3 : Responding to comments #

Total comments: 12

Patch Set 4 : Responding to comments #

Total comments: 8

Patch Set 5 : Responding to comments #

Patch Set 6 : Better hashing #

Total comments: 2

Patch Set 7 : Rebase #

Patch Set 8 : Responding to comments #

Total comments: 7

Patch Set 9 : fix dll_hash.gypi #

Total comments: 2

Patch Set 10 : Fix includes #

Patch Set 11 : Rebase #

Patch Set 12 : #

Patch Set 13 : Fix chrome_elf_init_unittest_win #

Total comments: 2

Patch Set 14 : Rebase #

Patch Set 15 : Alignment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -43 lines) Patch
M PRESUBMIT.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_elf_init_unittest_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +38 lines, -29 lines 0 comments Download
M chrome/browser/chrome_elf_init_win.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +44 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome_elf/blacklist/blacklist.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +14 lines, -1 line 0 comments Download
M chrome_elf/blacklist/blacklist.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +45 lines, -0 lines 0 comments Download
M chrome_elf/blacklist/blacklist_interceptions.cc View 1 2 2 chunks +12 lines, -7 lines 0 comments Download
M chrome_elf/blacklist/test/blacklist_test.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +49 lines, -2 lines 0 comments Download
M chrome_elf/blacklist/test/blacklist_test_main_dll.def View 1 chunk +2 lines, -1 line 0 comments Download
M chrome_elf/chrome_elf.def View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome_elf/chrome_elf.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome_elf/chrome_elf_main.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download
A chrome_elf/dll_hash.gypi View 1 2 3 4 5 6 7 8 1 chunk +31 lines, -0 lines 0 comments Download
A chrome_elf/dll_hash/dll_hash.h View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
A chrome_elf/dll_hash/dll_hash.cc View 1 2 3 4 5 6 7 8 9 1 chunk +14 lines, -0 lines 0 comments Download
A chrome_elf/dll_hash/dll_hash_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +28 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
csharp
https://codereview.chromium.org/174013007/diff/1/chrome/browser/chrome_elf_init_win.cc File chrome/browser/chrome_elf_init_win.cc (right): https://codereview.chromium.org/174013007/diff/1/chrome/browser/chrome_elf_init_win.cc#newcode158 chrome/browser/chrome_elf_init_win.cc:158: base::MD5Digest hash; This hashing approach seems pretty silly, but ...
6 years, 10 months ago (2014-02-20 19:48:37 UTC) #1
robertshield
https://codereview.chromium.org/174013007/diff/1/chrome/browser/chrome_elf_init_win.cc File chrome/browser/chrome_elf_init_win.cc (right): https://codereview.chromium.org/174013007/diff/1/chrome/browser/chrome_elf_init_win.cc#newcode65 chrome/browser/chrome_elf_init_win.cc:65: // Report all successful blacklist interception. interceptions https://codereview.chromium.org/174013007/diff/1/chrome/browser/chrome_elf_init_win.cc#newcode68 chrome/browser/chrome_elf_init_win.cc:68: ...
6 years, 10 months ago (2014-02-24 15:24:04 UTC) #2
csharp
https://codereview.chromium.org/174013007/diff/1/chrome/browser/chrome_elf_init_win.cc File chrome/browser/chrome_elf_init_win.cc (right): https://codereview.chromium.org/174013007/diff/1/chrome/browser/chrome_elf_init_win.cc#newcode65 chrome/browser/chrome_elf_init_win.cc:65: // Report all successful blacklist interception. On 2014/02/24 15:24:05, ...
6 years, 10 months ago (2014-02-24 21:37:15 UTC) #3
robertshield
Looks really good. Few more comments. https://codereview.chromium.org/174013007/diff/140001/chrome_elf/blacklist/blacklist.cc File chrome_elf/blacklist/blacklist.cc (right): https://codereview.chromium.org/174013007/diff/140001/chrome_elf/blacklist/blacklist.cc#newcode31 chrome_elf/blacklist/blacklist.cc:31: bool g_blocked_dlls[kTroublesomeDllsMaxCount] = ...
6 years, 10 months ago (2014-02-25 03:21:39 UTC) #4
csharp
https://codereview.chromium.org/174013007/diff/140001/chrome_elf/blacklist/blacklist.cc File chrome_elf/blacklist/blacklist.cc (right): https://codereview.chromium.org/174013007/diff/140001/chrome_elf/blacklist/blacklist.cc#newcode31 chrome_elf/blacklist/blacklist.cc:31: bool g_blocked_dlls[kTroublesomeDllsMaxCount] = {false}; On 2014/02/25 03:21:40, robertshield wrote: ...
6 years, 10 months ago (2014-02-25 14:44:59 UTC) #5
robertshield
lgtm https://codereview.chromium.org/174013007/diff/160001/chrome_elf/blacklist/blacklist.cc File chrome_elf/blacklist/blacklist.cc (right): https://codereview.chromium.org/174013007/diff/160001/chrome_elf/blacklist/blacklist.cc#newcode355 chrome_elf/blacklist/blacklist.cc:355: #if !defined(NDEBUG) Don't need the debug check here, ...
6 years, 10 months ago (2014-02-25 14:57:48 UTC) #6
Alexei Svitkine (slow)
https://codereview.chromium.org/174013007/diff/160001/chrome_elf/blacklist/test/blacklist_test.cc File chrome_elf/blacklist/test/blacklist_test.cc (right): https://codereview.chromium.org/174013007/diff/160001/chrome_elf/blacklist/test/blacklist_test.cc#newcode126 chrome_elf/blacklist/test/blacklist_test.cc:126: int k_desired_blacklist_size = 5; Nit: This should probably be: ...
6 years, 10 months ago (2014-02-25 15:00:19 UTC) #7
csharp
https://codereview.chromium.org/174013007/diff/160001/chrome/browser/chrome_elf_init_win.cc File chrome/browser/chrome_elf_init_win.cc (right): https://codereview.chromium.org/174013007/diff/160001/chrome/browser/chrome_elf_init_win.cc#newcode80 chrome/browser/chrome_elf_init_win.cc:80: base::MD5Digest hash; asvitkine@, any hints/tips on a better hash ...
6 years, 10 months ago (2014-02-25 15:20:49 UTC) #8
Alexei Svitkine (slow)
https://codereview.chromium.org/174013007/diff/160001/chrome/browser/chrome_elf_init_win.cc File chrome/browser/chrome_elf_init_win.cc (right): https://codereview.chromium.org/174013007/diff/160001/chrome/browser/chrome_elf_init_win.cc#newcode80 chrome/browser/chrome_elf_init_win.cc:80: base::MD5Digest hash; On 2014/02/25 15:20:50, csharp wrote: > asvitkine@, ...
6 years, 10 months ago (2014-02-25 15:51:54 UTC) #9
csharp
On 2014/02/25 15:51:54, Alexei Svitkine wrote: > https://codereview.chromium.org/174013007/diff/160001/chrome/browser/chrome_elf_init_win.cc > File chrome/browser/chrome_elf_init_win.cc (right): > > https://codereview.chromium.org/174013007/diff/160001/chrome/browser/chrome_elf_init_win.cc#newcode80 ...
6 years, 10 months ago (2014-02-26 13:13:38 UTC) #10
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/174013007/diff/200001/chrome_elf/dll_hash/dll_hash_main.cc File chrome_elf/dll_hash/dll_hash_main.cc (right): https://codereview.chromium.org/174013007/diff/200001/chrome_elf/dll_hash/dll_hash_main.cc#newcode21 chrome_elf/dll_hash/dll_hash_main.cc:21: argv[0]); Nit: fits on previous line? If not, ...
6 years, 10 months ago (2014-02-26 14:32:13 UTC) #11
csharp
robertshield@, does this still lgty? https://codereview.chromium.org/174013007/diff/200001/chrome_elf/dll_hash/dll_hash_main.cc File chrome_elf/dll_hash/dll_hash_main.cc (right): https://codereview.chromium.org/174013007/diff/200001/chrome_elf/dll_hash/dll_hash_main.cc#newcode21 chrome_elf/dll_hash/dll_hash_main.cc:21: argv[0]); On 2014/02/26 14:32:14, ...
6 years, 10 months ago (2014-02-26 17:42:55 UTC) #12
robertshield
https://codereview.chromium.org/174013007/diff/240001/chrome_elf/dll_hash.gypi File chrome_elf/dll_hash.gypi (right): https://codereview.chromium.org/174013007/diff/240001/chrome_elf/dll_hash.gypi#newcode10 chrome_elf/dll_hash.gypi:10: '../base/base.gyp:base' add a trailing comma https://codereview.chromium.org/174013007/diff/240001/chrome_elf/dll_hash.gypi#newcode21 chrome_elf/dll_hash.gypi:21: 'dll_hash' trailing ...
6 years, 10 months ago (2014-02-26 19:57:10 UTC) #13
csharp
sky@ for chrome/browser owner's approval maruel@ for PRESUBMIT.py owner's approval https://codereview.chromium.org/174013007/diff/240001/chrome_elf/dll_hash.gypi File chrome_elf/dll_hash.gypi (right): https://codereview.chromium.org/174013007/diff/240001/chrome_elf/dll_hash.gypi#newcode10 ...
6 years, 10 months ago (2014-02-26 21:06:07 UTC) #14
M-A Ruel
Nico, everyone is constantly adding exclusions to _CheckSpamLogging() in src/PRESUBMIT.py. Is is working as intended? ...
6 years, 10 months ago (2014-02-26 21:09:54 UTC) #15
robertshield
lgtm
6 years, 10 months ago (2014-02-26 21:30:56 UTC) #16
sky
https://codereview.chromium.org/174013007/diff/280001/chrome_elf/blacklist/blacklist.h File chrome_elf/blacklist/blacklist.h (right): https://codereview.chromium.org/174013007/diff/280001/chrome_elf/blacklist/blacklist.h#newcode85 chrome_elf/blacklist/blacklist.h:85: extern "C" void SuccessfullyBlocked(const wchar_t** blocked_dlls, int* size); Is ...
6 years, 10 months ago (2014-02-26 21:52:04 UTC) #17
csharp
https://codereview.chromium.org/174013007/diff/280001/chrome_elf/blacklist/blacklist.h File chrome_elf/blacklist/blacklist.h (right): https://codereview.chromium.org/174013007/diff/280001/chrome_elf/blacklist/blacklist.h#newcode85 chrome_elf/blacklist/blacklist.h:85: extern "C" void SuccessfullyBlocked(const wchar_t** blocked_dlls, int* size); On ...
6 years, 10 months ago (2014-02-26 22:00:01 UTC) #18
sky
Sadness. Ok, LGTM
6 years, 10 months ago (2014-02-26 22:31:13 UTC) #19
csharp
> PRESUBMIT.py rubberstamp lgtm as long Nico agrees. I'm going to submit now since it ...
6 years, 9 months ago (2014-02-27 20:22:00 UTC) #20
csharp
The CQ bit was checked by csharp@chromium.org
6 years, 9 months ago (2014-02-27 20:22:46 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/174013007/330001
6 years, 9 months ago (2014-02-27 20:23:55 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-27 21:20:55 UTC) #23
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=271602
6 years, 9 months ago (2014-02-27 21:20:56 UTC) #24
csharp
robertshield@, can you verify that fixes to chrome_elf_init_unittest_win.cc still look good to you? thanks
6 years, 9 months ago (2014-02-28 22:39:11 UTC) #25
robertshield
On 2014/02/28 22:39:11, csharp wrote: > robertshield@, can you verify that fixes to chrome_elf_init_unittest_win.cc > ...
6 years, 9 months ago (2014-03-03 13:51:28 UTC) #26
robertshield
LGTM w/ one nit https://codereview.chromium.org/174013007/diff/340001/chrome/browser/chrome_elf_init_unittest_win.cc File chrome/browser/chrome_elf_init_unittest_win.cc (right): https://codereview.chromium.org/174013007/diff/340001/chrome/browser/chrome_elf_init_unittest_win.cc#newcode30 chrome/browser/chrome_elf_init_unittest_win.cc:30: KEY_QUERY_VALUE | KEY_SET_VALUE)); nit: indent
6 years, 9 months ago (2014-03-03 13:51:45 UTC) #27
csharp
https://codereview.chromium.org/174013007/diff/340001/chrome/browser/chrome_elf_init_unittest_win.cc File chrome/browser/chrome_elf_init_unittest_win.cc (right): https://codereview.chromium.org/174013007/diff/340001/chrome/browser/chrome_elf_init_unittest_win.cc#newcode30 chrome/browser/chrome_elf_init_unittest_win.cc:30: KEY_QUERY_VALUE | KEY_SET_VALUE)); On 2014/03/03 13:51:46, robertshield wrote: > ...
6 years, 9 months ago (2014-03-03 14:17:37 UTC) #28
csharp
The CQ bit was checked by csharp@chromium.org
6 years, 9 months ago (2014-03-03 14:17:43 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/174013007/380001
6 years, 9 months ago (2014-03-03 14:17:56 UTC) #30
commit-bot: I haz the power
Change committed as 254480
6 years, 9 months ago (2014-03-03 17:01:44 UTC) #31
Timur Iskhodzhanov
5 years, 9 months ago (2015-03-03 14:22:07 UTC) #32
Message was sent while issue was closed.
I'm not sure filing a bug on a CL's birthday is a good thing to do, but hey:
https://code.google.com/p/chromium/issues/detail?id=463495

Powered by Google App Engine
This is Rietveld 408576698