#include "stdafx.h"
#include <tchar.h>
#include "../kdvm/kdrpc.h"
#include <bzscmn/bzscmn.h>
#include "tablemgr.h"
#include "../rpcdispatch/rpcdisp.h"
#include "../rpcdispatch/kdcomdisp.h"
#include "../rpcdispatch/reporter.h"
Go to the source code of this file.
Classes | |
class | InterlockedIncrementer |
Provides convenient way to mark whether a code block is executing by using an global volatile counter. More... | |
Functions | |
static bool | KDRPCDirectHandler (void *pContext, int ChannelNumber, char *pCommandBody, unsigned CommandBodyLength, char **ppReply, unsigned *pReplyLen) |
unsigned | SessionNameFromVMCmdLineW (wchar_t *pszCmdLine, wchar_t *pName, size_t MaxNameLength) |
DWORD | PatcherThreadMain (LPVOID lpParam) |
DWORD CALLBACK | ThreadBody (LPVOID lpParam) |
bool | HookVmware (HINSTANCE hThisDll) |
void | UnhookVmware () |
Variables | |
StatusReporter * | g_pReporter = NULL |
static RPCTableManager * | g_pManager = NULL |
static volatile LONG | s_CallCount = 0 |
static bool | s_bUnload = false |
HANDLE | s_hThreadEvent = INVALID_HANDLE_VALUE |
static HANDLE | s_hThread = INVALID_HANDLE_VALUE |
static KdRpcDispatcher * | s_pClient = NULL |
Definition in file kdclient.cpp.
bool HookVmware | ( | HINSTANCE | hThisDll | ) |
static bool KDRPCDirectHandler | ( | void * | pContext, | |
int | ChannelNumber, | |||
char * | pCommandBody, | |||
unsigned | CommandBodyLength, | |||
char ** | ppReply, | |||
unsigned * | pReplyLen | |||
) | [static] |
DWORD PatcherThreadMain | ( | LPVOID | lpParam | ) |
unsigned SessionNameFromVMCmdLineW | ( | wchar_t * | pszCmdLine, | |
wchar_t * | pName, | |||
size_t | MaxNameLength | |||
) |
DWORD CALLBACK ThreadBody | ( | LPVOID | lpParam | ) |
void UnhookVmware | ( | ) |
RPCTableManager* g_pManager = NULL [static] |
Definition at line 17 of file kdclient.cpp.
StatusReporter* g_pReporter = NULL |
Definition at line 16 of file kdclient.cpp.
bool s_bUnload = false [static] |
Definition at line 19 of file kdclient.cpp.
volatile LONG s_CallCount = 0 [static] |
Definition at line 18 of file kdclient.cpp.
HANDLE s_hThread = INVALID_HANDLE_VALUE [static] |
Definition at line 22 of file kdclient.cpp.
HANDLE s_hThreadEvent = INVALID_HANDLE_VALUE |
Definition at line 20 of file kdclient.cpp.
KdRpcDispatcher* s_pClient = NULL [static] |
Definition at line 77 of file kdclient.cpp.