New feature: registers can be bulk saved/restored in an opaque blob
This commit is contained in:
@ -12,6 +12,8 @@
|
||||
#include "uc_priv.h"
|
||||
|
||||
|
||||
const int X86_REGS_STORAGE_SIZE = offsetof(CPUX86State, tlb_table);
|
||||
|
||||
static void x86_set_pc(struct uc_struct *uc, uint64_t address)
|
||||
{
|
||||
((CPUX86State *)uc->current_cpu->env_ptr)->eip = address;
|
||||
|
Reference in New Issue
Block a user