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

Issue 1045513004: Integrate the handle verifier from multiple modules (DLLs) (Closed)

Created:
5 years, 8 months ago by rvargas (doing something else)
Modified:
5 years, 8 months ago
CC:
chromium-reviews, grt+watch_chromium.org, erikwright+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Integrate the handle verifier from multiple modules (DLLs) This allows handles created on the exe (or any other module) to be properly tracked. BUG=472362 Committed: https://crrev.com/8545e0e789c271bbc75d12a3fd92dcfbf800e54f Cr-Commit-Position: refs/heads/master@{#324335}

Patch Set 1 : Environment variable #

Patch Set 2 : GetProcAddress #

Total comments: 15

Patch Set 3 : grt review #

Total comments: 8

Patch Set 4 : nits #

Patch Set 5 : Now with more comments #

Total comments: 1

Patch Set 6 : Remove stray header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -43 lines) Patch
M base/win/scoped_handle.cc View 1 2 3 4 5 3 chunks +136 lines, -43 lines 0 comments Download

Messages

Total messages: 24 (5 generated)
rvargas (doing something else)
5 years, 8 months ago (2015-04-01 03:06:18 UTC) #3
grt (UTC plus 2)
drive-by https://codereview.chromium.org/1045513004/diff/40001/base/win/scoped_handle.cc File base/win/scoped_handle.cc (right): https://codereview.chromium.org/1045513004/diff/40001/base/win/scoped_handle.cc#newcode7 base/win/scoped_handle.cc:7: #include <unordered_map> would you mind switching from unordered_map ...
5 years, 8 months ago (2015-04-01 15:33:04 UTC) #4
rvargas (doing something else)
thanks https://codereview.chromium.org/1045513004/diff/40001/base/win/scoped_handle.cc File base/win/scoped_handle.cc (right): https://codereview.chromium.org/1045513004/diff/40001/base/win/scoped_handle.cc#newcode7 base/win/scoped_handle.cc:7: #include <unordered_map> On 2015/04/01 15:33:04, grt wrote: > ...
5 years, 8 months ago (2015-04-01 16:51:03 UTC) #5
Will Harris
another drive-by, but I might have the wrong end of the stick. https://codereview.chromium.org/1045513004/diff/60001/base/win/scoped_handle.cc File base/win/scoped_handle.cc ...
5 years, 8 months ago (2015-04-01 17:44:24 UTC) #6
rvargas (doing something else)
https://codereview.chromium.org/1045513004/diff/60001/base/win/scoped_handle.cc File base/win/scoped_handle.cc (right): https://codereview.chromium.org/1045513004/diff/60001/base/win/scoped_handle.cc#newcode17 base/win/scoped_handle.cc:17: __declspec(dllexport) void* GetHandleVerifier(); On 2015/04/01 17:44:24, Will Harris wrote: ...
5 years, 8 months ago (2015-04-01 18:23:54 UTC) #7
grt (UTC plus 2)
https://codereview.chromium.org/1045513004/diff/40001/base/win/scoped_handle.cc File base/win/scoped_handle.cc (right): https://codereview.chromium.org/1045513004/diff/40001/base/win/scoped_handle.cc#newcode7 base/win/scoped_handle.cc:7: #include <unordered_map> On 2015/04/01 16:51:03, rvargas (soon out of ...
5 years, 8 months ago (2015-04-01 20:33:02 UTC) #8
grt (UTC plus 2)
https://codereview.chromium.org/1045513004/diff/40001/base/win/scoped_handle.cc File base/win/scoped_handle.cc (right): https://codereview.chromium.org/1045513004/diff/40001/base/win/scoped_handle.cc#newcode78 base/win/scoped_handle.cc:78: virtual bool CloseHandle(HANDLE handle); On 2015/04/01 16:51:03, rvargas (soon ...
5 years, 8 months ago (2015-04-02 02:19:03 UTC) #9
rvargas (doing something else)
https://codereview.chromium.org/1045513004/diff/40001/base/win/scoped_handle.cc File base/win/scoped_handle.cc (right): https://codereview.chromium.org/1045513004/diff/40001/base/win/scoped_handle.cc#newcode78 base/win/scoped_handle.cc:78: virtual bool CloseHandle(HANDLE handle); On 2015/04/02 02:19:03, grt wrote: ...
5 years, 8 months ago (2015-04-02 17:53:58 UTC) #10
grt (UTC plus 2)
On 2015/04/02 17:53:58, rvargas (soon out of office) wrote: > https://codereview.chromium.org/1045513004/diff/40001/base/win/scoped_handle.cc > File base/win/scoped_handle.cc (right): ...
5 years, 8 months ago (2015-04-02 17:55:45 UTC) #11
Will Harris
https://codereview.chromium.org/1045513004/diff/60001/base/win/scoped_handle.cc File base/win/scoped_handle.cc (right): https://codereview.chromium.org/1045513004/diff/60001/base/win/scoped_handle.cc#newcode105 base/win/scoped_handle.cc:105: HMODULE main_module = ::GetModuleHandle(NULL); is it not possible for ...
5 years, 8 months ago (2015-04-02 18:11:15 UTC) #13
rvargas (doing something else)
https://codereview.chromium.org/1045513004/diff/60001/base/win/scoped_handle.cc File base/win/scoped_handle.cc (right): https://codereview.chromium.org/1045513004/diff/60001/base/win/scoped_handle.cc#newcode105 base/win/scoped_handle.cc:105: HMODULE main_module = ::GetModuleHandle(NULL); On 2015/04/02 18:11:15, Will Harris ...
5 years, 8 months ago (2015-04-02 18:25:24 UTC) #14
Will Harris
On 2015/04/02 18:25:24, rvargas (soon out of office) wrote: > https://codereview.chromium.org/1045513004/diff/60001/base/win/scoped_handle.cc > File base/win/scoped_handle.cc (right): ...
5 years, 8 months ago (2015-04-02 19:35:22 UTC) #15
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/1045513004/diff/60001/base/win/scoped_handle.cc File base/win/scoped_handle.cc (right): https://codereview.chromium.org/1045513004/diff/60001/base/win/scoped_handle.cc#newcode215 base/win/scoped_handle.cc:215: return g_active_verifier->StartTracking(handle, owner, pc1, pc2); so we always do ...
5 years, 8 months ago (2015-04-02 20:49:10 UTC) #16
rvargas (doing something else)
thanks https://codereview.chromium.org/1045513004/diff/60001/base/win/scoped_handle.cc File base/win/scoped_handle.cc (right): https://codereview.chromium.org/1045513004/diff/60001/base/win/scoped_handle.cc#newcode215 base/win/scoped_handle.cc:215: return g_active_verifier->StartTracking(handle, owner, pc1, pc2); On 2015/04/02 20:49:10, ...
5 years, 8 months ago (2015-04-02 21:26:31 UTC) #17
cpu_(ooo_6.6-7.5)
lgtm pls commit after the branch point.
5 years, 8 months ago (2015-04-03 01:05:57 UTC) #18
Will Harris
lgtm % nit https://codereview.chromium.org/1045513004/diff/100001/base/win/scoped_handle.cc File base/win/scoped_handle.cc (right): https://codereview.chromium.org/1045513004/diff/100001/base/win/scoped_handle.cc#newcode10 base/win/scoped_handle.cc:10: #include "base/environment.h" nit: this include is ...
5 years, 8 months ago (2015-04-04 19:17:48 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1045513004/120001
5 years, 8 months ago (2015-04-08 23:46:33 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 8 months ago (2015-04-09 01:41:02 UTC) #23
commit-bot: I haz the power
5 years, 8 months ago (2015-04-09 01:41:53 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/8545e0e789c271bbc75d12a3fd92dcfbf800e54f
Cr-Commit-Position: refs/heads/master@{#324335}

Powered by Google App Engine
This is Rietveld 408576698