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

Issue 2072093003: Courgette: Extend pointer detection in x64. (Closed)

Created:
4 years, 6 months ago by etiennep
Modified:
4 years, 5 months ago
Reviewers:
huangs
CC:
chromium-reviews, wfh+watch_chromium.org, huangs+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Courgette: Extend pointer detection in x64. These new instructions are now recognised in x64 RelFinder : MOV QWORD[rip+offset], reg MOV reg, DWORD[rip+offset] MOV DWORD[rip+offset], reg LEA reg, DWORD[rip+offset] MOV reg, WORD[rip+offset] MOV WORD[rip+offset], reg LEA reg, WORD[rip+offset] This reduces patch size by ~1% for x64 image files. BUG=623674 Committed: https://crrev.com/1560d9dbd68658af6659a0bdc7519eb9d18a3a2d Cr-Commit-Position: refs/heads/master@{#402517}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Document instructions format and update unittests #

Total comments: 10

Patch Set 3 : Correct Nits in comments #

Patch Set 4 : Correct Nits in comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -32 lines) Patch
M courgette/encode_decode_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M courgette/rel32_finder_x64.cc View 1 2 3 1 chunk +49 lines, -16 lines 0 comments Download
M courgette/testdata/rel32_x64_01.txt View 1 3 chunks +19 lines, -7 lines 0 comments Download
M courgette/testdata/rel32_x64_02.txt View 1 2 3 chunks +18 lines, -6 lines 0 comments Download
M courgette/testdata/rel32_x64_03.txt View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
etiennep
PTAL
4 years, 6 months ago (2016-06-17 17:25:08 UTC) #2
huangs
In terms of code, just nit on comments. Should run more experiments to justify that ...
4 years, 6 months ago (2016-06-17 18:05:51 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2072093003/20001
4 years, 5 months ago (2016-06-27 19:21:38 UTC) #5
etiennep
PTAnL https://chromiumcodereview.appspot.com/2072093003/diff/1/courgette/rel32_finder_x64.cc File courgette/rel32_finder_x64.cc (right): https://chromiumcodereview.appspot.com/2072093003/diff/1/courgette/rel32_finder_x64.cc#newcode62 courgette/rel32_finder_x64.cc:62: p[0] == 0x8D) && // MOV / LEA ...
4 years, 5 months ago (2016-06-27 19:41:21 UTC) #8
huangs
LGTM with NITs. https://chromiumcodereview.appspot.com/2072093003/diff/20001/courgette/rel32_finder_x64.cc File courgette/rel32_finder_x64.cc (right): https://chromiumcodereview.appspot.com/2072093003/diff/20001/courgette/rel32_finder_x64.cc#newcode75 courgette/rel32_finder_x64.cc:75: // M(Mod & r/m): 00 & ...
4 years, 5 months ago (2016-06-27 20:25:14 UTC) #9
etiennep
PTAnL
4 years, 5 months ago (2016-06-27 21:17:39 UTC) #10
etiennep
Voila! https://chromiumcodereview.appspot.com/2072093003/diff/20001/courgette/rel32_finder_x64.cc File courgette/rel32_finder_x64.cc (right): https://chromiumcodereview.appspot.com/2072093003/diff/20001/courgette/rel32_finder_x64.cc#newcode75 courgette/rel32_finder_x64.cc:75: // M(Mod & r/m): 00 & 101 = ...
4 years, 5 months ago (2016-06-28 17:38:27 UTC) #11
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/2072093003/60001
4 years, 5 months ago (2016-06-28 18:41:55 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-06-28 20:17:36 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 20:19:43 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1560d9dbd68658af6659a0bdc7519eb9d18a3a2d
Cr-Commit-Position: refs/heads/master@{#402517}

Powered by Google App Engine
This is Rietveld 408576698