MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / virtual_free

Method virtual_free

windows/winobject/process.py:1054–1056  ·  view source on GitHub ↗

Free memory in the process by virtual_alloc

(self, addr)

Source from the content-addressed store, hash-verified

1052 return winproxy.VirtualAllocEx(self.handle, lpAddress=addr, dwSize=size, flProtect=prot)
1053
1054 def virtual_free(self, addr):
1055 """Free memory in the process by virtual_alloc"""
1056 return winproxy.VirtualFreeEx(self.handle, addr)
1057
1058 def write_memory(self, addr, data):
1059 """Write `data` at `addr`"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected