updated lflags profile name...

merge-requests/16/merge
_xeroxz 3 years ago
parent 0d37ea8090
commit a4b3817336

@ -12,7 +12,7 @@ namespace vm::handler
enum mnemonic_t enum mnemonic_t
{ {
INVALID, INVALID,
LRFLAGS, LFLAGSQ,
MULQ, MULQ,
DIVQ, DIVQ,
CALL, CALL,
@ -139,7 +139,7 @@ namespace vm::handler
extern vm::handler::profile_t lconstdwsxq; extern vm::handler::profile_t lconstdwsxq;
extern vm::handler::profile_t lconstwsxq; extern vm::handler::profile_t lconstwsxq;
extern vm::handler::profile_t lconstwsxdw; extern vm::handler::profile_t lconstwsxdw;
extern vm::handler::profile_t addq; extern vm::handler::profile_t addq;
extern vm::handler::profile_t adddw; extern vm::handler::profile_t adddw;
extern vm::handler::profile_t addw; extern vm::handler::profile_t addw;
@ -169,7 +169,7 @@ namespace vm::handler
extern vm::handler::profile_t pushvsp; extern vm::handler::profile_t pushvsp;
extern vm::handler::profile_t pushvspdw; 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 call;
extern vm::handler::profile_t mulq; extern vm::handler::profile_t mulq;
extern vm::handler::profile_t divq; extern vm::handler::profile_t divq;
@ -191,6 +191,6 @@ namespace vm::handler
&shlddw, &shlddw,
&shrq, &shrw, &readgsq, &readq, &readdw, &readw, &readb, &mulq, &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 profile
} // namespace vm::handler } // namespace vm::handler

@ -2,12 +2,12 @@
namespace vm::handler::profile namespace vm::handler::profile
{ {
vm::handler::profile_t lrflags = { vm::handler::profile_t lflagsq = {
// PUSH [RBP] // PUSH [RBP]
// ADD RBP, 0x8 // ADD RBP, 0x8
// POPFQ // POPFQ
"LRFLAGS", "LFLAGSQ",
LRFLAGS, LFLAGSQ,
NULL, NULL,
{ { // PUSH [RBP] { { // PUSH [RBP]
[]( const zydis_decoded_instr_t &instr ) -> bool { []( const zydis_decoded_instr_t &instr ) -> bool {

Loading…
Cancel
Save