Windows Debug API
最重要的Debug API有如下几个:
CreateProcess —— 用于创建被调试进程
WaitForDebugEvent —— Debug Loop(调试循环)的主要构成函数
ContinueDebugEvent —— 用于构成Debug Loop
GetThreadContext —— 得到被调试进程的寄存器信息
SetThreadContext —— 设置被调试进程的寄存器信息
ReadProcessMemory —— 得到被调试进程的内存内容
WriteProcessMemory —— 设置被调试进程的内存内容