Conditions
Creating a Condition
//
// Create condition buffer
//
char CondtionBuffer[8];
CondtionBuffer[0] = 0x90; //nop
CondtionBuffer[1] = 0x48; //xor rax, rax
CondtionBuffer[2] = 0x31;
CondtionBuffer[3] = 0xc0;
CondtionBuffer[4] = 0x48; // inc rax
CondtionBuffer[5] = 0xff;
CondtionBuffer[6] = 0xc0;
CondtionBuffer[7] = 0xc3; // retAdding the condition to the event
Last updated