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

Function emitRead

src/vm.cpp:546–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544 }
545
546 void emitRead(Instruction* instruction, BYTE size)
547 {
548 switch (size)
549 {
550 case 64: instruction->addVirtualInstruction(VirtualInstruction(getVmHandlerRva(READ64))); return;
551 case 32: instruction->addVirtualInstruction(VirtualInstruction(getVmHandlerRva(READ32))); return;
552 case 16: instruction->addVirtualInstruction(VirtualInstruction(getVmHandlerRva(READ16))); return;
553 case 8: instruction->addVirtualInstruction(VirtualInstruction(getVmHandlerRva(READ8))); return;
554 }
555 }
556
557 void emitWrite(Instruction* instruction, BYTE size)
558 {

Callers 4

x86PushHandlerFunction · 0.85
x86MovHandlerFunction · 0.85
x86ArithmeticHandlerFunction · 0.85
loadMethod · 0.85

Calls 3

VirtualInstructionClass · 0.85
getVmHandlerRvaFunction · 0.85
addVirtualInstructionMethod · 0.80

Tested by

no test coverage detected