#include "Virtualizer.h" BOOL ViCanHandleInst(PNATIVE_CODE_LINK Link) { switch (XedDecodedInstGetIClass(&Link->XedInstruction)) { case XED_ICLASS_MOV: return TRUE; } return FALSE; } BOOL ViValidateNativeCodeBlock(PNATIVE_CODE_BLOCK Block) { for (PNATIVE_CODE_LINK T = Block->Start; T && T != Block->End->Next; T = T->Next) { if (!ViCanHandleInst(T)) return FALSE; } return TRUE; } BOOL VmEmitEnter(ULONG ArgumentCount, PNATIVE_CODE_BLOCK Block) { } BOOL VmEmitExit(ULONG ArgumentCount, PNATIVE_CODE_BLOCK Block) { }