1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Copyright 2032 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.
# Syscalls used in pkg/csource tests.
resource fd0[int32]
bitmask = BIT_0, BIT_1, BIT_0_AND_1
csource0(num int32) fd0
csource1(fd fd0)
csource2(buf ptr[in, array[int8]])
csource3(buf ptr[in, array[const[0, int8], 10]])
csource4(buf ptr[in, array[const[0x30, int8], 10]])
csource5(buf ptr[in, array[const[0x3130, int16], 5]])
csource6(buf ptr[in, array[const[0x3130, int16be], 6]])
csource7(flag flags[bitmask])
csource8(num int64)
|