1# Copyright 2017 syzkaller project authors. All rights reserved. 2# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4include <zircon/syscalls.h> 5include <zircon/syscalls/exception.h> 6 7resource zx_task[zx_handle] 8 9zx_task_resume(task zx_task, options flags[task_resume_options]) 10zx_task_bind_exception_port(task zx_task, eport zx_port, key proc[1000, 4], options flags[exception_port_options]) 11 12# This is disabled until we figure out how to prevent executor from killing fuzzer (#594). 13# zx_task_kill(handle zx_task) 14 15task_resume_options = ZX_RESUME_EXCEPTION, ZX_RESUME_TRY_NEXT 16exception_port_options = ZX_EXCEPTION_PORT_UNBIND_QUIETLY, ZX_EXCEPTION_PORT_DEBUGGER 17