[winasan] Reduce hotpatch prefix check to 8 bytes
authorDavid Major <dmajor@mozilla.com>
Thu, 20 Sep 2018 14:28:50 +0000 (14:28 +0000)
committerDavid Major <dmajor@mozilla.com>
Thu, 20 Sep 2018 14:28:50 +0000 (14:28 +0000)
commitc4624d9e3fcf26a7ee2ddde9a46dfea6c1f4e6a8
tree4fbd71e42d55e9c8fd6dd25a0a77d2721c269a1b
parente82445f5a9643a94e591653fbe980946b325e564
[winasan] Reduce hotpatch prefix check to 8 bytes

Same idea as r310419: The 8 byte nop is a suffix of the 9 byte nop, and we need at most 6 bytes.

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

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