You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
947 B
53 lines
947 B
#ifndef _MAIN_H_
|
|
#define _MAIN_H_
|
|
|
|
//
|
|
// Structure definitions
|
|
//
|
|
typedef struct _BASEINFO
|
|
{
|
|
CHAR szModule[32];
|
|
DWORD dwStartAddress;
|
|
DWORD dwEndAddress;
|
|
struct _BASEINFO *pNext;
|
|
} BASEINFO, *PBASEINFO;
|
|
|
|
typedef struct _THREADINFO
|
|
{
|
|
DWORD dwThreadId;
|
|
HANDLE hFile;
|
|
struct _THREADINFO *pNext;
|
|
} THREADINFO, *PTHREADINFO;
|
|
|
|
//
|
|
// Function definitions
|
|
//
|
|
VOID
|
|
CloseThreadHandles(VOID);
|
|
|
|
BOOL
|
|
ProcessRuntimeData(PCHAR pszFile, PCHAR pszBaseFileName);
|
|
|
|
BOOL
|
|
FillBufferWithRelocationInfo(PCHAR pszDestination,
|
|
DWORD dwAddress);
|
|
|
|
BOOL
|
|
AddThreadInformation(PCHAR pszBaseFileName,
|
|
PTHREADSTART pThreadStart);
|
|
|
|
BOOL
|
|
AddExeFlowInformation(PEXEFLOW pExeFlow);
|
|
|
|
BOOL
|
|
AddToBaseInformation(PDLLBASEINFO pDLLBaseInfo);
|
|
|
|
BOOL
|
|
AddMappedInformation(PCHAR pszBaseFileName,
|
|
PMAPINFO pMapInfo);
|
|
|
|
BOOL
|
|
AddErrorInformation(PCHAR pszBaseFileName,
|
|
PERRORINFO pErrorInfo);
|
|
|
|
#endif //_MAIN_H_
|