25 ErrorCode attach(
int waitStatus)
override;
28 ErrorCode terminate()
override;
31 ErrorCode suspend()
override;
34 ErrorCode getMemoryRegionInfo(
Address const &address,
38 ErrorCode allocateMemory(
size_t size, uint32_t protection,
39 uint64_t *address)
override;
40 ErrorCode deallocateMemory(uint64_t address,
size_t size)
override;
43 ErrorCode readString(
Address const &address, std::string &str,
size_t length,
44 size_t *count =
nullptr)
override;
45 ErrorCode readMemory(
Address const &address,
void *data,
size_t length,
46 size_t *count =
nullptr)
override;
47 ErrorCode writeMemory(
Address const &address,
void const *data,
size_t length,
48 size_t *count =
nullptr)
override;
51 ErrorCode wait()
override;
57 ErrorCode updateInfo()
override;
58 ErrorCode updateAuxiliaryVector()
override;
62 ErrorCode readCPUState(ThreadId tid, Architecture::CPUState &state,
64 ErrorCode writeCPUState(ThreadId tid, Architecture::CPUState
const &state,
68 ErrorCode afterResume()
override;