Home | History | Annotate | Download | only in fuzzer

Lines Matching refs:Thread

24 #include <thread>
41 // handler is the most involved, as it requires resuming the crashed thread in
91 // to allow the exception handling thread to gather the crash state directly.
223 // Once the port is set, we can signal the main thread to continue and wait
240 // At this point, we want to get the state of the crashing thread, but
241 // libFuzzer and the sanitizers assume this will happen from that same thread
242 // via a POSIX signal handler. "Resurrecting" the thread in the middle of the
246 ScopedHandle Thread;
248 ZX_RIGHT_SAME_RIGHTS, &Thread.Handle),
252 ExitOnErr(_zx_thread_read_state(Thread.Handle, ZX_THREAD_STATE_GENERAL_REGS,
256 // To unwind properly, we need to push the crashing thread's register state
280 // Now force the crashing thread's state.
281 ExitOnErr(_zx_thread_write_state(Thread.Handle, ZX_THREAD_STATE_GENERAL_REGS,
285 ExitOnErr(_zx_task_resume_from_exception(Thread.Handle, Port.Handle, 0),
295 std::thread T(AlarmHandler, Options.UnitTimeoutSec / 2 + 1);
301 std::thread T(InterruptHandler);
314 std::thread T(CrashHandler, &Event);