Various Fixes (windows timeout race & frida options) (#482)

* race fix

* oops

* no backtrace
This commit is contained in:
Dongjia Zhang 2022-01-20 09:32:04 +09:00 committed by GitHub
parent 77e5965e97
commit 5e1c0b96ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -812,13 +812,13 @@ mod windows_exception_handler {
event_mgr.await_restart_safe();
compiler_fence(Ordering::SeqCst);
ExitProcess(1);
LeaveCriticalSection(
(data.critical as *mut RTL_CRITICAL_SECTION)
.as_mut()
.unwrap(),
);
ExitProcess(1);
}
}
compiler_fence(Ordering::SeqCst);

View File

@ -319,7 +319,7 @@ impl Default for FridaOptions {
enable_asan: false,
enable_asan_leak_detection: false,
enable_asan_continue_after_error: false,
enable_asan_allocation_backtraces: true,
enable_asan_allocation_backtraces: false,
asan_max_allocation: 1 << 30,
asan_max_total_allocation: 1 << 32,
asan_max_allocation_panics: false,