You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
533 B
16 lines
533 B
#include <vmlifters.hpp>
|
|
|
|
namespace vm::lifters
|
|
{
|
|
lifter_t lregq = {
|
|
// push vregX
|
|
vm::handler::LREGQ, []( vtil::basic_block *blk, vm::instrs::virt_instr_t *vinstr ) {
|
|
blk->push( make_virtual_register( vinstr->operand.imm.u, 8 ) );
|
|
} };
|
|
|
|
lifter_t lregdw = {
|
|
// push vregX
|
|
vm::handler::LREGDW, []( vtil::basic_block *blk, vm::instrs::virt_instr_t *vinstr ) {
|
|
blk->push( make_virtual_register( vinstr->operand.imm.u, 4 ) );
|
|
} };
|
|
} // namespace vm::lifters
|