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

Issue 61273002: Update mach_override to upstream 1a1bb352 (Closed)

Created:
7 years, 1 month ago by Mark Mentovai
Modified:
7 years, 1 month ago
CC:
chromium-reviews, ianbeer
Visibility:
Public.

Description

Update mach_override to upstream 1a1bb352 CFLog, which is overridden by content/renderer/renderer_main_platform_delegate_mac.mm, contains the following instruction in 64-bit form on 10.6.8 and 10.7.5: 4881ECD0000000 sub rsp, 0xd0 mach_override’s puny simplistic fake disassembler didn’t understand this instruction. This resulted in mach_override failing, which triggered a CHECK failure during renderer startup, with the result that everything would be a sad tab on 10.6 and 10.7 64-bit. The latest version of mach_override replaces its weak old non-disassembler with libudis86, which should be much more capable in the area of understanding instructions, and which should improve mach_override’s ability to patch code without always having to retrain it. In the mean time, the upstream change that was probably causing us to be unable to update to the current HEAD (https://github.com/rentzsch/mach_star/commit/498e0ba3) has been backed out since then (https://github.com/rentzsch/mach_override/commit/1b3aa46f), so it should now be safe to update to HEAD. Local patches https://codereview.chromium.org/21208002/ and https://codereview.chromium.org/22798004/ have been reapplied with minor fixes to work with the current version. BUG=315218 R=avi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233175

Patch Set 1 #

Total comments: 1

Patch Set 2 : Reapply local patches #

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12345 lines, -218 lines) Patch
M third_party/mach_override/LICENSE View 1 chunk +27 lines, -2 lines 0 comments Download
M third_party/mach_override/README.chromium View 1 2 1 chunk +9 lines, -9 lines 0 comments Download
A third_party/mach_override/libudis86/decode.h View 1 chunk +195 lines, -0 lines 0 comments Download
A third_party/mach_override/libudis86/decode.c View 1 chunk +1094 lines, -0 lines 0 comments Download
A third_party/mach_override/libudis86/extern.h View 1 chunk +103 lines, -0 lines 0 comments Download
A third_party/mach_override/libudis86/input.h View 1 chunk +116 lines, -0 lines 0 comments Download
A third_party/mach_override/libudis86/input.c View 1 chunk +175 lines, -0 lines 0 comments Download
A third_party/mach_override/libudis86/itab.h View 1 chunk +678 lines, -0 lines 0 comments Download
A third_party/mach_override/libudis86/itab.c View 1 chunk +8401 lines, -0 lines 0 comments Download
A third_party/mach_override/libudis86/syn.h View 1 chunk +53 lines, -0 lines 0 comments Download
A third_party/mach_override/libudis86/syn.c View 1 chunk +206 lines, -0 lines 0 comments Download
A third_party/mach_override/libudis86/syn-att.c View 1 chunk +223 lines, -0 lines 0 comments Download
A third_party/mach_override/libudis86/syn-intel.c View 1 chunk +213 lines, -0 lines 0 comments Download
A third_party/mach_override/libudis86/types.h View 1 chunk +253 lines, -0 lines 0 comments Download
A third_party/mach_override/libudis86/udint.h View 1 chunk +83 lines, -0 lines 0 comments Download
A third_party/mach_override/libudis86/udis86.c View 1 chunk +304 lines, -0 lines 0 comments Download
M third_party/mach_override/mach_override.h View 3 chunks +36 lines, -81 lines 0 comments Download
M third_party/mach_override/mach_override.c View 1 14 chunks +105 lines, -126 lines 1 comment Download
M third_party/mach_override/mach_override.gyp View 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/mach_override/udis86.h View 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Mark Mentovai
https://codereview.chromium.org/61273002/diff/1/third_party/mach_override/mach_override.c File third_party/mach_override/mach_override.c (right): https://codereview.chromium.org/61273002/diff/1/third_party/mach_override/mach_override.c#newcode1 third_party/mach_override/mach_override.c:1: // mach_override.c semver:1.2.0 This patch set, patch set 1, ...
7 years, 1 month ago (2013-11-05 23:35:36 UTC) #1
Avi (use Gerrit)
LGTM stamp
7 years, 1 month ago (2013-11-06 00:51:14 UTC) #2
Mark Mentovai
Committed patchset #3 manually as r233175 (presubmit successful).
7 years, 1 month ago (2013-11-06 01:18:00 UTC) #3
dgrogan
Caused check_licenses to fail: http://build.chromium.org/p/chromium/builders/Linux/builds/44578/steps/check_licenses/logs/stdio 'third_party/mach_override/mach_override.h' has non-whitelisted license 'UNKNOWN' 'third_party/mach_override/mach_override.c' has non-whitelisted license 'UNKNOWN' ...
7 years, 1 month ago (2013-11-06 01:54:56 UTC) #4
Mark Mentovai
I don’t get it. When I run checklicenses.py on the old version of this code, ...
7 years, 1 month ago (2013-11-06 02:13:26 UTC) #5
Mark Mentovai
7 years, 1 month ago (2013-11-06 02:26:26 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/60293005

Powered by Google App Engine
This is Rietveld 408576698