| 53 | } |
| 54 | |
| 55 | struct MemoryBuffer* Cursor::QueryMemoryBuffer(GuestAddress address, unsigned __int64 size) { |
| 56 | struct MemoryBuffer* memorybuffer = (struct MemoryBuffer*)malloc(sizeof(struct MemoryBuffer)); |
| 57 | struct TBuffer* buf = (struct TBuffer*)malloc(sizeof(struct TBuffer)); |
| 58 | if (buf == NULL) |
| 59 | return NULL; |
| 60 | buf->size = size; |
| 61 | buf->dst_buffer = (void*)malloc(size); |
| 62 | this->cursor->ICursor->QueryMemoryBuffer(cursor, memorybuffer, address, buf, 0); |
| 63 | return memorybuffer; |
| 64 | } |
| 65 | |
| 66 | struct TTD_Replay_ICursorView_ReplayResult* Cursor::ReplayForward(struct TTD_Replay_ICursorView_ReplayResult* replay_result_out, struct Position* posMax, unsigned __int64 stepCount) { |
| 67 | return this->cursor->ICursor->ReplayForward(cursor, replay_result_out, posMax, stepCount); |
no outgoing calls
no test coverage detected