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

Issue 2323443003: Implement new method to get process base address in Windows sandbox. (Closed)

Created:
4 years, 3 months ago by forshaw
Modified:
4 years, 3 months ago
CC:
chromium-reviews, wfh+watch_chromium.org, pennymac+watch_chromium.org, rickyz+watch_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement new method to get process base address in Windows sandbox. This CL implements a new method of getting the base address of a new process. It's not clear if the old method of using the thread context is reliable in the face of third party software, so this implementation instead uses only documented functionality to acheive the same thing. BUG=645050 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng Committed: https://crrev.com/cd115ae669e4475f9478600506e2130c7dc4b98a Cr-Commit-Position: refs/heads/master@{#417381}

Patch Set 1 #

Patch Set 2 : Remove redundant close handle call #

Total comments: 3

Patch Set 3 : Fixed minor nits #

Patch Set 4 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -41 lines) Patch
M sandbox/win/src/sandbox_types.h View 1 chunk +2 lines, -0 lines 0 comments Download
M sandbox/win/src/target_process.cc View 3 chunks +8 lines, -40 lines 0 comments Download
M sandbox/win/src/win_utils.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M sandbox/win/src/win_utils.cc View 1 2 4 chunks +85 lines, -1 line 0 comments Download
M sandbox/win/src/win_utils_unittest.cc View 1 2 2 chunks +87 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
forshaw
PTAL
4 years, 3 months ago (2016-09-08 16:33:01 UTC) #3
Will Harris
lgtm % comments/nits https://codereview.chromium.org/2323443003/diff/20001/sandbox/win/src/win_utils.cc File sandbox/win/src/win_utils.cc (right): https://codereview.chromium.org/2323443003/diff/20001/sandbox/win/src/win_utils.cc#newcode457 sandbox/win/src/win_utils.cc:457: // This function walks the virtual ...
4 years, 3 months ago (2016-09-08 16:54:03 UTC) #4
forshaw
asvitkine@ could you review the minor change to histograms.xml?
4 years, 3 months ago (2016-09-08 16:57:31 UTC) #6
Alexei Svitkine (slow)
lgtm
4 years, 3 months ago (2016-09-08 16:58:11 UTC) #7
forshaw
On 2016/09/08 16:58:11, Alexei Svitkine (very slow) wrote: > lgtm Thanks very much.
4 years, 3 months ago (2016-09-08 17:38:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2323443003/60001
4 years, 3 months ago (2016-09-08 17:50:25 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-08 20:26:18 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 20:27:40 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cd115ae669e4475f9478600506e2130c7dc4b98a
Cr-Commit-Position: refs/heads/master@{#417381}

Powered by Google App Engine
This is Rietveld 408576698