Allocate memory in the region.
The memory that is allocate is not guaranteed to be the exact size that
you request. The system may allocate more memory. Additionally, the
readable, writeable, and executable flags are not guaranteed to be any
particular values. Use changeRegion
to adjust the flags to your needs.
minimum byte length of the region to be allocated.
the allocated memory region
Changes the memory access permissions of the specified memory
start address of the memory to change
byte length of the memory to change
changed region
Deallocates the specified memory
start address of the memory to deallocate
byte length of the memory to deallocate
success
Get the memory regions of the process
regions
Read bytes from the process memory
This call will fail if the region is not readable. You may need to
change the region's access flags to readable using the changeRegion
method.
address to read from
number of bytes to read
read bytes
Write bytes to the process memory
This call will fail if the region is not writeable. You may need to
change the region's access flags to writeable using the changeRegion
method.
address to write to
bytes to be written
number of bytes written
Generated using TypeDoc
Manages the memory of a process