github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/fuchsia/debuglog.txt (about) 1 # Copyright 2022 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://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/vdso/debuglog.fidl 5 6 include <zircon/syscalls.h> 7 8 resource zx_log[zx_handle] 9 10 zx_debuglog_create(resource_ zx_resource, options flags[debuglog_create_options], out ptr[out, zx_log]) 11 zx_debuglog_write(handle zx_log, options const[0], buffer ptr[in, array[int8]], buffer_size len[buffer]) 12 zx_debuglog_read(handle zx_log, options const[0], buffer ptr[out, array[int8]], buffer_size len[buffer]) 13 14 debuglog_create_options = ZX_LOG_FLAG_READABLE