use far for exception hook
This commit is contained in:
parent
f0d3cfe9d8
commit
61d2fe06f3
@ -156,7 +156,7 @@ namespace exception
|
||||
auto* set_filter = ntdll.get_proc<void(*)(LPTOP_LEVEL_EXCEPTION_FILTER)>("RtlSetUnhandledExceptionFilter");
|
||||
|
||||
set_filter(exception_filter);
|
||||
utils::hook::jump(set_filter, set_unhandled_exception_filter_stub);
|
||||
utils::hook::jump(set_filter, set_unhandled_exception_filter_stub, true);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user