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.
21 lines
372 B
21 lines
372 B
#pragma once
|
|
#include <exception>
|
|
#include <cstdint>
|
|
#include <unicorn/unicorn.h>
|
|
#include <xtils/xtils.hpp>
|
|
|
|
namespace vm
|
|
{
|
|
class emu_t
|
|
{
|
|
public:
|
|
explicit emu_t(std::uint32_t vm_entry_rva,
|
|
std::uintptr_t image_base, std::uintptr_t module_base);
|
|
|
|
~emu_t();
|
|
private:
|
|
std::uintptr_t image_base, module_base;
|
|
std::uint32_t vm_entry_rva;
|
|
uc_engine* uc;
|
|
};
|
|
} |