Accesses the memory of another Linux process. More...
#include "util/process/process_memory_linux.h"
Public Member Functions | |
ProcessMemoryLinux (PtraceConnection *connection) | |
ProcessMemoryLinux (const ProcessMemoryLinux &)=delete | |
ProcessMemoryLinux & | operator= (const ProcessMemoryLinux &)=delete |
VMAddress | PointerToAddress (VMAddress address) const |
Returns the input pointer with any non-addressing bits, such as tags removed. | |
![]() | |
bool | Read (VMAddress address, VMSize size, void *buffer) const |
Copies memory from the target process into a caller-provided buffer in the current process. | |
bool | ReadCString (VMAddress address, std::string *string) const |
Reads a NUL -terminated C string from the target process into a string in the current process. | |
bool | ReadCStringSizeLimited (VMAddress address, VMSize size, std::string *string) const |
Reads a NUL -terminated C string from the target process into a string in the current process. | |
Accesses the memory of another Linux process.