+ -
当前位置:首页 → 问答吧 → C++XX CALL 查找和编写

C++XX CALL 查找和编写

时间:2011-01-04

来源:互联网




在OD中用注入工具代码 
mov edx,00aac1b0

mov edx,[edx]

mov edx,[edx+01c]

mov edx,[edx+24]

mov edx,[edx+0ae4]

mov edx,[edx+0c]

mov edx,[edx+0]

mov eax,[edx]

mov ecx,edx

call [eax+8]

复制代码上面能实现调用

但是我用
C++编写的时候确也能通过 但是调用时候确出错了
  __asm

  {mov edx,0xaac1b0

  mov eax,[edx]

  mov eax,[eax+0x1c]

  mov edx,[eax+24]

  mov eax,[eax+0xae4]

  mov eax,[eax+0xc]

  mov eax,[eax+0]

  mov eax,[eax]

  mov ecx,eax

  call [eax+8]

  }
复制代码麻烦哪位大吓 帮我看下并且指出错误贴出代码 

作者: stolen007   发布时间: 2011-01-04

起始地址 00aac1b0 岂是简单地打小抄儿了得 ...

引用楼主 stolen007 的回复:
在OD中用注入工具代码
mov edx,00aac1b0

mov edx,[edx]

mov edx,[edx+01c]

mov edx,[edx+24]

mov edx,[edx+0ae4]

mov edx,[edx+0c]

mov edx,[edx+0]

mov eax,[edx]

mov ecx,edx

call [eax+8]

……

作者: shyokou   发布时间: 2011-01-04

C++的堆栈要多一些字节处理吧.

作者: asmlearn   发布时间: 2011-01-04