附加到流程 [英] Attach to process

查看:75
本文介绍了附加到流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想知道调试器使用了哪个API函数来附加到特定进程?

是否在以下函数上?

OpenProcessToken
ReadProcessMemory
WriteProcessMemory GetThreadContext
GetThreadSelectorEntry InstructionCache
ContinueDebugEvent
DebugActiveProcess

解决方案

您好mbnoimi,

是否要为自己构建调试器?

如果要启用自定义调试器以将其附加到活动procee,然后对其进行调试,我相信 DebugActiveProcess 函数将起作用.

看看 解决方案

Hello mbnoimi,

Do you want to build a debugger for yourself?

If you want to enable your custom debugger to attach to an active procee and then debug it, I believe the function DebugActiveProcess will work.

Take a look at
this article, I believe you will get more helpful information on those functions.
Best regards,


这篇关于附加到流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆