32位程序注入64位dll到64位进程中失败

测试32位程序注入64位dll到64 位的进程中失败。出现下面错误提示:

应用程序发生异常 未知软件异常(0xc0000409)错误

必须4使用64位程序注入64位dll到64位的进程才能成功。

if (!DebuggerWasPresent)

0021DC04 83 3D A8 99 28 00 00 cmp         dword ptr [DebuggerWasPresent (2899A8h)],0  
0021DC0B 75 08                jne         __report_gsfailure+0F2h (21DC15h)  
    {
        _CRT_DEBUGGER_HOOK(_CRT_DEBUGGER_GSFAILURE);
0021DC0D 6A 01                push        1  
0021DC0F E8 BF C0 00 00       call        _crt_debugger_hook (229CD3h)       
0021DC14 59                   pop         ecx  

    }



__declspec(noinline)
void __cdecl _CRT_DEBUGGER_HOOK(int _Reserved)
{
    /* assign 0 to _debugger_hook_dummy so that the function is not folded in retail */
    (_Reserved);
    _debugger_hook_dummy = 0;
00229CD3 83 25 C8 A2 28 00 00 and         dword ptr [__debugger_hook_dummy (28A2C8h)],0      /崩溃地
}
00229CDA C3                   ret 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值