| 452 | } |
| 453 | |
| 454 | void popVmContext(Instruction* instruction) |
| 455 | { |
| 456 | emitPopRegister(instruction, ZYDIS_REGISTER_RFLAGS, 64); |
| 457 | emitPopRegister(instruction, ZYDIS_REGISTER_RAX, 64); |
| 458 | emitPopRegister(instruction, ZYDIS_REGISTER_RBX, 64); |
| 459 | emitPopRegister(instruction, ZYDIS_REGISTER_RCX, 64); |
| 460 | emitPopRegister(instruction, ZYDIS_REGISTER_RDX, 64); |
| 461 | emitPopRegister(instruction, ZYDIS_REGISTER_RSI, 64); |
| 462 | emitPopRegister(instruction, ZYDIS_REGISTER_RDI, 64); |
| 463 | emitPopRegister(instruction, ZYDIS_REGISTER_RBP, 64); |
| 464 | emitPopRegister(instruction, ZYDIS_REGISTER_R8, 64); |
| 465 | emitPopRegister(instruction, ZYDIS_REGISTER_R9, 64); |
| 466 | emitPopRegister(instruction, ZYDIS_REGISTER_R10, 64); |
| 467 | emitPopRegister(instruction, ZYDIS_REGISTER_R11, 64); |
| 468 | emitPopRegister(instruction, ZYDIS_REGISTER_R12, 64); |
| 469 | emitPopRegister(instruction, ZYDIS_REGISTER_R13, 64); |
| 470 | emitPopRegister(instruction, ZYDIS_REGISTER_R14, 64); |
| 471 | emitPopRegister(instruction, ZYDIS_REGISTER_R15, 64); |
| 472 | emitPopRegister(instruction, R0, 64); |
| 473 | } |
| 474 | |
| 475 | void pushVmContext(Instruction* instruction) |
| 476 | { |
no test coverage detected