VM: signal_fault_pc probably should be set here...
parent
10464e7e4e
commit
2a852915d2
|
@ -195,6 +195,7 @@ LONG factor_vm::exception_handler(PEXCEPTION_RECORD e, void* frame, PCONTEXT c,
|
||||||
switch (e->ExceptionCode) {
|
switch (e->ExceptionCode) {
|
||||||
case EXCEPTION_ACCESS_VIOLATION:
|
case EXCEPTION_ACCESS_VIOLATION:
|
||||||
signal_fault_addr = e->ExceptionInformation[1];
|
signal_fault_addr = e->ExceptionInformation[1];
|
||||||
|
signal_fault_pc = c->EIP;
|
||||||
verify_memory_protection_error(signal_fault_addr);
|
verify_memory_protection_error(signal_fault_addr);
|
||||||
dispatch_signal_handler((cell*)&c->ESP, (cell*)&c->EIP,
|
dispatch_signal_handler((cell*)&c->ESP, (cell*)&c->EIP,
|
||||||
(cell)factor::memory_signal_handler_impl);
|
(cell)factor::memory_signal_handler_impl);
|
||||||
|
|
Loading…
Reference in New Issue