summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/interception/interception_win.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler-rt/lib/interception/interception_win.cc b/compiler-rt/lib/interception/interception_win.cc
index 4c04c83b982..fdecff26a48 100644
--- a/compiler-rt/lib/interception/interception_win.cc
+++ b/compiler-rt/lib/interception/interception_win.cc
@@ -119,6 +119,11 @@ static size_t RoundUpToInstrBoundary(size_t size, char *code) {
cursor += 4;
continue;
}
+ switch (*(unsigned int *)(code + cursor)) {
+ case 0X2444B60F: // 0F B6 44 24 XX = movzx eax, byte ptr [esp+XXh]
+ cursor += 5;
+ continue;
+ }
// Unknown instruction!
// FIXME: Unknown instruction failures might happen when we add a new
OpenPOWER on IntegriCloud