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

Method addVmHandler

src/vm_section.cpp:93–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void VMSection::addVmHandler(VMHandler vmHandler)
94{
95 vmHandler.setFileOffset(writePointer + pointerToRawData);
96 vmHandler.setRva(fileOffsetToRva(writePointer + pointerToRawData, virtualAddress, pointerToRawData));
97 // vmHandler.mutate();
98 VM::vmHandlers.push_back(vmHandler);
99 addBytes(vmHandler.getBytes());
100}

Callers

nothing calls this directly

Calls 4

fileOffsetToRvaFunction · 0.85
setFileOffsetMethod · 0.80
setRvaMethod · 0.80
getBytesMethod · 0.45

Tested by

no test coverage detected