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.
vmemu/include/vmemu_t.hpp

20 lines
379 B

#pragma once
#include <unicorn/unicorn.h>
#include <vmprofiler.hpp>
namespace vm
{
class emu_t
{
public:
explicit emu_t( vm::ctx_t *vm_ctx );
~emu_t();
bool init();
bool get_trace( std::vector< vm::instrs::code_block_t > &code_blocks );
private:
uc_engine *uc_ctx;
vm::ctx_t *vm_ctx;
};
} // namespace vm