summaryrefslogtreecommitdiff
path: root/lib/interception
diff options
context:
space:
mode:
Diffstat (limited to 'lib/interception')
-rw-r--r--lib/interception/interception_win.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/interception/interception_win.cc b/lib/interception/interception_win.cc
index 4c04c83b9..fdecff26a 100644
--- a/lib/interception/interception_win.cc
+++ b/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