|
|
@ -2,6 +2,7 @@
|
|
|
|
#include <unicorn/unicorn.h>
|
|
|
|
#include <unicorn/unicorn.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include <vmutils.hpp>
|
|
|
|
#include <vmutils.hpp>
|
|
|
|
|
|
|
|
#include <array>
|
|
|
|
|
|
|
|
|
|
|
|
#define VIRTUAL_REGISTER_COUNT 24
|
|
|
|
#define VIRTUAL_REGISTER_COUNT 24
|
|
|
|
#define VIRTUAL_SEH_REGISTER 24
|
|
|
|
#define VIRTUAL_SEH_REGISTER 24
|
|
|
@ -158,6 +159,8 @@ struct vblk_t {
|
|
|
|
std::uintptr_t rip;
|
|
|
|
std::uintptr_t rip;
|
|
|
|
} m_jmp;
|
|
|
|
} m_jmp;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::array<ZydisRegister, 16> vmexit_pop_order;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// vector of virtual instructions for this basic block...
|
|
|
|
/// vector of virtual instructions for this basic block...
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|