From 0e1619b76e3dbf4e9686c74d0b89368d6b2127aa Mon Sep 17 00:00:00 2001 From: xtremegamer1 Date: Thu, 13 Oct 2022 19:04:39 -0600 Subject: [PATCH] Added writedr7 instruction --- include/vminstrs.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/vminstrs.hpp b/include/vminstrs.hpp index f96e0e6..6de4707 100644 --- a/include/vminstrs.hpp +++ b/include/vminstrs.hpp @@ -40,7 +40,8 @@ enum class mnemonic_t : uint8_t { rdtsc, call, jmp, - vmexit + vmexit, + writedr7 }; /// @@ -295,6 +296,7 @@ extern profiler_t nor; extern profiler_t read; extern profiler_t readbzxw; extern profiler_t write; +extern profiler_t writedr7; extern profiler_t imul; extern profiler_t shl; extern profiler_t shld; @@ -307,8 +309,8 @@ extern profiler_t vmexit; /// unsorted vector of profiles... they get sorted once at runtime... /// inline std::vector profiles = { - &vmexit, &shl, &shld, &shr, &shrd, &imul, &nor, &write, &svsp, &read, &readbzxw, - &nand, &lvsp, &add, &jmp, &sreg, &lreg, &lconst, &nop}; + &vmexit, &shl, &shld, &shr, &shrd, &imul, &nor, &write, &svsp, &read, &readbzxw, + &nand, &lvsp, &add, &jmp, &sreg, &lreg, &lconst, &nop, &writedr7}; /// /// no i did not make this by hand, you cannot clown upon me!