MCPcopy Create free account
hub / github.com/connorjaydunn/BinaryShield / emitSub

Function emitSub

src/vm.cpp:585–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583 }
584
585 void emitSub(Instruction* instruction, BYTE size)
586 {
587 switch (size)
588 {
589 case 64: instruction->addVirtualInstruction(VirtualInstruction(getVmHandlerRva(SUB64))); return;
590 case 32: instruction->addVirtualInstruction(VirtualInstruction(getVmHandlerRva(SUB32))); return;
591 case 16: instruction->addVirtualInstruction(VirtualInstruction(getVmHandlerRva(SUB16))); return;
592 case 8: instruction->addVirtualInstruction(VirtualInstruction(getVmHandlerRva(SUB8))); return;
593 }
594 }
595
596 void emitXor(Instruction* instruction, BYTE size)
597 {

Callers 1

emitArithmeticFunction · 0.85

Calls 3

VirtualInstructionClass · 0.85
getVmHandlerRvaFunction · 0.85
addVirtualInstructionMethod · 0.80

Tested by

no test coverage detected