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

Issue 138593004: Use an alternate mechanism for CreateFile calls in Chrome (Closed)

Created:
6 years, 11 months ago by Cait (Slow)
Modified:
4 years, 8 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase on trunk #

Patch Set 3 : IAT patch fix #

Patch Set 4 : make IAT_patch behavior not be dll specific #

Total comments: 4

Patch Set 5 : IAT patch clean up #

Total comments: 4

Patch Set 6 : a couple more nits #

Patch Set 7 : Flags, tests and some gyp-fu #

Total comments: 4

Patch Set 8 : a few last nits #

Patch Set 9 : rebase on ToT #

Patch Set 10 : CreateFile and tests only, gyp changes in separate CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+799 lines, -6 lines) Patch
M base/win/iat_patch_function.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -2 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -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 3 chunks +33 lines, -1 line 0 comments Download
A chrome_elf/chrome_elf_constants.h View 1 2 3 4 5 6 1 chunk +16 lines, -0 lines 0 comments Download
A chrome_elf/chrome_elf_constants.cc View 1 2 3 4 5 6 1 chunk +15 lines, -0 lines 0 comments Download
A + chrome_elf/chrome_redirects.def View 1 chunk +2 lines, -2 lines 0 comments Download
A chrome_elf/create_file/chrome_create_file.h View 1 2 3 4 5 6 7 1 chunk +38 lines, -0 lines 0 comments Download
A chrome_elf/create_file/chrome_create_file.cc View 1 2 3 4 5 6 7 1 chunk +279 lines, -0 lines 0 comments Download
A chrome_elf/create_file/chrome_create_file_unittest.cc View 1 2 3 4 5 6 7 1 chunk +391 lines, -0 lines 0 comments Download
M sandbox/win/src/nt_internals.h View 1 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (0 generated)
Cait (Slow)
robertshield: PTAL at chrome_elf/ changes rvargas: PTAL at sandbox/nt_internals.h changes (just the addition of a ...
6 years, 11 months ago (2014-01-15 20:03:24 UTC) #1
rvargas (doing something else)
sandbox lgtm https://codereview.chromium.org/138593004/diff/1/sandbox/win/src/nt_internals.h File sandbox/win/src/nt_internals.h (right): https://codereview.chromium.org/138593004/diff/1/sandbox/win/src/nt_internals.h#newcode129 sandbox/win/src/nt_internals.h:129: // Create/open result values. Add to the ...
6 years, 11 months ago (2014-01-15 23:00:39 UTC) #2
robertshield
lgtm https://codereview.chromium.org/138593004/diff/1/chrome_elf/create_file/chrome_create_file.cc File chrome_elf/create_file/chrome_create_file.cc (right): https://codereview.chromium.org/138593004/diff/1/chrome_elf/create_file/chrome_create_file.cc#newcode57 chrome_elf/create_file/chrome_create_file.cc:57: HMODULE shell32 = ::LoadLibrary(L"shell32.dll"); Add a comment that ...
6 years, 11 months ago (2014-01-16 16:10:26 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/138593004/100001
6 years, 11 months ago (2014-01-16 21:18:38 UTC) #4
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=247630
6 years, 11 months ago (2014-01-16 22:36:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/138593004/100001
6 years, 11 months ago (2014-01-17 00:01:42 UTC) #6
commit-bot: I haz the power
Change committed as 245464
6 years, 11 months ago (2014-01-17 07:20:57 UTC) #7
Cait (Slow)
cpu: PTAL at base/win/iat_patch_function.cc -- basically, for testing purposes, we need to patch the import ...
6 years, 11 months ago (2014-01-17 23:05:41 UTC) #8
cpu_(ooo_6.6-7.5)
I'll defer to rvargas.
6 years, 11 months ago (2014-01-18 00:17:18 UTC) #9
rvargas (doing something else)
yeah, that crash is an old known issue of that code. We should not have ...
6 years, 11 months ago (2014-01-18 00:27:34 UTC) #10
Cait (Slow)
rvargas: PTAL -- I removed all dll-specific code and instead am just checking the original ...
6 years, 11 months ago (2014-01-20 17:04:02 UTC) #11
rvargas (doing something else)
https://codereview.chromium.org/138593004/diff/460001/base/win/iat_patch_function.cc File base/win/iat_patch_function.cc (right): https://codereview.chromium.org/138593004/diff/460001/base/win/iat_patch_function.cc#newcode63 base/win/iat_patch_function.cc:63: ::VirtualQuery(old_code, &memory_info, sizeof(memory_info)); Validate the return value. https://codereview.chromium.org/138593004/diff/460001/base/win/iat_patch_function.cc#newcode66 base/win/iat_patch_function.cc:66: ...
6 years, 11 months ago (2014-01-21 18:48:50 UTC) #12
Cait (Slow)
rvargas: comments addressed. PTAL. https://codereview.chromium.org/138593004/diff/460001/base/win/iat_patch_function.cc File base/win/iat_patch_function.cc (right): https://codereview.chromium.org/138593004/diff/460001/base/win/iat_patch_function.cc#newcode63 base/win/iat_patch_function.cc:63: ::VirtualQuery(old_code, &memory_info, sizeof(memory_info)); On 2014/01/21 ...
6 years, 11 months ago (2014-01-21 19:53:40 UTC) #13
rvargas (doing something else)
lgtm https://codereview.chromium.org/138593004/diff/110014/base/win/iat_patch_function.cc File base/win/iat_patch_function.cc (right): https://codereview.chromium.org/138593004/diff/110014/base/win/iat_patch_function.cc#newcode71 base/win/iat_patch_function.cc:71: memory_info.Protect; tiny nit: one less space here.
6 years, 11 months ago (2014-01-21 20:03:25 UTC) #14
rvargas (doing something else)
https://codereview.chromium.org/138593004/diff/110014/base/win/iat_patch_function.cc File base/win/iat_patch_function.cc (right): https://codereview.chromium.org/138593004/diff/110014/base/win/iat_patch_function.cc#newcode65 base/win/iat_patch_function.cc:65: NOTREACHED(); On second thoughts, we should probably just remove ...
6 years, 11 months ago (2014-01-21 21:19:49 UTC) #15
Cait (Slow)
cpu@: base/win/ changes have been approved by rvagas@, but I need your OWNERS approval to ...
6 years, 11 months ago (2014-01-21 21:47:19 UTC) #16
cpu_(ooo_6.6-7.5)
lgtm
6 years, 11 months ago (2014-01-22 00:14:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/138593004/650001
6 years, 11 months ago (2014-01-22 02:57:12 UTC) #18
commit-bot: I haz the power
Change committed as 246313
6 years, 11 months ago (2014-01-22 13:49:05 UTC) #19
kochi
On 2014/01/22 13:49:05, I haz the power (commit-bot) wrote: > Change committed as 246313 Sorry ...
6 years, 11 months ago (2014-01-23 09:00:32 UTC) #20
Cait (Slow)
robertshield: PTAL at chrome_create_file* (I've made the changes we discussed). Also reworked things such that ...
6 years, 10 months ago (2014-01-27 18:39:49 UTC) #21
robertshield
lgtm https://codereview.chromium.org/138593004/diff/1060001/base/win/iat_patch_function.cc File base/win/iat_patch_function.cc (right): https://codereview.chromium.org/138593004/diff/1060001/base/win/iat_patch_function.cc#newcode63 base/win/iat_patch_function.cc:63: if (!::VirtualQuery(old_code, &memory_info, sizeof(memory_info))) { Nit, convention in ...
6 years, 10 months ago (2014-01-29 17:59:32 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/138593004/1120001
6 years, 10 months ago (2014-01-30 23:54:54 UTC) #23
commit-bot: I haz the power
Retried try job too often on mac for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac&number=120145
6 years, 10 months ago (2014-01-31 01:03:24 UTC) #24
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 01:03:27 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/138593004/1120001
6 years, 10 months ago (2014-01-31 02:56:28 UTC) #26
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=71729
6 years, 10 months ago (2014-01-31 05:12:35 UTC) #27
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 05:12:42 UTC) #28
Cait (Slow)
The CQ bit was checked by caitkp@chromium.org
6 years, 10 months ago (2014-01-31 17:04:22 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/138593004/1120001
6 years, 10 months ago (2014-01-31 17:12:45 UTC) #30
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 18:31:07 UTC) #31
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 18:31:10 UTC) #32
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 18:31:14 UTC) #33
Cait (Slow)
The CQ bit was checked by caitkp@chromium.org
6 years, 10 months ago (2014-01-31 18:32:01 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/138593004/1200001
6 years, 10 months ago (2014-01-31 18:33:11 UTC) #35
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-01-31 20:33:57 UTC) #36
commit-bot: I haz the power
Retried try job too often on win for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=145215
6 years, 10 months ago (2014-01-31 20:33:58 UTC) #37
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 20:34:05 UTC) #38
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 20:34:05 UTC) #39
Cait (Slow)
The CQ bit was checked by caitkp@chromium.org
6 years, 10 months ago (2014-02-01 19:08:55 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/138593004/1530001
6 years, 10 months ago (2014-02-01 19:09:03 UTC) #41
commit-bot: I haz the power
Change committed as 248380
6 years, 10 months ago (2014-02-02 05:52:43 UTC) #42
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-02 05:52:52 UTC) #43
commit-bot: I haz the power
6 years, 10 months ago (2014-02-02 05:52:52 UTC) #44
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698