Commit 24aeaf01 authored by Tom Tan's avatar Tom Tan Committed by Commit Bot

Disable hooks for Windows ARM64.

Disable IAT hooks on Windows ARM64 for the same reason as Windows X64.
IAT virtual address is 4 bytes in length and insufficient to hook to
arbitrary 64-bit address.

Bug: 893460
Change-Id: I05b607737e07e12a318f261366a59c8ed1a52782
Reviewed-on: https://chromium-review.googlesource.com/c/1337294Reviewed-by: default avatarBruce Dawson <brucedawson@chromium.org>
Reviewed-by: default avatarJay Civelli <jcivelli@chromium.org>
Commit-Queue: Tom Tan <Tom.Tan@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#608472}
parent ea262c39
...@@ -217,7 +217,7 @@ bool IsSandboxedProcess() { ...@@ -217,7 +217,7 @@ bool IsSandboxedProcess() {
} }
bool UseHooks() { bool UseHooks() {
#if defined(ARCH_CPU_X86_64) #if defined(ARCH_CPU_64_BITS)
return false; return false;
#elif defined(NDEBUG) #elif defined(NDEBUG)
version_info::Channel channel = chrome::GetChannel(); version_info::Channel channel = chrome::GetChannel();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment