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

Issue 2327193002: Fix module verifier test by padding out DummyExport with 256 bytes of nops (Closed)

Created:
4 years, 3 months ago by Reid Kleckner
Modified:
4 years, 3 months ago
Reviewers:
Nico, grt (UTC plus 2)
CC:
chromium-reviews, grt+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix module verifier test by padding out DummyExport with 256 bytes of nops The test increments 256 bytes of code starting from the beginning of the DLL, and if we don't pad out DummyExport, it will modify DllMain, which can run when a thread starts. R=grt@chromium.org,thakis@chromium.org BUG=645544 Committed: https://crrev.com/38eb7adb1ff6ab5d5151fd47bf251e12da7db0e2 Cr-Commit-Position: refs/heads/master@{#417944}

Patch Set 1 #

Total comments: 1

Patch Set 2 : use macros #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M chrome/browser/safe_browsing/incident_reporting/verifier_test/verifier_test_dll.cc View 1 1 chunk +15 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Reid Kleckner
4 years, 3 months ago (2016-09-09 20:51:02 UTC) #1
Nico
lgtm, thanks! https://codereview.chromium.org/2327193002/diff/1/chrome/browser/safe_browsing/incident_reporting/verifier_test/verifier_test_dll.cc File chrome/browser/safe_browsing/incident_reporting/verifier_test/verifier_test_dll.cc (right): https://codereview.chromium.org/2327193002/diff/1/chrome/browser/safe_browsing/incident_reporting/verifier_test/verifier_test_dll.cc#newcode25 chrome/browser/safe_browsing/incident_reporting/verifier_test/verifier_test_dll.cc:25: __nop(); Hm, maybe #define T4(x) x; x; ...
4 years, 3 months ago (2016-09-09 20:56:29 UTC) #2
grt (UTC plus 2)
rubberstamp lgtm. thanks for making this work!
4 years, 3 months ago (2016-09-11 09:43:12 UTC) #3
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/2327193002/1
4 years, 3 months ago (2016-09-12 14:25:24 UTC) #5
Reid Kleckner
use macros
4 years, 3 months ago (2016-09-12 14:48:54 UTC) #7
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/2327193002/20001
4 years, 3 months ago (2016-09-12 14:49:19 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-12 15:28:20 UTC) #11
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 15:30:37 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/38eb7adb1ff6ab5d5151fd47bf251e12da7db0e2
Cr-Commit-Position: refs/heads/master@{#417944}

Powered by Google App Engine
This is Rietveld 408576698