github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/fuchsia/sys.txt (about)

     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  
     4  # See https://fuchsia.googlesource.com/fuchsia/+/master/zircon/docs/syscalls.md
     5  
     6  include <zircon/syscalls.h>
     7  include <ddk/driver.h>
     8  
     9  syz_execute_func(text ptr[in, text[target]]) (disabled)
    10  
    11  # Provided by sysroot (include/ddk/driver.h)
    12  resource zx_root_resource[zx_handle]
    13  get_root_resource() zx_root_resource
    14  
    15  # Used by syzkaller to allocate memory for syscall arguments.
    16  syz_mmap(addr vma, len len[addr])
    17  
    18  # Provided by process runtime (zircon/process.h).
    19  syz_process_self() zx_process
    20  syz_thread_self() zx_thread
    21  syz_vmar_root_self() zx_vmar
    22  syz_job_default() zx_job