📄 stackserv.c
字号:
///////////////////////////////////////////////////////////////////////////////
//
// FileName : StackServ.c
// Version : 1.0
// Author : Luo Cong
// Date : 2004-09-02 9:58:30
// Comment :
//
///////////////////////////////////////////////////////////////////////////////
#include <windows.h>
#include "Misc.h"
#include "StackServ.h"
int GetStackContents(
/* [in] */ const HANDLE hProcess,
/* [in] */ const unsigned long Esp,
/* [out] */ unsigned long *lpStackAddress
)
{
int nRetResult = 0;
int nRetCode;
*lpStackAddress = 0;
nRetCode = ReadProcessMemory(
hProcess,
(unsigned long *)Esp,
lpStackAddress,
sizeof(lpStackAddress),
NULL
);
MY_PROCESS_ERROR(nRetCode);
nRetResult = 1;
Exit0:
return nRetResult;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -