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

Function emitOr

src/vm.cpp:618–627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616 }
617
618 void emitOr(Instruction* instruction, BYTE size)
619 {
620 switch (size)
621 {
622 case 64: instruction->addVirtualInstruction(VirtualInstruction(getVmHandlerRva(OR64))); return;
623 case 32: instruction->addVirtualInstruction(VirtualInstruction(getVmHandlerRva(OR32))); return;
624 case 16: instruction->addVirtualInstruction(VirtualInstruction(getVmHandlerRva(OR16))); return;
625 case 8: instruction->addVirtualInstruction(VirtualInstruction(getVmHandlerRva(OR8))); return;
626 }
627 }
628
629 void emitShl(Instruction* instruction, BYTE size)
630 {

Callers 1

emitArithmeticFunction · 0.85

Calls 3

VirtualInstructionClass · 0.85
getVmHandlerRvaFunction · 0.85
addVirtualInstructionMethod · 0.80

Tested by

no test coverage detected