26 virtual ~Mach() =
default;
30 void *buffer,
size_t length,
size_t *nread =
nullptr);
32 void const *buffer,
size_t length,
33 size_t *nwritten =
nullptr);
37 Architecture::CPUState &state);
39 Architecture::CPUState
const &state);
51 ErrorCode getProcessDylbInfo(ProcessId pid,
Address &address);
52 ErrorCode getProcessMemoryRegion(ProcessId pid,
Address const &address,
56 ErrorCode getThreadInfo(
ProcessThreadId const &tid, thread_basic_info_t info);
58 thread_identifier_info_data_t *threadID);
61 task_t getMachTask(ProcessId pid);