<commit_before># Copyright 2017 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

# See https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/vdso/fifo.fidl

include <zircon/syscalls.h>

resource zx_fifo[zx_handle]

zx_fifo_create(elem_count int64, elem_size int64, options int32, out0 ptr[out, zx_fifo], out1 ptr[out, zx_fifo])

zx_fifo_read(handle zx_fifo, elem_size int64, data ptr[out, array[int8]], count len[data], actual_count ptr[out, int64])

zx_fifo_write(handle zx_fifo, elem_size int64, data ptr[out, array[int8]], count len[data], actual_count ptr[out, int64])
<commit_msg>sys/fuchsia: updated fifo syzkaller definitions<commit_after># Copyright 2017 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

# See https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/vdso/fifo.fidl

include <zircon/syscalls.h>

resource zx_fifo[zx_handle]

zx_fifo_create(elem_count int64, elem_size int64, options int32, out0 ptr[out, zx_fifo], out1 ptr[out, zx_fifo])

zx_fifo_read(handle zx_fifo, elem_size int64, data ptr[out, array[int8]], count len[data], actual_count ptr[out, int64])

zx_fifo_write(handle zx_fifo, elem_size int64, data ptr[in, array[int8]], count len[data], actual_count ptr[out, int64])

{'fraction_non_alphanumeric': 0.10518834399431415, 'fraction_numerical': 0.032693674484719264, 'mean_word_length': 6.257731958762887, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5963211', 'n_tokens_mistral': 554, 'n_tokens_neox': 519, 'n_words': 144}