forked from cheat-engine/cheat-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
exports.c
38 lines (34 loc) · 1010 Bytes
/
exports.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* exports.c
*
* Created on: Apr 9, 2018
* Author: root
*/
#include "exports.h"
#include "common.h"
#include "mm.h"
#include "vmpaging.h"
#include "vmxsetup.h"
void InitExports()
{
exportlist=malloc(sizeof(DBVMExports));
exportlist->version=DBVM_EXPORTLISTVERSION;
exportlist->getCPUCount=getCPUCount;
exportlist->getcpunr=getcpunr;
exportlist->sendstringf=sendstringf;
exportlist->zeromemory=zeromemory;
exportlist->memcpy=memcpy;
exportlist->memcmp=memcmp;
exportlist->csEnter=csEnter;
exportlist->csLeave=csLeave;
exportlist->malloc=malloc;
exportlist->free=free;
exportlist->mapVMMemory=mapVMmemory;
exportlist->mapPhysicalMemory=mapPhysicalMemory;
exportlist->unmapMemory=unmapPhysicalMemory;
exportlist->VirtualToPhysical=VirtualToPhysical;
exportlist->setMSRReadExit=vmx_setMSRReadExit;
exportlist->removeMSRReadExit=vmx_removeMSRReadExit;
exportlist->setMSRWriteExit=vmx_setMSRWriteExit;
exportlist->removeMSRWriteExit=vmx_removeMSRWriteExit;
}