[winasan] Update GetInstructionSize for Win10 1803
authorDavid Major <dmajor@mozilla.com>
Fri, 11 May 2018 14:31:14 +0000 (14:31 +0000)
committerDavid Major <dmajor@mozilla.com>
Fri, 11 May 2018 14:31:14 +0000 (14:31 +0000)
commit868b31bf21b0400383f198b84ddefc6fdc5e6c4a
tree72e9fd6b1621f127be6c3133f3b2bb5cf438f3dc
parent22dd72b99556f451b56ca3f9b71607be5fd5968f
[winasan] Update GetInstructionSize for Win10 1803

In Windows version 1803, the first instruction of ntdll!strchr is:
8a01 mov al,byte ptr [rcx]

This is the only needed change for this version as far as I can tell.

Differential Revision: https://reviews.llvm.org/D46458

llvm-svn: 332095
compiler-rt/lib/interception/interception_win.cc