diff --git a/include/vmprofiles.hpp b/include/vmprofiles.hpp index 1492269..ce0d664 100644 --- a/include/vmprofiles.hpp +++ b/include/vmprofiles.hpp @@ -12,7 +12,7 @@ namespace vm::handler enum mnemonic_t { INVALID, - LRFLAGS, + LFLAGSQ, MULQ, DIVQ, CALL, @@ -139,7 +139,7 @@ namespace vm::handler extern vm::handler::profile_t lconstdwsxq; extern vm::handler::profile_t lconstwsxq; extern vm::handler::profile_t lconstwsxdw; - + extern vm::handler::profile_t addq; extern vm::handler::profile_t adddw; extern vm::handler::profile_t addw; @@ -169,7 +169,7 @@ namespace vm::handler extern vm::handler::profile_t pushvsp; extern vm::handler::profile_t pushvspdw; - extern vm::handler::profile_t lrflags; + extern vm::handler::profile_t lflagsq; extern vm::handler::profile_t call; extern vm::handler::profile_t mulq; extern vm::handler::profile_t divq; @@ -191,6 +191,6 @@ namespace vm::handler &shlddw, &shrq, &shrw, &readgsq, &readq, &readdw, &readw, &readb, &mulq, - &pushvsp, &pushvspdw, &divq, &jmp, &lrflags, &vmexit, &call }; + &pushvsp, &pushvspdw, &divq, &jmp, &lflagsq, &vmexit, &call }; } // namespace profile } // namespace vm::handler \ No newline at end of file diff --git a/src/vmprofiles/lflags.cpp b/src/vmprofiles/lflags.cpp index 0c8a523..928ba8a 100644 --- a/src/vmprofiles/lflags.cpp +++ b/src/vmprofiles/lflags.cpp @@ -2,12 +2,12 @@ namespace vm::handler::profile { - vm::handler::profile_t lrflags = { + vm::handler::profile_t lflagsq = { // PUSH [RBP] // ADD RBP, 0x8 // POPFQ - "LRFLAGS", - LRFLAGS, + "LFLAGSQ", + LFLAGSQ, NULL, { { // PUSH [RBP] []( const zydis_decoded_instr_t &instr ) -> bool {