|
|
@ -250,21 +250,17 @@ namespace vmp2
|
|
|
|
u32 rtn_offset;
|
|
|
|
u32 rtn_offset;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct jcc_data
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
bool has_jcc;
|
|
|
|
|
|
|
|
vm::instrs::jcc_type type;
|
|
|
|
|
|
|
|
std::uint32_t num_block_addrs;
|
|
|
|
|
|
|
|
std::uintptr_t block_addr[ 1 ];
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct code_block_t
|
|
|
|
struct code_block_t
|
|
|
|
{
|
|
|
|
{
|
|
|
|
std::uintptr_t vip_begin;
|
|
|
|
std::uintptr_t vip_begin;
|
|
|
|
std::uintptr_t next_block_offset;
|
|
|
|
std::uintptr_t next_block_offset;
|
|
|
|
jcc_data jcc;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::uint32_t vinstr_count;
|
|
|
|
std::uint32_t vinstr_count;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool has_jcc;
|
|
|
|
|
|
|
|
vm::instrs::jcc_type jcc_type;
|
|
|
|
|
|
|
|
std::uint32_t num_block_addrs;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::uintptr_t branch_addr[ 1 ];
|
|
|
|
vm::instrs::virt_instr_t vinstr[ 1 ];
|
|
|
|
vm::instrs::virt_instr_t vinstr[ 1 ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|