58 void*
xpc = (
void *) _mc->gregs[REG_RIP];
77 void*
xpc = (
void *) _mc->gregs[REG_RIP];
95 void*
xpc = (
void *) _mc->gregs[REG_RIP];
123 pc = (
u1 *) _mc->gregs[REG_RIP];
146 es->
pc = (
u1 *) _mc->gregs[REG_RIP];
147 es->
sp = (
u1 *) _mc->gregs[REG_RSP];
194 es->
fltregs[i] = 0xdeadbeefdeadbeefL;
257 _mc->gregs[REG_RIP] = (
ptrint) es->
pc;
258 _mc->gregs[REG_RSP] = (
ptrint) es->
sp;
void md_signal_handler_sigsegv(int sig, siginfo_t *siginfo, void *_p)
NullPointerException signal handler for hardware null pointer check.
void md_signal_handler_sigill(int sig, siginfo_t *siginfo, void *_p)
Illegal Instruction signal handler for hardware exception checks.
struct sigcontext uc_mcontext
void md_signal_handler_sigfpe(int sig, siginfo_t *siginfo, void *_p)
void md_signal_handler_sigusr2(int sig, siginfo_t *siginfo, void *_p)
void md_executionstate_write(executionstate_t *es, void *context)
void md_executionstate_read(executionstate_t *es, void *context)
void trap_handle(int sig, void *xpc, void *context)
Handles the signal which is generated by trap instructions, caught by a signal handler and calls the ...
uintptr_t intregs[INT_REG_CNT]
double fltregs[FLT_REG_CNT]