summaryrefslogtreecommitdiffstats
path: root/sandbox/wow_helper
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-03 19:46:42 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-03 19:46:42 +0000
commit9007f5890d7fca32d8a5403581acd67ef975b806 (patch)
tree81dfc3580d9c68a92965f6a5d7e05b8b9e736c5b /sandbox/wow_helper
parentbb3dc256b24a68e9fbe152599845d4a9a5956c68 (diff)
downloadchromium_src-9007f5890d7fca32d8a5403581acd67ef975b806.zip
chromium_src-9007f5890d7fca32d8a5403581acd67ef975b806.tar.gz
chromium_src-9007f5890d7fca32d8a5403581acd67ef975b806.tar.bz2
revert r9096.
TBD nsylvain git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9097 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/wow_helper')
-rw-r--r--sandbox/wow_helper/service64_resolver.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sandbox/wow_helper/service64_resolver.cc b/sandbox/wow_helper/service64_resolver.cc
index 4fddba9..91a6716 100644
--- a/sandbox/wow_helper/service64_resolver.cc
+++ b/sandbox/wow_helper/service64_resolver.cc
@@ -266,7 +266,9 @@ bool Service64ResolverThunk::IsFunctionAService(void* local_thunk) const {
return false;
if (kMmovR10EcxMovEax != function_code.mov_r10_ecx_mov_eax ||
- kSyscall != function_code.syscall || kRetNp != function_code.ret)
+ kSyscall != function_code.syscall || kRetNp != function_code.ret ||
+ kPad != function_code.pad || kNop16 != function_code.xchg_ax_ax1 ||
+ kNop16 != function_code.xchg_ax_ax1)
return false;
// Save the verified code