| // AUTOGENERATED FILE |
| // +build !codeanalysis |
| // +build !syz_target syz_target,syz_os_openbsd,syz_arch_amd64 |
| |
| package gen |
| |
| import . "github.com/google/syzkaller/prog" |
| import . "github.com/google/syzkaller/sys/openbsd" |
| |
| func init() { |
| RegisterTarget(&Target{OS: "openbsd", Arch: "amd64", Revision: revision_amd64, PtrSize: 8, PageSize: 4096, NumPages: 4096, DataOffset: 536870912, Syscalls: syscalls_amd64, Resources: resources_amd64, Structs: structDescs_amd64, Consts: consts_amd64}, InitTarget) |
| } |
| |
| var resources_amd64 = []*ResourceDesc{ |
| {Name: "fd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "fd_bpf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_bpf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "fd_dir", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_dir"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "fd_diskmap", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_diskmap"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "fd_klog", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_klog"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "fd_kqueue", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_kqueue"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "fd_pci", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_pci"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "fd_speaker", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_speaker"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "fd_tty", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_tty"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "fd_vmm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vmm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "fd_wsdisplay", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_wsdisplay"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "fd_wskbd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_wskbd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "fd_wsmouse", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_wsmouse"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "fd_wsmux", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_wsmux"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "gid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"gid"}, Values: []uint64{0, 18446744073709551615}}, |
| {Name: "ipc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc"}, Values: []uint64{0, 18446744073709551615}}, |
| {Name: "ipc_msq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_msq"}, Values: []uint64{0, 18446744073709551615}}, |
| {Name: "ipc_sem", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_sem"}, Values: []uint64{0, 18446744073709551615}}, |
| {Name: "ipc_shm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_shm"}, Values: []uint64{0, 18446744073709551615}}, |
| {Name: "pid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pid"}, Values: []uint64{0, 18446744073709551615}}, |
| {Name: "shmaddr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"shmaddr"}, Values: []uint64{0}}, |
| {Name: "sock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "sock_in", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "sock_in6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "sock_unix", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_unix"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, |
| {Name: "tcp_seq_num", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"tcp_seq_num"}, Values: []uint64{1094861636}}, |
| {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615}}, |
| } |
| |
| var structDescs_amd64 = []*KeyedStruct{ |
| {Key: StructKey{Name: "bf_insns"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bf_insns", TypeSize: 8}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "code", TypeSize: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "jt", TypeSize: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "jf", TypeSize: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "k", TypeSize: 4}}}, |
| }}}, |
| {Key: StructKey{Name: "bpf_dltlist", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_dltlist", TypeSize: 16, ArgDir: 1}, Fields: []Type{ |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bfl_len", TypeSize: 4, ArgDir: 1}}, Path: []string{"bfl_list"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "bfl_list", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}}, |
| }}}, |
| {Key: StructKey{Name: "bpf_program"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_program", TypeSize: 16}, Fields: []Type{ |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bf_len", TypeSize: 4}}, Path: []string{"bf_insns"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "bf_insns", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "bf_insns"}}}}, |
| }}}, |
| {Key: StructKey{Name: "bpf_stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_stat", TypeSize: 8, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bs_recv", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bs_drop", TypeSize: 4, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "bpf_version", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_version", TypeSize: 4, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "bv_major", TypeSize: 2, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "bv_minor", TypeSize: 2, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "cmsghdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsVarlen: true}, Fields: []Type{ |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cmsg_levels", FldName: "cmsg_level", TypeSize: 4}}, Vals: []uint64{65535, 1}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cmsg_type", TypeSize: 4}}}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, |
| }, AlignAttr: 8}}, |
| {Key: StructKey{Name: "cmsghdr_un"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_un", IsVarlen: true}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "cmsghdr_un_rights"}, FldName: "rights"}, |
| &StructType{Key: StructKey{Name: "cmsghdr_un_cred"}, FldName: "cred"}, |
| }}}, |
| {Key: StructKey{Name: "cmsghdr_un_cred"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_cred", TypeSize: 32}, Fields: []Type{ |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"parent"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 65535}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| }, AlignAttr: 8}}, |
| {Key: StructKey{Name: "cmsghdr_un_rights"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_rights", IsVarlen: true}, Fields: []Type{ |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"parent"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 65535}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fds", IsVarlen: true}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", TypeSize: 4}}}, |
| }, AlignAttr: 8}}, |
| {Key: StructKey{Name: "dk_diskmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dk_diskmap", TypeSize: 16}, Fields: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "device", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dk_diskmap_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true}, |
| }}}, |
| {Key: StructKey{Name: "fd_set", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fd_set", TypeSize: 64, ArgDir: 2}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mask0", TypeSize: 8, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mask1", TypeSize: 8, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mask2", TypeSize: 8, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mask3", TypeSize: 8, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mask4", TypeSize: 8, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mask5", TypeSize: 8, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mask6", TypeSize: 8, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mask7", TypeSize: 8, ArgDir: 2}}}, |
| }}}, |
| {Key: StructKey{Name: "flock"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "flock", TypeSize: 32}, Fields: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flock_type", FldName: "type", TypeSize: 2}}, Vals: []uint64{1, 3, 2}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seek_whence", FldName: "whence", TypeSize: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "start", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "len", TypeSize: 8}}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| }}}, |
| {Key: StructKey{Name: "ifr_ifru", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifr_ifru", ArgDir: 1, IsVarlen: true}, Fields: []Type{ |
| &UnionType{Key: StructKey{Name: "sockaddr_storage", Dir: 1}, FldName: "ifru_addr"}, |
| &UnionType{Key: StructKey{Name: "sockaddr_storage", Dir: 1}, FldName: "ifru_dstaddr"}, |
| &UnionType{Key: StructKey{Name: "sockaddr_storage", Dir: 1}, FldName: "ifru_broadaddr"}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ifru_flags", TypeSize: 2, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ifru_metric", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ifru_vnetid", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ifru_media", TypeSize: 8, ArgDir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ifru_data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ifru_index", TypeSize: 4, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "ifreq", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifreq", ArgDir: 1, IsVarlen: true}, Fields: []Type{ |
| &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "ifr_name", TypeSize: 16, ArgDir: 1}, Kind: 3}, |
| &UnionType{Key: StructKey{Name: "ifr_ifru", Dir: 1}, FldName: "ifr_ifru"}, |
| }}}, |
| {Key: StructKey{Name: "ifreq_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifreq_name", TypeSize: 32}, Fields: []Type{ |
| &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "ifr_name", TypeSize: 3}, Kind: 2, Values: []string{"tap"}, NoZ: true}, |
| &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "tapindex", TypeSize: 1}}, ValuesStart: 48, ValuesPerProc: 1}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "z", TypeSize: 1}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 27}}, IsPad: true}, |
| }}}, |
| {Key: StructKey{Name: "iovec_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec_in", TypeSize: 16}, Fields: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}}, |
| {Key: StructKey{Name: "iovec_out"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec_out", TypeSize: 16}, Fields: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}}, |
| {Key: StructKey{Name: "ipc_perm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipc_perm", TypeSize: 48}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "key", TypeSize: 4}}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "cuid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "cgid", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_mode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "seq", TypeSize: 2}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad0", TypeSize: 2}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 8}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad2", TypeSize: 8}}}, |
| }}}, |
| {Key: StructKey{Name: "itimerval"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "itimerval", TypeSize: 32}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "timeval"}, FldName: "interv"}, |
| &StructType{Key: StructKey{Name: "timeval"}, FldName: "value"}, |
| }}}, |
| {Key: StructKey{Name: "itimerval", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "itimerval", TypeSize: 32, ArgDir: 1}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "interv"}, |
| &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "value"}, |
| }}}, |
| {Key: StructKey{Name: "kevent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kevent", TypeSize: 32}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "kevent_ident"}, FldName: "ident"}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kevent_filter", FldName: "filter", TypeSize: 2}}, Vals: []uint64{18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kevent_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128}, BitMask: true}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kevent_fflags", FldName: "fflags", TypeSize: 4}}, Vals: []uint64{1, 2, 1, 2, 4, 8, 16, 32, 64, 128, 2147483648, 1073741824, 536870912, 4026531840, 1048575, 1, 2, 4, 1}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "data", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "udata", TypeSize: 8}}}, |
| }}}, |
| {Key: StructKey{Name: "kevent_ident"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kevent_ident", TypeSize: 8}, Fields: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ident", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| }}}, |
| {Key: StructKey{Name: "linger"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "linger", TypeSize: 8}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4}}}, |
| }}}, |
| {Key: StructKey{Name: "linger", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "linger", TypeSize: 8, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "mf6cctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mf6cctl", TypeSize: 60}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "mf6cc_origin"}, |
| &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "mf6cc_mcastgrp"}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mf6cc_parent", TypeSize: 2}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "mf6cc_ifset", TypeSize: 32}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, |
| }}}, |
| {Key: StructKey{Name: "mif6ctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mif6ctl", TypeSize: 12}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mif6c_mifi", TypeSize: 2}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mif6c_flags", FldName: "mif6c_flags", TypeSize: 1}}, Vals: []uint64{1}, BitMask: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "vifc_threshold", TypeSize: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mif6c_pifi", TypeSize: 2}}, Kind: 2, RangeBegin: 4, RangeEnd: 65535}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, |
| }}}, |
| {Key: StructKey{Name: "msgbuf"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msgbuf", IsVarlen: true}, Fields: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgbuf_type", FldName: "typ", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3}}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, |
| }}}, |
| {Key: StructKey{Name: "msgbuf", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msgbuf", ArgDir: 1, IsVarlen: true}, Fields: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgbuf_type", FldName: "typ", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3}}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 1, IsVarlen: true}}, |
| }}}, |
| {Key: StructKey{Name: "msghdr_un"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_un", TypeSize: 56}, Fields: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec_in"}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"vec"}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ctrl", TypeSize: 8, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cmsghdr_un"}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "ctrllen", TypeSize: 8}}, BitSize: 8, Path: []string{"ctrl"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 1024}, BitMask: true}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| }}}, |
| {Key: StructKey{Name: "msqid_ds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msqid_ds", TypeSize: 120}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "ipc_perm"}, FldName: "perm"}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "qnum", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "qbytes", TypeSize: 8}}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "lspid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "lrpid", TypeSize: 4}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stime", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "rtime", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ctime", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cbytes", TypeSize: 8}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad0", TypeSize: 8}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 8}}}, |
| }}}, |
| {Key: StructKey{Name: "pci_io"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pci_io", TypeSize: 16}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "pcisel"}, FldName: "pi_sel"}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pi_reg", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pi_width", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pi_data", TypeSize: 4}}}, |
| }}}, |
| {Key: StructKey{Name: "pci_io", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pci_io", TypeSize: 16, ArgDir: 1}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "pcisel", Dir: 1}, FldName: "pi_sel"}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pi_reg", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pi_width", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pi_data", TypeSize: 4, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "pci_rom", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pci_rom", TypeSize: 16, ArgDir: 1}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "pcisel", Dir: 1}, FldName: "pr_sel"}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "pr_romlen", TypeSize: 4, ArgDir: 1}}, Path: []string{"pr_rom"}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "pr_rom", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}}, |
| }}}, |
| {Key: StructKey{Name: "pcisel"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pcisel", TypeSize: 3}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pc_bus", TypeSize: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pc_dev", TypeSize: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pc_func", TypeSize: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "pcisel", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pcisel", TypeSize: 3, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pc_bus", TypeSize: 1, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pc_dev", TypeSize: 1, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pc_func", TypeSize: 1, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "pipefd", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pipefd", TypeSize: 8, ArgDir: 1}, Fields: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "rfd", TypeSize: 4, ArgDir: 1}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "wfd", TypeSize: 4, ArgDir: 1}}, |
| }}}, |
| {Key: StructKey{Name: "pollfd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pollfd", TypeSize: 8}, Fields: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pollfd_events", FldName: "events", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 4, 256}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "revents", TypeSize: 2}}}, |
| }}}, |
| {Key: StructKey{Name: "recv_msghdr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "recv_msghdr", TypeSize: 56, ArgDir: 2}, Fields: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage", Dir: 1}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4, ArgDir: 2}}, Path: []string{"msg_name"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_iov", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec_out"}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_iovlen", TypeSize: 8, ArgDir: 2}}, Path: []string{"msg_iov"}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_controllen", TypeSize: 8, ArgDir: 2}}, Path: []string{"msg_control"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4, ArgDir: 2}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| }}}, |
| {Key: StructKey{Name: "rlimit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rlimit", TypeSize: 16}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "soft", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "hard", TypeSize: 8}}}, |
| }}}, |
| {Key: StructKey{Name: "rlimit", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rlimit", TypeSize: 16, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "soft", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "hard", TypeSize: 8, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "rusage", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rusage", TypeSize: 144, ArgDir: 1}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "utime"}, |
| &StructType{Key: StructKey{Name: "timeval", Dir: 1}, FldName: "stime"}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "maxrss", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ixrss", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "idrss", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "isrss", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "minflt", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "majflt", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "nswap", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "inblock", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "oublock", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "msgsnd", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "msgrcv", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "signals", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "nvcsw", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "nivcsw", TypeSize: 8, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "sembuf"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sembuf", TypeSize: 6}, Fields: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "num", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "op", TypeSize: 2}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "semop_flags", FldName: "flg", TypeSize: 2}}, Vals: []uint64{2048, 4096}, BitMask: true}, |
| }}}, |
| {Key: StructKey{Name: "semid_ds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "semid_ds", TypeSize: 88}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "ipc_perm"}, FldName: "perm"}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "otime", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ctime", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "nsems", TypeSize: 8}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad0", TypeSize: 8}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 8}}}, |
| }}}, |
| {Key: StructKey{Name: "send_msghdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "send_msghdr", TypeSize: 56}, Fields: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Path: []string{"msg_name"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_iov", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec_in"}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_iovlen", TypeSize: 8}}, Path: []string{"msg_iov"}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cmsghdr"}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 8}}, BitSize: 8, Path: []string{"msg_control"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| }}}, |
| {Key: StructKey{Name: "shmid_ds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "shmid_ds", TypeSize: 112}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "ipc_perm"}, FldName: "perm"}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "segsz", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nattch", TypeSize: 2}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "cpid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "lpid", TypeSize: 4}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "atime", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "dtime", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ctime", TypeSize: 8}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused0", TypeSize: 2}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused1", TypeSize: 8}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused2", TypeSize: 8}}}, |
| }}}, |
| {Key: StructKey{Name: "sock_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sock_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd0", TypeSize: 4, ArgDir: 1}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd1", TypeSize: 4, ArgDir: 1}}, |
| }}}, |
| {Key: StructKey{Name: "sockaddr_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_in", TypeSize: 12}, Fields: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 2}, |
| &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "port", TypeSize: 2}, ArgFormat: 1}, ValuesStart: 20000, ValuesPerProc: 4}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 8}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, |
| }}}, |
| {Key: StructKey{Name: "sockaddr_in", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_in", TypeSize: 12, ArgDir: 1}, Fields: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 2}, |
| &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "port", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, ValuesStart: 20000, ValuesPerProc: 4}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 8, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, |
| }}}, |
| {Key: StructKey{Name: "sockaddr_in6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_in6", TypeSize: 12}, Fields: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 24}, |
| &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "port", TypeSize: 2}, ArgFormat: 1}, ValuesStart: 20000, ValuesPerProc: 4}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flow", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "scope", TypeSize: 4}}}, |
| }}}, |
| {Key: StructKey{Name: "sockaddr_in6", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_in6", TypeSize: 12, ArgDir: 1}, Fields: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 24}, |
| &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "port", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, ValuesStart: 20000, ValuesPerProc: 4}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flow", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "scope", TypeSize: 4, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "sockaddr_storage"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", IsVarlen: true}, Fields: []Type{ |
| &UnionType{Key: StructKey{Name: "sockaddr_un"}, FldName: "un"}, |
| &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "in"}, |
| &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, |
| }}}, |
| {Key: StructKey{Name: "sockaddr_storage", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", ArgDir: 1, IsVarlen: true}, Fields: []Type{ |
| &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}, FldName: "un"}, |
| &StructType{Key: StructKey{Name: "sockaddr_in", Dir: 1}, FldName: "in"}, |
| &StructType{Key: StructKey{Name: "sockaddr_in6", Dir: 1}, FldName: "in6"}, |
| }}}, |
| {Key: StructKey{Name: "sockaddr_un"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_un", IsVarlen: true}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "sockaddr_un_file"}, FldName: "file"}, |
| &StructType{Key: StructKey{Name: "sockaddr_un_abstract"}, FldName: "abs"}, |
| }}}, |
| {Key: StructKey{Name: "sockaddr_un", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_un", ArgDir: 1, IsVarlen: true}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "sockaddr_un_file", Dir: 1}, FldName: "file"}, |
| &StructType{Key: StructKey{Name: "sockaddr_un_abstract", Dir: 1}, FldName: "abs"}, |
| }}}, |
| {Key: StructKey{Name: "sockaddr_un_abstract"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_un_abstract", TypeSize: 8}, Fields: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{1, 0}, BitMask: true}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ind", TypeSize: 1}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, |
| &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 4}}, ValuesStart: 20000, ValuesPerProc: 4}, |
| }}}, |
| {Key: StructKey{Name: "sockaddr_un_abstract", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_un_abstract", TypeSize: 8, ArgDir: 1}, Fields: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_family", FldName: "family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 0}, BitMask: true}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ind", TypeSize: 1, ArgDir: 1}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, |
| &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 4, ArgDir: 1}}, ValuesStart: 20000, ValuesPerProc: 4}, |
| }}}, |
| {Key: StructKey{Name: "sockaddr_un_file"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_un_file", IsVarlen: true}, Fields: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{1, 0}, BitMask: true}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "path", IsVarlen: true}, Kind: 3}, |
| }}}, |
| {Key: StructKey{Name: "sockaddr_un_file", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_un_file", ArgDir: 1, IsVarlen: true}, Fields: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_family", FldName: "family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 0}, BitMask: true}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "path", ArgDir: 1, IsVarlen: true}, Kind: 3}, |
| }}}, |
| {Key: StructKey{Name: "stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stat", TypeSize: 112, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "dev", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ino", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mode", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nlink", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "rdev", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "size", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blksize", TypeSize: 4, ArgDir: 1}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "blocks", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "atime", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ansec", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mtime", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mnsec", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ctime", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "cnsec", TypeSize: 8, ArgDir: 1}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 4, ArgDir: 1}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad2", TypeSize: 4, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "tcp_resources", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tcp_resources", TypeSize: 8, ArgDir: 1}, Fields: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "tcp_seq_num", FldName: "seq", TypeSize: 4, ArgDir: 1}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "tcp_seq_num", FldName: "ack", TypeSize: 4, ArgDir: 1}}, |
| }}}, |
| {Key: StructKey{Name: "termios"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "termios", TypeSize: 44}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "iflag", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "oflag", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cflag", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lflag", TypeSize: 4}}}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "cc", TypeSize: 20}, Kind: 1, RangeBegin: 20, RangeEnd: 20}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ispeed", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ospeed", TypeSize: 4}}}, |
| }}}, |
| {Key: StructKey{Name: "termios", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "termios", TypeSize: 44, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "iflag", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "oflag", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cflag", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lflag", TypeSize: 4, ArgDir: 1}}}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "cc", TypeSize: 20, ArgDir: 1}, Kind: 1, RangeBegin: 20, RangeEnd: 20}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ispeed", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ospeed", TypeSize: 4, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "timespec"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "timespec", TypeSize: 16}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "sec", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "nsec", TypeSize: 8}}}, |
| }}}, |
| {Key: StructKey{Name: "timespec", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "timespec", TypeSize: 16, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "sec", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "nsec", TypeSize: 8, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "timeval"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "timeval", TypeSize: 16}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "sec", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "usec", TypeSize: 8}}}, |
| }}}, |
| {Key: StructKey{Name: "timeval", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "timeval", TypeSize: 16, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "sec", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "usec", TypeSize: 8, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "timeval", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "timeval", TypeSize: 16, ArgDir: 2}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "sec", TypeSize: 8, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "usec", TypeSize: 8, ArgDir: 2}}}, |
| }}}, |
| {Key: StructKey{Name: "tone"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tone", TypeSize: 8}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "frequency", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "duration", TypeSize: 4}}}, |
| }}}, |
| {Key: StructKey{Name: "tstamps"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tstamps", TypeSize: 8}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "set", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "clr", TypeSize: 4}}}, |
| }}}, |
| {Key: StructKey{Name: "ucred"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ucred", TypeSize: 12}, Fields: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4}}, |
| }}}, |
| {Key: StructKey{Name: "ucred", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ucred", TypeSize: 12, ArgDir: 1}, Fields: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4, ArgDir: 1}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}}, |
| }}}, |
| {Key: StructKey{Name: "unix_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unix_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd0", TypeSize: 4, ArgDir: 1}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd1", TypeSize: 4, ArgDir: 1}}, |
| }}}, |
| {Key: StructKey{Name: "vcpu_reg_state"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vcpu_reg_state", TypeSize: 568}, Fields: []Type{ |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_gprs", TypeSize: 144}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: 1, RangeBegin: 18, RangeEnd: 18}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_crs", TypeSize: 80}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: 1, RangeBegin: 10, RangeEnd: 10}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_msrs", TypeSize: 56}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_drs", TypeSize: 48}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_sregs", TypeSize: 192}, Type: &StructType{Key: StructKey{Name: "vcpu_segment_info"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, |
| &StructType{Key: StructKey{Name: "vcpu_segment_info"}, FldName: "vrs_gdtr"}, |
| &StructType{Key: StructKey{Name: "vcpu_segment_info"}, FldName: "vrs_idtr"}, |
| }}}, |
| {Key: StructKey{Name: "vcpu_reg_state", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vcpu_reg_state", TypeSize: 568, ArgDir: 1}, Fields: []Type{ |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_gprs", TypeSize: 144, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 18, RangeEnd: 18}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_crs", TypeSize: 80, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 10, RangeEnd: 10}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_msrs", TypeSize: 56, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_drs", TypeSize: 48, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_sregs", TypeSize: 192, ArgDir: 1}, Type: &StructType{Key: StructKey{Name: "vcpu_segment_info", Dir: 1}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, |
| &StructType{Key: StructKey{Name: "vcpu_segment_info", Dir: 1}, FldName: "vrs_gdtr"}, |
| &StructType{Key: StructKey{Name: "vcpu_segment_info", Dir: 1}, FldName: "vrs_idtr"}, |
| }}}, |
| {Key: StructKey{Name: "vcpu_reg_state", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vcpu_reg_state", TypeSize: 568, ArgDir: 2}, Fields: []Type{ |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_gprs", TypeSize: 144, ArgDir: 2}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}, Kind: 1, RangeBegin: 18, RangeEnd: 18}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_crs", TypeSize: 80, ArgDir: 2}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}, Kind: 1, RangeBegin: 10, RangeEnd: 10}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_msrs", TypeSize: 56, ArgDir: 2}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_drs", TypeSize: 48, ArgDir: 2}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vrs_sregs", TypeSize: 192, ArgDir: 2}, Type: &StructType{Key: StructKey{Name: "vcpu_segment_info", Dir: 2}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, |
| &StructType{Key: StructKey{Name: "vcpu_segment_info", Dir: 2}, FldName: "vrs_gdtr"}, |
| &StructType{Key: StructKey{Name: "vcpu_segment_info", Dir: 2}, FldName: "vrs_idtr"}, |
| }}}, |
| {Key: StructKey{Name: "vcpu_segment_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vcpu_segment_info", TypeSize: 24}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "vsi_sel", TypeSize: 2}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vsi_limit", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vsi_ar", TypeSize: 4}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "vsi_base", TypeSize: 8}}}, |
| }}}, |
| {Key: StructKey{Name: "vcpu_segment_info", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vcpu_segment_info", TypeSize: 24, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "vsi_sel", TypeSize: 2, ArgDir: 1}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vsi_limit", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vsi_ar", TypeSize: 4, ArgDir: 1}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "vsi_base", TypeSize: 8, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "vcpu_segment_info", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vcpu_segment_info", TypeSize: 24, ArgDir: 2}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "vsi_sel", TypeSize: 2, ArgDir: 2}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vsi_limit", TypeSize: 4, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vsi_ar", TypeSize: 4, ArgDir: 2}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "vsi_base", TypeSize: 8, ArgDir: 2}}}, |
| }}}, |
| {Key: StructKey{Name: "vm_create_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vm_create_params", TypeSize: 1280}, Fields: []Type{ |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vcp_nmemranges", TypeSize: 8}}, Path: []string{"vcp_memranges"}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "vcp_ncpus", TypeSize: 8}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vcp_ndisks", TypeSize: 8}}, Path: []string{"vcp_disks"}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "vcp_nnics", TypeSize: 8}}}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vcp_memranges", TypeSize: 384}, Type: &StructType{Key: StructKey{Name: "vm_mem_range"}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vcp_disks", TypeSize: 512}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", TypeSize: 128}, Kind: 3}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "vcp_cdrom", TypeSize: 128}, Kind: 3}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "vcp_name", TypeSize: 64}, Kind: 3}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "vcp_kernel", TypeSize: 128}, Kind: 3}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vcp_macs", TypeSize: 24}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", TypeSize: 6}, Kind: 3}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vcp_id", TypeSize: 4}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| }}}, |
| {Key: StructKey{Name: "vm_exit", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vm_exit", TypeSize: 584, ArgDir: 2}, Fields: []Type{ |
| &StructType{Key: StructKey{Name: "vm_exit_inout", Dir: 2}, FldName: "vei"}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &StructType{Key: StructKey{Name: "vcpu_reg_state", Dir: 2}, FldName: "vrs"}, |
| }}}, |
| {Key: StructKey{Name: "vm_exit_inout", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vm_exit_inout", TypeSize: 12, ArgDir: 2}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "vei_size", TypeSize: 1, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "vei_dir", TypeSize: 1, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "vei_rep", TypeSize: 1, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "vei_string", TypeSize: 1, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "vei_encoding", TypeSize: 1, ArgDir: 2}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "vei_port", TypeSize: 2, ArgDir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vei_data", TypeSize: 4, ArgDir: 2}}}, |
| }}}, |
| {Key: StructKey{Name: "vm_info_params", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vm_info_params", TypeSize: 24, ArgDir: 1}, Fields: []Type{ |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vip_size", TypeSize: 8, ArgDir: 1}}, Path: []string{"vip_info"}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "vip_info_ct", TypeSize: 8, ArgDir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vip_info", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| }}}, |
| {Key: StructKey{Name: "vm_intr_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vm_intr_params", TypeSize: 12}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vip_vm_id", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vip_vcpu_id", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "vip_intr", TypeSize: 2}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, |
| }}}, |
| {Key: StructKey{Name: "vm_mem_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vm_mem_range", TypeSize: 24}, Fields: []Type{ |
| &VmaType{TypeCommon: TypeCommon{TypeName: "vma64", FldName: "vmr_gpa", TypeSize: 8}}, |
| &VmaType{TypeCommon: TypeCommon{TypeName: "vma64", FldName: "vmr_va", TypeSize: 8}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "vmr_size", TypeSize: 8}}}, |
| }}}, |
| {Key: StructKey{Name: "vm_resetcpu_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vm_resetcpu_params", TypeSize: 576}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vrp_vm_id", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vrp_vcpu_id", TypeSize: 4}}}, |
| &StructType{Key: StructKey{Name: "vcpu_reg_state"}, FldName: "vrp_init_state"}, |
| }}}, |
| {Key: StructKey{Name: "vm_run_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vm_run_params", TypeSize: 32}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vrp_vm_id", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vrp_vcpu_id", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "vrp_continue", TypeSize: 1}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "vrp_irq", TypeSize: 2}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vrp_exit", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vm_exit", Dir: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "vrp_exit_reason", TypeSize: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "vrp_irqready", TypeSize: 1}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 5}}, IsPad: true}, |
| }}}, |
| {Key: StructKey{Name: "vm_rwregs_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vm_rwregs_params", TypeSize: 584}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vrwp_vm_id", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vrwp_vcpu_id", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "vrwp_mask", TypeSize: 8}}}, |
| &StructType{Key: StructKey{Name: "vcpu_reg_state"}, FldName: "vrwp_regs"}, |
| }}}, |
| {Key: StructKey{Name: "vm_rwregs_params", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vm_rwregs_params", TypeSize: 584, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vrwp_vm_id", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vrwp_vcpu_id", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "vrwp_mask", TypeSize: 8, ArgDir: 1}}}, |
| &StructType{Key: StructKey{Name: "vcpu_reg_state", Dir: 1}, FldName: "vrwp_regs"}, |
| }}}, |
| {Key: StructKey{Name: "vm_terminate_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vm_terminate_params", TypeSize: 4}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vtp_vm_id", TypeSize: 4}}}, |
| }}}, |
| {Key: StructKey{Name: "vt_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vt_mode", TypeSize: 8}, Fields: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vt_mode_flags", FldName: "mode", TypeSize: 1}}, Vals: []uint64{0, 1}, BitMask: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "waitv", TypeSize: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "relsig", TypeSize: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "acqsig", TypeSize: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "frsig", TypeSize: 2}}}, |
| }}}, |
| {Key: StructKey{Name: "vt_mode", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vt_mode", TypeSize: 8, ArgDir: 1}, Fields: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vt_mode_flags", FldName: "mode", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1}, BitMask: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "waitv", TypeSize: 1, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "relsig", TypeSize: 2, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "acqsig", TypeSize: 2, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "frsig", TypeSize: 2, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "vt_stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vt_stat", TypeSize: 6, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "v_active", TypeSize: 2, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "v_signal", TypeSize: 2, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "v_state", TypeSize: 2, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "winsize"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "winsize", TypeSize: 8}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "row", TypeSize: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "col", TypeSize: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xpixel", TypeSize: 2}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ypixel", TypeSize: 2}}}, |
| }}}, |
| {Key: StructKey{Name: "winsize", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "winsize", TypeSize: 8, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "row", TypeSize: 2, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "col", TypeSize: 2, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xpixel", TypeSize: 2, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ypixel", TypeSize: 2, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "wscons_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wscons_event", TypeSize: 24}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "value", TypeSize: 4}}}, |
| &StructType{Key: StructKey{Name: "timespec"}, FldName: "time"}, |
| }}}, |
| {Key: StructKey{Name: "wsdisplay_addscreendata"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsdisplay_addscreendata", TypeSize: 36}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "screentype", TypeSize: 16}, Kind: 3}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "emul", TypeSize: 16}, Kind: 3}, |
| }}}, |
| {Key: StructKey{Name: "wsdisplay_burner"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsdisplay_burner", TypeSize: 12}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "off", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "on", TypeSize: 4}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsdisplay_burner_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, |
| }}}, |
| {Key: StructKey{Name: "wsdisplay_burner", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsdisplay_burner", TypeSize: 12, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "off", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "on", TypeSize: 4, ArgDir: 1}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsdisplay_burner_flags", FldName: "flags", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, |
| }}}, |
| {Key: StructKey{Name: "wsdisplay_delscreendata"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsdisplay_delscreendata", TypeSize: 8}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsdisplay_delscreendata_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true}, |
| }}}, |
| {Key: StructKey{Name: "wsdisplay_emultype"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsdisplay_emultype", TypeSize: 20}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "name", TypeSize: 16}, Kind: 3}, |
| }}}, |
| {Key: StructKey{Name: "wsdisplay_font"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsdisplay_font", TypeSize: 88}, Fields: []Type{ |
| &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "name", TypeSize: 32}, Kind: 3}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "firstchar", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numchars", TypeSize: 4}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsdisplay_font_encoding_flags", FldName: "encoding", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fontwidth", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fontheight", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "stride", TypeSize: 4}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsdisplay_font_order_flags", FldName: "bitorder", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsdisplay_font_order_flags", FldName: "byteorder", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cookie", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}}, |
| }}}, |
| {Key: StructKey{Name: "wsdisplay_font", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsdisplay_font", TypeSize: 88, ArgDir: 1}, Fields: []Type{ |
| &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "name", TypeSize: 32, ArgDir: 1}, Kind: 3}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "firstchar", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numchars", TypeSize: 4, ArgDir: 1}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsdisplay_font_encoding_flags", FldName: "encoding", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1}, BitMask: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fontwidth", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fontheight", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "stride", TypeSize: 4, ArgDir: 1}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsdisplay_font_order_flags", FldName: "bitorder", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsdisplay_font_order_flags", FldName: "byteorder", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cookie", TypeSize: 8, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "wsdisplay_screentype"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsdisplay_screentype", TypeSize: 40}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nidx", TypeSize: 4}}}, |
| &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "name", TypeSize: 16}, Kind: 3}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ncols", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nrows", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fontwidth", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fontheight", TypeSize: 4}}}, |
| }}}, |
| {Key: StructKey{Name: "wsmouse_calibcoord"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsmouse_calibcoord", TypeSize: 16}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rawx", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rawy", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "x", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "y", TypeSize: 4}}}, |
| }}}, |
| {Key: StructKey{Name: "wsmouse_calibcoord", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsmouse_calibcoord", TypeSize: 16, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rawx", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rawy", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "x", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "y", TypeSize: 4, ArgDir: 1}}}, |
| }}}, |
| {Key: StructKey{Name: "wsmouse_calibcoords"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsmouse_calibcoords", TypeSize: 288}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "minx", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "miny", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "maxx", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "maxy", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "swapxy", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resx", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resy", TypeSize: 4}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "samplelen", TypeSize: 4}}, Path: []string{"samples"}}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "samples", TypeSize: 256}, Type: &StructType{Key: StructKey{Name: "wsmouse_calibcoord"}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, |
| }}}, |
| {Key: StructKey{Name: "wsmouse_calibcoords", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsmouse_calibcoords", TypeSize: 288, ArgDir: 1}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "minx", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "miny", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "maxx", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "maxy", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "swapxy", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resx", TypeSize: 4, ArgDir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resy", TypeSize: 4, ArgDir: 1}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "samplelen", TypeSize: 4, ArgDir: 1}}, Path: []string{"samples"}}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "samples", TypeSize: 256, ArgDir: 1}, Type: &StructType{Key: StructKey{Name: "wsmouse_calibcoord", Dir: 1}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, |
| }}}, |
| {Key: StructKey{Name: "wsmouse_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsmouse_mode", TypeSize: 4}, Fields: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsmouse_mode_flags", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}, |
| }}}, |
| {Key: StructKey{Name: "wsmouse_param"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsmouse_param", TypeSize: 8}, Fields: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsmousecfg_flags", FldName: "key", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 32, 33, 34, 35, 36, 37, 38, 64, 65, 66, 67, 68, 69, 70, 71, 72, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 256, 257}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "value", TypeSize: 4}}}, |
| }}}, |
| {Key: StructKey{Name: "wsmouse_parameters"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsmouse_parameters", TypeSize: 16}, Fields: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "params", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "wsmouse_param"}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nparams", TypeSize: 4}}, Path: []string{"params"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| }}}, |
| {Key: StructKey{Name: "wsmouse_parameters", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsmouse_parameters", TypeSize: 16, ArgDir: 1}, Fields: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "params", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "wsmouse_param"}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nparams", TypeSize: 4, ArgDir: 1}}, Path: []string{"params"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, |
| }}}, |
| {Key: StructKey{Name: "wsmux_device"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsmux_device", TypeSize: 8}, Fields: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsmux_device_flags", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, |
| }}}, |
| {Key: StructKey{Name: "wsmux_device_list"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wsmux_device_list", TypeSize: 260}, Fields: []Type{ |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ndevices", TypeSize: 4}}}, |
| &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "devices", TypeSize: 256}, Type: &StructType{Key: StructKey{Name: "wsmux_device"}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, |
| }}}, |
| } |
| |
| var syscalls_amd64 = []*Syscall{ |
| {NR: 30, Name: "accept", CallName: "accept", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 30, Name: "accept$inet", CallName: "accept", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 30, Name: "accept$inet6", CallName: "accept", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in6", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 30, Name: "accept$unix", CallName: "accept", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 51, Name: "acct", CallName: "acct", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| }}, |
| {NR: 104, Name: "bind", CallName: "bind", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 104, Name: "bind$inet", CallName: "bind", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 104, Name: "bind$inet6", CallName: "bind", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in6"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 104, Name: "bind$unix", CallName: "bind", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 12, Name: "chdir", CallName: "chdir", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dir", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| }}, |
| {NR: 34, Name: "chflags", CallName: "chflags", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "chflags_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 65536, 131072, 262144}, BitMask: true}, |
| }}, |
| {NR: 107, Name: "chflagsat", CallName: "chflagsat", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dirfd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "chflags_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 65536, 131072, 262144}, BitMask: true}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "chflagsat_flags", FldName: "atflags", TypeSize: 8}}, Vals: []uint64{2}, BitMask: true}, |
| }}, |
| {NR: 15, Name: "chmod", CallName: "chmod", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| }}, |
| {NR: 16, Name: "chown", CallName: "chown", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4}}, |
| }}, |
| {NR: 61, Name: "chroot", CallName: "chroot", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dir", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| }}, |
| {NR: 89, Name: "clock_getres", CallName: "clock_getres", Args: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "clock_id", FldName: "id", TypeSize: 8}}, Vals: []uint64{0, 3, 2, 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "tp", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec", Dir: 1}}}, |
| }}, |
| {NR: 87, Name: "clock_gettime", CallName: "clock_gettime", Args: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "clock_id", FldName: "id", TypeSize: 8}}, Vals: []uint64{0, 3, 2, 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "tp", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec", Dir: 1}}}, |
| }}, |
| {NR: 88, Name: "clock_settime", CallName: "clock_settime", Args: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "clock_id", FldName: "id", TypeSize: 8}}, Vals: []uint64{0, 3, 2, 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "tp", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec"}}}, |
| }}, |
| {NR: 6, Name: "close", CallName: "close", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| }}, |
| {NR: 98, Name: "connect", CallName: "connect", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 98, Name: "connect$inet", CallName: "connect", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 98, Name: "connect$inet6", CallName: "connect", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in6"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 98, Name: "connect$unix", CallName: "connect", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 41, Name: "dup", CallName: "dup", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "oldfd", TypeSize: 4}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 90, Name: "dup2", CallName: "dup2", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "oldfd", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "newfd", TypeSize: 4}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 59, Name: "execve", CallName: "execve", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "argv", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "envp", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}}}, |
| }}, |
| {NR: 313, Name: "faccessat", CallName: "faccessat", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dirfd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "pathname", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "faccessat_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2}, BitMask: true}, |
| }}, |
| {NR: 13, Name: "fchdir", CallName: "fchdir", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| }}, |
| {NR: 35, Name: "fchflags", CallName: "fchflags", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "chflags_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 65536, 131072, 262144}, BitMask: true}, |
| }}, |
| {NR: 124, Name: "fchmod", CallName: "fchmod", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| }}, |
| {NR: 314, Name: "fchmodat", CallName: "fchmodat", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dirfd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "at_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2, 4}, BitMask: true}, |
| }}, |
| {NR: 123, Name: "fchown", CallName: "fchown", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4}}, |
| }}, |
| {NR: 315, Name: "fchownat", CallName: "fchownat", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dirfd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "at_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2, 4}, BitMask: true}, |
| }}, |
| {NR: 92, Name: "fcntl$dupfd", CallName: "fcntl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fcntl_dupfd", FldName: "cmd", TypeSize: 8}}, Vals: []uint64{0, 10}, BitMask: true}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "arg", TypeSize: 4}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 92, Name: "fcntl$getflags", CallName: "fcntl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fcntl_getflags", FldName: "cmd", TypeSize: 8}}, Vals: []uint64{1, 3}}, |
| }}, |
| {NR: 92, Name: "fcntl$getown", CallName: "fcntl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 5}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 92, Name: "fcntl$lock", CallName: "fcntl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fcntl_lock", FldName: "cmd", TypeSize: 8}}, Vals: []uint64{8, 9, 7}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "lock", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "flock"}}}, |
| }}, |
| {NR: 92, Name: "fcntl$setflags", CallName: "fcntl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fcntl_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, |
| }}, |
| {NR: 92, Name: "fcntl$setown", CallName: "fcntl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 6}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, |
| }}, |
| {NR: 92, Name: "fcntl$setstatus", CallName: "fcntl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 4}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fcntl_status", FldName: "flags", TypeSize: 8}}, Vals: []uint64{8, 64, 4, 128, 128}}, |
| }}, |
| {NR: 131, Name: "flock", CallName: "flock", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flock_op", FldName: "op", TypeSize: 8}}, Vals: []uint64{1, 2, 8, 4}, BitMask: true}, |
| }}, |
| {NR: 95, Name: "fsync", CallName: "fsync", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| }}, |
| {NR: 201, Name: "ftruncate", CallName: "ftruncate", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "len", TypeSize: 8}}}, |
| }}, |
| {NR: 99, Name: "getdents", CallName: "getdents", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ent", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "count", TypeSize: 8}}, Path: []string{"ent"}}, |
| }}, |
| {NR: 43, Name: "getegid", CallName: "getegid", Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 25, Name: "geteuid", CallName: "geteuid", Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 47, Name: "getgid", CallName: "getgid", Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 79, Name: "getgroups", CallName: "getgroups", Args: []Type{ |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"list"}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "list", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 2, IsVarlen: true}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", TypeSize: 4, ArgDir: 2}}}}, |
| }}, |
| {NR: 70, Name: "getitimer", CallName: "getitimer", Args: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "getitimer_which", FldName: "which", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "cur", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "itimerval", Dir: 1}}}, |
| }}, |
| {NR: 31, Name: "getpeername", CallName: "getpeername", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, |
| }}, |
| {NR: 31, Name: "getpeername$inet", CallName: "getpeername", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, |
| }}, |
| {NR: 31, Name: "getpeername$inet6", CallName: "getpeername", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in6", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, |
| }}, |
| {NR: 31, Name: "getpeername$unix", CallName: "getpeername", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, |
| }}, |
| {NR: 207, Name: "getpgid", CallName: "getpgid", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 81, Name: "getpgrp", CallName: "getpgrp", Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 20, Name: "getpid", CallName: "getpid", Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 39, Name: "getppid", CallName: "getppid", Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 194, Name: "getrlimit", CallName: "getrlimit", Args: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rlimit_type", FldName: "res", TypeSize: 8}}, Vals: []uint64{4, 0, 2, 1, 6, 8, 7, 5, 3, 3}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "rlim", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rlimit", Dir: 1}}}, |
| }}, |
| {NR: 19, Name: "getrusage", CallName: "getrusage", Args: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rusage_who", FldName: "who", TypeSize: 8}}, Vals: []uint64{0, 18446744073709551615}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "usage", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rusage", Dir: 1}}}, |
| }}, |
| {NR: 32, Name: "getsockname", CallName: "getsockname", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, |
| }}, |
| {NR: 32, Name: "getsockname$inet", CallName: "getsockname", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, |
| }}, |
| {NR: 32, Name: "getsockname$inet6", CallName: "getsockname", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in6", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, |
| }}, |
| {NR: 32, Name: "getsockname$unix", CallName: "getsockname", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, |
| }}, |
| {NR: 118, Name: "getsockopt", CallName: "getsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "level", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optname", TypeSize: 4}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"optval"}}}, |
| }}, |
| {NR: 118, Name: "getsockopt$SO_PEERCRED", CallName: "getsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 65535}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 4130}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ucred", Dir: 1}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, |
| }}, |
| {NR: 118, Name: "getsockopt$inet_opts", CallName: "getsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_ip_opts", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"optval"}}}, |
| }}, |
| {NR: 118, Name: "getsockopt$sock_cred", CallName: "getsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 65535}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 4130}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ucred", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"optval"}}}, |
| }}, |
| {NR: 118, Name: "getsockopt$sock_int", CallName: "getsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 65535}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 4, 512, 8, 16, 128, 32, 256, 4097, 4098, 4099, 4100, 2048, 4104, 4103}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"optval"}}}, |
| }}, |
| {NR: 118, Name: "getsockopt$sock_linger", CallName: "getsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 65535}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 128}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "linger", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"optval"}}}, |
| }}, |
| {NR: 118, Name: "getsockopt$sock_timeval", CallName: "getsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 65535}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_timeval", FldName: "optname", TypeSize: 8}}, Vals: []uint64{4102, 4101}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timeval", Dir: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"optval"}}}, |
| }}, |
| {NR: 24, Name: "getuid", CallName: "getuid", Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 54, Name: "ioctl$BIOCFLUSH", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536887912}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCGBLEN", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074020966}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCGDIRFILT", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074020988}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCGDLTLIST", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222291067}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "bpf_dltlist", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCGETIF", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1075855979}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCGFILDROP", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074020984}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCGHDRCMPLT", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074020980}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCGRSIG", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074020979}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCGRTIMEOUT", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074807406}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timeval", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCGSTATS", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074283119}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "bpf_stat", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCIMMEDIATE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147762800}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCLOCK", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536887926}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCPROMISC", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536887913}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCSBLEN", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3221504614}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCSDIRFILT", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147762813}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCSDLT", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147762810}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCSETF", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148549223}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "bpf_program"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCSETIF", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149597804}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_name"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCSETWF", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148549239}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "bpf_program"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCSFILDROP", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147762809}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCSHDRCMPLT", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147762805}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCSRSIG", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147762802}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCSRTIMEOUT", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148549229}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timeval"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$BIOCVERSION", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074020977}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "bpf_version", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$DIOCMAP", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_diskmap", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222299767}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "dk_diskmap"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$FIOASYNC", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147772029}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$FIOGETOWN", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074030203}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$FIONBIO", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147772030}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$FIONREAD", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074030207}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$FIOSETOWN", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147772028}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$KDDISABIO", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536890173}, |
| }}, |
| {NR: 54, Name: "ioctl$KDENABIO", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536890172}, |
| }}, |
| {NR: 54, Name: "ioctl$KDGETLED", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074023233}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kd_getled_flags", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}}, |
| }}, |
| {NR: 54, Name: "ioctl$KDGKBMODE", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074023174}, |
| }}, |
| {NR: 54, Name: "ioctl$KDMKTONE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536890120}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$KDSETLED", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536890178}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kd_setled_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4}, BitMask: true}}, |
| }}, |
| {NR: 54, Name: "ioctl$KDSETMODE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536890122}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kd_mode_flags", TypeSize: 4}}, Vals: []uint64{1, 0}, BitMask: true}}, |
| }}, |
| {NR: 54, Name: "ioctl$KDSETRAD", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536890179}, |
| }}, |
| {NR: 54, Name: "ioctl$LIOCSFD", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_klog", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147773567}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", TypeSize: 4}}}, |
| }}, |
| {NR: 54, Name: "ioctl$PCIOCGETROM", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_pci", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222302725}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "pci_rom", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$PCIOCREAD", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_pci", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222302722}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "pci_io", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$PCIOCWRITE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_pci", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222302723}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "pci_io"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$SPKRTONE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_diskmap", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148029185}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tone"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$SPKRTUNE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_diskmap", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536892162}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tone"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCCBRK", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900730}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCCDTR", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900728}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCCHKVERAUTH", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900638}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCCLRVERAUTH", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900637}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCCONS", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775586}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCDRAIN", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900702}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCEXCL", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900621}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCFLUSH", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775504}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCGETA", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1076655123}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "termios", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCGETD", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033690}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCGFLAGS", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033757}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCGTSTAMP", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074820187}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timeval", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCGWINSZ", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074295912}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "winsize", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCMBIC", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775595}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCMBIS", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775596}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCMGET", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033770}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCMSET", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775597}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCNOTTY", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900721}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCNXCL", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900622}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCOUTQ", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033779}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSBRK", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900731}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSCTTY", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900705}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSDTR", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900729}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSETA", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2150396948}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "termios"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSETAF", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2150396950}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "termios"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSETAW", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2150396949}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "termios"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSETD", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775515}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSETVERAUTH", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSFLAGS", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775580}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSPGRP", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033783}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSTART", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900718}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSTAT", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900709}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSTOP", CallName: "ioctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900719}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSTSTAMP", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148037722}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tstamps"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$TIOCSWINSZ", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148037735}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "winsize"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VMM_IOC_CREATE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vmm", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3305133569}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vm_create_params"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VMM_IOC_INFO", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vmm", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222820355}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vm_info_params", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VMM_IOC_INTR", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vmm", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148292102}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vm_intr_params"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VMM_IOC_READREGS", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vmm", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3259520519}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vm_rwregs_params", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VMM_IOC_RESETCPU", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vmm", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2185254405}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vm_resetcpu_params"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VMM_IOC_RUN", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vmm", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223344642}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vm_run_params"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VMM_IOC_TERM", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vmm", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147767812}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vm_terminate_params"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VMM_IOC_WRITEREGS", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vmm", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2185778696}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vm_rwregs_params"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VT_ACTIVATE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536901125}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VT_GETACTIVE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074034183}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VT_GETMODE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074296323}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vt_mode", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VT_GETSTATE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074165348}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vt_stat", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VT_OPENQRY", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074034177}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VT_RELDISP", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536901124}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vt_reldisp_flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true}}, |
| }}, |
| {NR: 54, Name: "ioctl$VT_SETMODE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148038146}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vt_mode"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$VT_WAITACTIVE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536901126}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_ADDSCREEN", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149865299}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsdisplay_addscreendata"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_DELFONT", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2153273167}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsdisplay_font"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_DELSCREEN", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148030292}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsdisplay_delscreendata"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_GBURNER", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074550610}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsdisplay_burner", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_GETEMULTYPE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222558558}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsdisplay_emultype"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_GETSCREEN", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223607125}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsdisplay_addscreendata"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_GETSCREENTYPE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223869277}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsdisplay_screentype"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_GMODE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074026315}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_GVIDEO", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074026308}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_LDFONT", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2153273165}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsdisplay_font"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_LSFONT", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3227014990}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsdisplay_font", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_SBURNER", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148292433}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsdisplay_burner"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_SETSCREEN", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147768150}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_SMODE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147768140}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsdisplay_mode_flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2}, BitMask: true}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_SVIDEO", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147768133}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wsdisplay_svideo_flags", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_USEFONT", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2153273168}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsdisplay_font"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSDISPLAYIO_WSMOUSED", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149078872}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wscons_event"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSKBDIO_GETMODE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074026260}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSKBDIO_SETMODE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147768083}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wskbd_mode_flags", TypeSize: 4}}, Vals: []uint64{1}, BitMask: true}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSMOUSEIO_GCALIBCOORDS", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsmouse", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1092638501}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsmouse_calibcoords", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSMOUSEIO_GETPARAMS", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsmouse", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148554535}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsmouse_parameters", Dir: 1}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSMOUSEIO_GTYPE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsmouse", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074026272}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSMOUSEIO_SCALIBCOORDS", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsmouse", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2166380324}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsmouse_calibcoords"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSMOUSEIO_SETMODE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsmouse", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147768102}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsmouse_mode"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSMOUSEIO_SETPARAMS", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsmouse", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148554536}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsmouse_parameters"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSMOUSEIO_SRES", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsmouse", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147768097}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSMUXIO_ADD_DEVICE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148030305}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsmux_device"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSMUXIO_INJECTEVENT", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2149078880}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wscons_event"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSMUXIO_LIST_DEVICES", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3238287203}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsmux_device_list"}}}, |
| }}, |
| {NR: 54, Name: "ioctl$WSMUXIO_REMOVE_DEVICE", CallName: "ioctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148030306}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "wsmux_device"}}}, |
| }}, |
| {NR: 72, Name: "kevent", CallName: "kevent", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kqueue", FldName: "kd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "changelist", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kevent"}}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nchanges", TypeSize: 4}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "eventlist", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kevent"}}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nevents", TypeSize: 4}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec"}}}, |
| }}, |
| {NR: 269, Name: "kqueue", CallName: "kqueue", Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kqueue", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 45, Name: "ktrace", CallName: "ktrace", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "tracefile", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ktrace_op_flags", FldName: "ops", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 4}, BitMask: true}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ktrace_trace_flags", FldName: "trpoints", TypeSize: 8}}, Vals: []uint64{2, 4, 8, 16, 32, 256, 512, 1024, 2048, 4096, 1073741824}, BitMask: true}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, |
| }}, |
| {NR: 254, Name: "lchown", CallName: "lchown", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4}}, |
| }}, |
| {NR: 9, Name: "link", CallName: "link", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "old", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "new", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| }}, |
| {NR: 317, Name: "linkat", CallName: "linkat", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "oldfd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "old", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "newfd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "new", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "linkat_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4}, BitMask: true}, |
| }}, |
| {NR: 106, Name: "listen", CallName: "listen", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, |
| }}, |
| {NR: 199, Name: "lseek", CallName: "lseek", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "offset", TypeSize: 8}}, Kind: 1}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seek_whence", FldName: "whence", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}, |
| }}, |
| {NR: 40, Name: "lstat", CallName: "lstat", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}}, |
| }}, |
| {NR: 75, Name: "madvise", CallName: "madvise", Args: []Type{ |
| &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "madvise_flags", FldName: "advice", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6}}, |
| }}, |
| {NR: 250, Name: "minherit", CallName: "minherit", Args: []Type{ |
| &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "inherit_flags", FldName: "inherit", TypeSize: 8}}, Vals: []uint64{2, 1, 0, 3}}, |
| }}, |
| {NR: 136, Name: "mkdir", CallName: "mkdir", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| }}, |
| {NR: 318, Name: "mkdirat", CallName: "mkdirat", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| }}, |
| {NR: 14, Name: "mknod", CallName: "mknod", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mknod_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{61440, 32768, 8192, 24576, 4096, 49152, 256, 128, 64, 32, 16, 8, 4, 2, 1}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dev", TypeSize: 4}}}, |
| }}, |
| {NR: 14, Name: "mknod$loop", CallName: "mknod", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mknod_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{61440, 32768, 8192, 24576, 4096, 49152, 256, 128, 64, 32, 16, 8, 4, 2, 1}}, |
| &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "dev", TypeSize: 8}}, ValuesStart: 1792, ValuesPerProc: 2}, |
| }}, |
| {NR: 320, Name: "mknodat", CallName: "mknodat", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dirfd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mknod_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{61440, 32768, 8192, 24576, 4096, 49152, 256, 128, 64, 32, 16, 8, 4, 2, 1}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dev", TypeSize: 4}}}, |
| }}, |
| {NR: 203, Name: "mlock", CallName: "mlock", Args: []Type{ |
| &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 271, Name: "mlockall", CallName: "mlockall", Args: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlockall_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2}, BitMask: true}, |
| }}, |
| {NR: 197, Name: "mmap", CallName: "mmap", Args: []Type{ |
| &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mmap_prot", FldName: "prot", TypeSize: 8}}, Vals: []uint64{4, 1, 2, 0}, BitMask: true}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mmap_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 16, 4096, 16384, 8192, 2048}, BitMask: true}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "offset", TypeSize: 8}}, Kind: 1}, |
| }}, |
| {NR: 74, Name: "mprotect", CallName: "mprotect", Args: []Type{ |
| &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mmap_prot", FldName: "prot", TypeSize: 8}}, Vals: []uint64{4, 1, 2, 0}, BitMask: true}, |
| }}, |
| {NR: 297, Name: "msgctl$IPC_RMID", CallName: "msgctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}}, |
| }}, |
| {NR: 297, Name: "msgctl$IPC_SET", CallName: "msgctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msqid_ds"}}}, |
| }}, |
| {NR: 297, Name: "msgctl$IPC_STAT", CallName: "msgctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| }}, |
| {NR: 225, Name: "msgget", CallName: "msgget", Args: []Type{ |
| &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 8}}, ValuesStart: 2039379027, ValuesPerProc: 4}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 225, Name: "msgget$private", CallName: "msgget", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 227, Name: "msgrcv", CallName: "msgrcv", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msgp", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msgbuf", Dir: 1}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "sz", TypeSize: 8}}, Path: []string{"msgp"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgbuf_type", FldName: "typ", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgrcv_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2048, 4096}, BitMask: true}, |
| }}, |
| {NR: 226, Name: "msgsnd", CallName: "msgsnd", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msgp", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msgbuf"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "sz", TypeSize: 8}}, Path: []string{"msgp"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgsnd_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2048}, BitMask: true}, |
| }}, |
| {NR: 204, Name: "munlock", CallName: "munlock", Args: []Type{ |
| &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 272, Name: "munlockall", CallName: "munlockall"}, |
| {NR: 73, Name: "munmap", CallName: "munmap", Args: []Type{ |
| &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 91, Name: "nanosleep", CallName: "nanosleep", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "req", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec"}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "rem", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "timespec", Dir: 1}}}, |
| }}, |
| {NR: 5, Name: "open", CallName: "open", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 5, Name: "open$dir", CallName: "open", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat", CallName: "openat", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$bpf", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/bpf\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$diskmap", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 13}, Kind: 2, Values: []string{"/dev/diskmap\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_diskmap", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$klog", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/klog\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_klog", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$null", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/null\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$pci", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/pci\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_pci", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$speaker", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 13}, Kind: 2, Values: []string{"/dev/speaker\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_speaker", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$tty", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/tty\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$vmm", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/vmm\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vmm", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$wsdisplay", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 13}, Kind: 2, Values: []string{"/dev/ttyCcfg\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsdisplay", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$wskbd", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 12}, Kind: 2, Values: []string{"/dev/wskbd0\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wskbd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$wsmouse", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 14}, Kind: 2, Values: []string{"/dev/wsmouse0\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsmouse", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$wsmuxkbd", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 11}, Kind: 2, Values: []string{"/dev/wskbd\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsmux", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$wsmuxmouse", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 13}, Kind: 2, Values: []string{"/dev/wsmouse\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_wsmux", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 321, Name: "openat$zero", CallName: "openat", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 10}, Kind: 2, Values: []string{"/dev/zero\x00"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 512, 1024, 2048, 16, 32, 256, 65536, 128, 128, 128, 32768, 131072, 64}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 263, Name: "pipe", CallName: "pipe", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "pipefd", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "pipefd", Dir: 1}}}, |
| }}, |
| {NR: 101, Name: "pipe2", CallName: "pipe2", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "pipefd", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "pipefd", Dir: 1}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pipe_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4, 65536}, BitMask: true}, |
| }}, |
| {NR: 108, Name: "pledge", CallName: "pledge", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "promises", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "execpromises", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, |
| }}, |
| {NR: 252, Name: "poll", CallName: "poll", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "pollfd"}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nfds", TypeSize: 8}}, Path: []string{"fds"}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout", TypeSize: 4}}}, |
| }}, |
| {NR: 173, Name: "pread", CallName: "pread", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nbyte", TypeSize: 8}}, Path: []string{"buf"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "off", TypeSize: 8}}, Kind: 1}, |
| }}, |
| {NR: 267, Name: "preadv", CallName: "preadv", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec_out"}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"vec"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "off", TypeSize: 8}}, Kind: 1}, |
| }}, |
| {NR: 174, Name: "pwrite", CallName: "pwrite", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nbyte", TypeSize: 8}}, Path: []string{"buf"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "off", TypeSize: 8}}, Kind: 1}, |
| }}, |
| {NR: 268, Name: "pwritev", CallName: "pwritev", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec_in"}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"vec"}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "off", TypeSize: 8}}, Kind: 1}, |
| }}, |
| {NR: 3, Name: "read", CallName: "read", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "count", TypeSize: 8}}, Path: []string{"buf"}}, |
| }}, |
| {NR: 58, Name: "readlink", CallName: "readlink", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "siz", TypeSize: 8}}, Path: []string{"buf"}}, |
| }}, |
| {NR: 322, Name: "readlinkat", CallName: "readlinkat", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "siz", TypeSize: 8}}, Path: []string{"buf"}}, |
| }}, |
| {NR: 120, Name: "readv", CallName: "readv", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec_out"}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"vec"}}, |
| }}, |
| {NR: 29, Name: "recvfrom", CallName: "recvfrom", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"buf"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 1, 2, 64}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 29, Name: "recvfrom$inet", CallName: "recvfrom", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"buf"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 1, 2, 64}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 29, Name: "recvfrom$inet6", CallName: "recvfrom", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"buf"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 1, 2, 64}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in6"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 29, Name: "recvfrom$unix", CallName: "recvfrom", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"buf"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 1, 2, 64}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 27, Name: "recvmsg", CallName: "recvmsg", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "recv_msghdr", Dir: 2}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 1, 2, 64}, BitMask: true}, |
| }}, |
| {NR: 128, Name: "rename", CallName: "rename", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "old", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "new", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| }}, |
| {NR: 323, Name: "renameat", CallName: "renameat", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "oldfd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "old", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "newfd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "new", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| }}, |
| {NR: 137, Name: "rmdir", CallName: "rmdir", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| }}, |
| {NR: 71, Name: "select", CallName: "select", Args: []Type{ |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "n", TypeSize: 8}}, Path: []string{"inp"}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "inp", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fd_set", Dir: 2}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "outp", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fd_set", Dir: 2}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "exp", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fd_set", Dir: 2}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "tvp", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timeval", Dir: 2}}}, |
| }}, |
| {NR: 295, Name: "semctl$GETALL", CallName: "semctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 6}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| }}, |
| {NR: 295, Name: "semctl$GETNCNT", CallName: "semctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| }}, |
| {NR: 295, Name: "semctl$GETPID", CallName: "semctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 4}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| }}, |
| {NR: 295, Name: "semctl$GETVAL", CallName: "semctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 5}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| }}, |
| {NR: 295, Name: "semctl$GETZCNT", CallName: "semctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 7}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| }}, |
| {NR: 295, Name: "semctl$IPC_RMID", CallName: "semctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}}, |
| }}, |
| {NR: 295, Name: "semctl$IPC_SET", CallName: "semctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "semid_ds"}}}, |
| }}, |
| {NR: 295, Name: "semctl$IPC_STAT", CallName: "semctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| }}, |
| {NR: 295, Name: "semctl$SETALL", CallName: "semctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 9}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}}}, |
| }}, |
| {NR: 295, Name: "semctl$SETVAL", CallName: "semctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 8}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| }}, |
| {NR: 221, Name: "semget", CallName: "semget", Args: []Type{ |
| &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 8}}, ValuesStart: 2039359027, ValuesPerProc: 4}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "nsems", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "semget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 221, Name: "semget$private", CallName: "semget", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "nsems", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "semget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 290, Name: "semop", CallName: "semop", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ops", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "sembuf"}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nops", TypeSize: 8}}, Path: []string{"ops"}}, |
| }}, |
| {NR: 28, Name: "sendmsg", CallName: "sendmsg", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "send_msghdr"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 1024}, BitMask: true}, |
| }}, |
| {NR: 28, Name: "sendmsg$unix", CallName: "sendmsg", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_un"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 1024}, BitMask: true}, |
| }}, |
| {NR: 112, Name: "sendsyslog", CallName: "sendsyslog", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"msg"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "log_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, |
| }}, |
| {NR: 133, Name: "sendto", CallName: "sendto", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"buf"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 1024}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 133, Name: "sendto$inet", CallName: "sendto", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"buf"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 1024}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 133, Name: "sendto$inet6", CallName: "sendto", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"buf"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 1024}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in6"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 133, Name: "sendto$unix", CallName: "sendto", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"buf"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 1024}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, |
| }}, |
| {NR: 182, Name: "setegid", CallName: "setegid", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "egid", TypeSize: 4}}, |
| }}, |
| {NR: 183, Name: "seteuid", CallName: "seteuid", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "euid", TypeSize: 4}}, |
| }}, |
| {NR: 181, Name: "setgid", CallName: "setgid", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4}}, |
| }}, |
| {NR: 80, Name: "setgroups", CallName: "setgroups", Args: []Type{ |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"list"}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "list", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", TypeSize: 4}}}}, |
| }}, |
| {NR: 69, Name: "setitimer", CallName: "setitimer", Args: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "getitimer_which", FldName: "which", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "new", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "itimerval"}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "old", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "itimerval", Dir: 1}}}, |
| }}, |
| {NR: 82, Name: "setpgid", CallName: "setpgid", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pgid", TypeSize: 4}}, |
| }}, |
| {NR: 127, Name: "setregid", CallName: "setregid", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "rgid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "egid", TypeSize: 4}}, |
| }}, |
| {NR: 126, Name: "setreuid", CallName: "setreuid", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "ruid", TypeSize: 4}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "euid", TypeSize: 4}}, |
| }}, |
| {NR: 195, Name: "setrlimit", CallName: "setrlimit", Args: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rlimit_type", FldName: "res", TypeSize: 8}}, Vals: []uint64{4, 0, 2, 1, 6, 8, 7, 5, 3, 3}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "rlim", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rlimit"}}}, |
| }}, |
| {NR: 105, Name: "setsockopt", CallName: "setsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "level", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optname", TypeSize: 4}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, |
| }}, |
| {NR: 105, Name: "setsockopt$inet6_MRT6_ADD_MFC", CallName: "setsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 41}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 104}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mf6cctl"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, |
| }}, |
| {NR: 105, Name: "setsockopt$inet6_MRT6_ADD_MIF", CallName: "setsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 41}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 102}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mif6ctl"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, |
| }}, |
| {NR: 105, Name: "setsockopt$inet6_MRT6_DEL_MFC", CallName: "setsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 41}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 105}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mf6cctl"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, |
| }}, |
| {NR: 105, Name: "setsockopt$inet_opts", CallName: "setsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_ip_opts", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, |
| }}, |
| {NR: 105, Name: "setsockopt$sock_cred", CallName: "setsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 65535}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 4130}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ucred"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, |
| }}, |
| {NR: 105, Name: "setsockopt$sock_int", CallName: "setsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 65535}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 4, 512, 8, 16, 128, 32, 256, 4097, 4098, 4099, 4100, 2048, 4104, 4103}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, |
| }}, |
| {NR: 105, Name: "setsockopt$sock_linger", CallName: "setsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 65535}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 128}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "linger"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, |
| }}, |
| {NR: 105, Name: "setsockopt$sock_timeval", CallName: "setsockopt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 65535}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockopt_opt_sock_timeval", FldName: "optname", TypeSize: 8}}, Vals: []uint64{4102, 4101}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timeval"}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, |
| }}, |
| {NR: 23, Name: "setuid", CallName: "setuid", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4}}, |
| }}, |
| {NR: 228, Name: "shmat", CallName: "shmat", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, |
| &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "shmat_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{8192, 4096}, BitMask: true}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "shmaddr", FldName: "ret", TypeSize: 8, ArgDir: 1}}}, |
| {NR: 296, Name: "shmctl$IPC_RMID", CallName: "shmctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}}, |
| }}, |
| {NR: 296, Name: "shmctl$IPC_SET", CallName: "shmctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "shmid_ds"}}}, |
| }}, |
| {NR: 296, Name: "shmctl$IPC_STAT", CallName: "shmctl", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, |
| }}, |
| {NR: 296, Name: "shmctl$SHM_LOCK", CallName: "shmctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3}, |
| }}, |
| {NR: 296, Name: "shmctl$SHM_UNLOCK", CallName: "shmctl", MissingArgs: 1, Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 4}, |
| }}, |
| {NR: 230, Name: "shmdt", CallName: "shmdt", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "shmaddr", FldName: "addr", TypeSize: 8}}, |
| }}, |
| {NR: 289, Name: "shmget", CallName: "shmget", Args: []Type{ |
| &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 8}}, ValuesStart: 2039339027, ValuesPerProc: 4}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"unused"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "shmget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "unused", TypeSize: 8}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 289, Name: "shmget$private", CallName: "shmget", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"unused"}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "shmget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true}, |
| &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "unused", TypeSize: 8}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 134, Name: "shutdown", CallName: "shutdown", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "shutdown_flags", FldName: "how", TypeSize: 8}}, Vals: []uint64{0, 1, 2}, BitMask: true}, |
| }}, |
| {NR: 97, Name: "socket", CallName: "socket", Args: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 24, 6, 32, 16}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 16384, 32768}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 97, Name: "socket$inet", CallName: "socket", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 16384, 32768}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 97, Name: "socket$inet6", CallName: "socket", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 24}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 16384, 32768}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 97, Name: "socket$unix", CallName: "socket", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 1}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 5}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}}, |
| }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 135, Name: "socketpair", CallName: "socketpair", Args: []Type{ |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 24, 6, 32, 16}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 16384, 32768}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sock_pair", Dir: 1}}}, |
| }}, |
| {NR: 135, Name: "socketpair$unix", CallName: "socketpair", Args: []Type{ |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 1}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 5}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "unix_pair", Dir: 1}}}, |
| }}, |
| {NR: 38, Name: "stat", CallName: "stat", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}}, |
| }}, |
| {NR: 57, Name: "symlink", CallName: "symlink", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "old", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "new", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| }}, |
| {NR: 324, Name: "symlinkat", CallName: "symlinkat", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "old", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "newfd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "new", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| }}, |
| {NR: 36, Name: "sync", CallName: "sync"}, |
| {Name: "syz_emit_ethernet", CallName: "syz_emit_ethernet", Args: []Type{ |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"packet"}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "packet", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, |
| }}, |
| {Name: "syz_execute_func", CallName: "syz_execute_func", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "text", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "text", IsVarlen: true}, Kind: 4}}, |
| }}, |
| {Name: "syz_extract_tcp_res", CallName: "syz_extract_tcp_res", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "res", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_resources", Dir: 1}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq_inc", TypeSize: 4}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ack_inc", TypeSize: 4}}}, |
| }}, |
| {Name: "syz_extract_tcp_res$synack", CallName: "syz_extract_tcp_res", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "res", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_resources", Dir: 1}}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "seq_inc", TypeSize: 8}}, Val: 1}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ack_inc", TypeSize: 8}}}, |
| }}, |
| {Name: "syz_open_pts", CallName: "syz_open_pts", Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, |
| {NR: 200, Name: "truncate", CallName: "truncate", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad", TypeSize: 8}}}, |
| &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "len", TypeSize: 8}}}, |
| }}, |
| {NR: 10, Name: "unlink", CallName: "unlink", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| }}, |
| {NR: 325, Name: "unlinkat", CallName: "unlinkat", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unlinkat_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 8}, BitMask: true}, |
| }}, |
| {NR: 114, Name: "unveil", CallName: "unveil", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "permissions", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 2}, Kind: 2, SubKind: "unveil_permissions", Values: []string{"r\x00", "W\x00", "x\x00", "c\x00"}}}, |
| }}, |
| {NR: 84, Name: "utimensat", CallName: "utimensat", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dir", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "pathname", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "times", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "itimerval"}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "utimensat_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 2}, BitMask: true}, |
| }}, |
| {NR: 76, Name: "utimes", CallName: "utimes", Args: []Type{ |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "times", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "itimerval"}}}, |
| }}, |
| {NR: 11, Name: "wait4", CallName: "wait4", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "status", TypeSize: 8, IsOptional: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, |
| &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wait_options", FldName: "options", TypeSize: 8}}, Vals: []uint64{8, 1, 2}, BitMask: true}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ru", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "rusage", Dir: 1}}}, |
| }}, |
| {NR: 4, Name: "write", CallName: "write", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "count", TypeSize: 8}}, Path: []string{"buf"}}, |
| }}, |
| {NR: 121, Name: "writev", CallName: "writev", Args: []Type{ |
| &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, |
| &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec_in"}}}}, |
| &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"vec"}}, |
| }}, |
| } |
| |
| var consts_amd64 = []ConstValue{ |
| {Name: "AF_APPLETALK", Value: 16}, |
| {Name: "AF_BLUETOOTH", Value: 32}, |
| {Name: "AF_INET", Value: 2}, |
| {Name: "AF_INET6", Value: 24}, |
| {Name: "AF_LOCAL", Value: 1}, |
| {Name: "AF_NS", Value: 6}, |
| {Name: "AF_UNIX", Value: 1}, |
| {Name: "AF_UNSPEC"}, |
| {Name: "AT_EACCESS", Value: 1}, |
| {Name: "AT_FDCWD", Value: 18446744073709551516}, |
| {Name: "AT_REMOVEDIR", Value: 8}, |
| {Name: "AT_SYMLINK_FOLLOW", Value: 4}, |
| {Name: "AT_SYMLINK_NOFOLLOW", Value: 2}, |
| {Name: "BIOCFLUSH", Value: 536887912}, |
| {Name: "BIOCGBLEN", Value: 1074020966}, |
| {Name: "BIOCGDIRFILT", Value: 1074020988}, |
| {Name: "BIOCGDLTLIST", Value: 3222291067}, |
| {Name: "BIOCGETIF", Value: 1075855979}, |
| {Name: "BIOCGFILDROP", Value: 1074020984}, |
| {Name: "BIOCGHDRCMPLT", Value: 1074020980}, |
| {Name: "BIOCGRSIG", Value: 1074020979}, |
| {Name: "BIOCGRTIMEOUT", Value: 1074807406}, |
| {Name: "BIOCGSTATS", Value: 1074283119}, |
| {Name: "BIOCIMMEDIATE", Value: 2147762800}, |
| {Name: "BIOCLOCK", Value: 536887926}, |
| {Name: "BIOCPROMISC", Value: 536887913}, |
| {Name: "BIOCSBLEN", Value: 3221504614}, |
| {Name: "BIOCSDIRFILT", Value: 2147762813}, |
| {Name: "BIOCSDLT", Value: 2147762810}, |
| {Name: "BIOCSETF", Value: 2148549223}, |
| {Name: "BIOCSETIF", Value: 2149597804}, |
| {Name: "BIOCSETWF", Value: 2148549239}, |
| {Name: "BIOCSFILDROP", Value: 2147762809}, |
| {Name: "BIOCSHDRCMPLT", Value: 2147762805}, |
| {Name: "BIOCSRSIG", Value: 2147762802}, |
| {Name: "BIOCSRTIMEOUT", Value: 2148549229}, |
| {Name: "BIOCVERSION", Value: 1074020977}, |
| {Name: "CLOCK_MONOTONIC", Value: 3}, |
| {Name: "CLOCK_PROCESS_CPUTIME_ID", Value: 2}, |
| {Name: "CLOCK_REALTIME"}, |
| {Name: "CLOCK_THREAD_CPUTIME_ID", Value: 4}, |
| {Name: "DIOCMAP", Value: 3222299767}, |
| {Name: "DM_OPENBLCK", Value: 2}, |
| {Name: "DM_OPENPART", Value: 1}, |
| {Name: "EVFILT_AIO", Value: 18446744073709551613}, |
| {Name: "EVFILT_DEVICE", Value: 18446744073709551608}, |
| {Name: "EVFILT_PROC", Value: 18446744073709551611}, |
| {Name: "EVFILT_READ", Value: 18446744073709551615}, |
| {Name: "EVFILT_SIGNAL", Value: 18446744073709551610}, |
| {Name: "EVFILT_TIMER", Value: 18446744073709551609}, |
| {Name: "EVFILT_VNODE", Value: 18446744073709551612}, |
| {Name: "EVFILT_WRITE", Value: 18446744073709551614}, |
| {Name: "EV_ADD", Value: 1}, |
| {Name: "EV_CLEAR", Value: 32}, |
| {Name: "EV_DELETE", Value: 2}, |
| {Name: "EV_DISABLE", Value: 8}, |
| {Name: "EV_DISPATCH", Value: 128}, |
| {Name: "EV_ENABLE", Value: 4}, |
| {Name: "EV_ONESHOT", Value: 16}, |
| {Name: "EV_RECEIPT", Value: 64}, |
| {Name: "FD_CLOEXEC", Value: 1}, |
| {Name: "FIOASYNC", Value: 2147772029}, |
| {Name: "FIOGETOWN", Value: 1074030203}, |
| {Name: "FIONBIO", Value: 2147772030}, |
| {Name: "FIONREAD", Value: 1074030207}, |
| {Name: "FIOSETOWN", Value: 2147772028}, |
| {Name: "F_DUPFD"}, |
| {Name: "F_DUPFD_CLOEXEC", Value: 10}, |
| {Name: "F_GETFD", Value: 1}, |
| {Name: "F_GETFL", Value: 3}, |
| {Name: "F_GETLK", Value: 7}, |
| {Name: "F_GETOWN", Value: 5}, |
| {Name: "F_RDLCK", Value: 1}, |
| {Name: "F_SETFD", Value: 2}, |
| {Name: "F_SETFL", Value: 4}, |
| {Name: "F_SETLK", Value: 8}, |
| {Name: "F_SETLKW", Value: 9}, |
| {Name: "F_SETOWN", Value: 6}, |
| {Name: "F_UNLCK", Value: 2}, |
| {Name: "F_WRLCK", Value: 3}, |
| {Name: "GETALL", Value: 6}, |
| {Name: "GETNCNT", Value: 3}, |
| {Name: "GETPID", Value: 4}, |
| {Name: "GETVAL", Value: 5}, |
| {Name: "GETZCNT", Value: 7}, |
| {Name: "IFNAMSIZ", Value: 16}, |
| {Name: "IFREQ_SIZE", Value: 32}, |
| {Name: "IPC_CREAT", Value: 512}, |
| {Name: "IPC_EXCL", Value: 1024}, |
| {Name: "IPC_NOWAIT", Value: 2048}, |
| {Name: "IPC_PRIVATE"}, |
| {Name: "IPC_RMID"}, |
| {Name: "IPC_SET", Value: 1}, |
| {Name: "IPC_STAT", Value: 2}, |
| {Name: "IPPROTO_ICMP", Value: 1}, |
| {Name: "IPPROTO_IP"}, |
| {Name: "IPPROTO_IPV6", Value: 41}, |
| {Name: "IP_OPTIONS", Value: 1}, |
| {Name: "ITIMER_PROF", Value: 2}, |
| {Name: "ITIMER_REAL"}, |
| {Name: "ITIMER_VIRTUAL", Value: 1}, |
| {Name: "KDDISABIO", Value: 536890173}, |
| {Name: "KDENABIO", Value: 536890172}, |
| {Name: "KDGETLED", Value: 1074023233}, |
| {Name: "KDGKBMODE", Value: 1074023174}, |
| {Name: "KDMKTONE", Value: 536890120}, |
| {Name: "KDSETLED", Value: 536890178}, |
| {Name: "KDSETMODE", Value: 536890122}, |
| {Name: "KDSETRAD", Value: 536890179}, |
| {Name: "KD_GRAPHICS", Value: 1}, |
| {Name: "KD_TEXT"}, |
| {Name: "KTRFAC_EXECARGS", Value: 1024}, |
| {Name: "KTRFAC_EXECENV", Value: 2048}, |
| {Name: "KTRFAC_GENIO", Value: 16}, |
| {Name: "KTRFAC_INHERIT", Value: 1073741824}, |
| {Name: "KTRFAC_NAMEI", Value: 8}, |
| {Name: "KTRFAC_PLEDGE", Value: 4096}, |
| {Name: "KTRFAC_PSIG", Value: 32}, |
| {Name: "KTRFAC_STRUCT", Value: 256}, |
| {Name: "KTRFAC_SYSCALL", Value: 2}, |
| {Name: "KTRFAC_SYSRET", Value: 4}, |
| {Name: "KTRFAC_USER", Value: 512}, |
| {Name: "KTRFLAG_DESCEND", Value: 4}, |
| {Name: "KTROP_CLEAR", Value: 1}, |
| {Name: "KTROP_CLEARFILE", Value: 2}, |
| {Name: "KTROP_SET"}, |
| {Name: "K_RAW"}, |
| {Name: "K_XLATE", Value: 1}, |
| {Name: "LED_CAP", Value: 1}, |
| {Name: "LED_NUM", Value: 2}, |
| {Name: "LED_SCR", Value: 4}, |
| {Name: "LIOCSFD", Value: 2147773567}, |
| {Name: "LOCK_EX", Value: 2}, |
| {Name: "LOCK_NB", Value: 4}, |
| {Name: "LOCK_SH", Value: 1}, |
| {Name: "LOCK_UN", Value: 8}, |
| {Name: "LOG_CONS", Value: 2}, |
| {Name: "LOG_NDELAY", Value: 8}, |
| {Name: "LOG_NOWAIT", Value: 16}, |
| {Name: "LOG_ODELAY", Value: 4}, |
| {Name: "LOG_PERROR", Value: 32}, |
| {Name: "LOG_PID", Value: 1}, |
| {Name: "MADV_DONTNEED", Value: 4}, |
| {Name: "MADV_FREE", Value: 6}, |
| {Name: "MADV_NORMAL"}, |
| {Name: "MADV_RANDOM", Value: 1}, |
| {Name: "MADV_SEQUENTIAL", Value: 2}, |
| {Name: "MADV_SPACEAVAIL", Value: 5}, |
| {Name: "MADV_WILLNEED", Value: 3}, |
| {Name: "MAP_ANONYMOUS", Value: 4096}, |
| {Name: "MAP_FIXED", Value: 16}, |
| {Name: "MAP_INHERIT_COPY", Value: 1}, |
| {Name: "MAP_INHERIT_NONE", Value: 2}, |
| {Name: "MAP_INHERIT_SHARE"}, |
| {Name: "MAP_INHERIT_ZERO", Value: 3}, |
| {Name: "MAP_PRIVATE", Value: 2}, |
| {Name: "MAP_SHARED", Value: 1}, |
| {Name: "MAP_STACK", Value: 16384}, |
| {Name: "MCL_CURRENT", Value: 1}, |
| {Name: "MCL_FUTURE", Value: 2}, |
| {Name: "MIFF_REGISTER", Value: 1}, |
| {Name: "MRT6_ADD_MFC", Value: 104}, |
| {Name: "MRT6_ADD_MIF", Value: 102}, |
| {Name: "MRT6_DEL_MFC", Value: 105}, |
| {Name: "MSG_CMSG_CLOEXEC", Value: 2048}, |
| {Name: "MSG_DONTROUTE", Value: 4}, |
| {Name: "MSG_EOR", Value: 8}, |
| {Name: "MSG_NOERROR", Value: 4096}, |
| {Name: "MSG_NOSIGNAL", Value: 1024}, |
| {Name: "MSG_OOB", Value: 1}, |
| {Name: "MSG_PEEK", Value: 2}, |
| {Name: "MSG_WAITALL", Value: 64}, |
| {Name: "NCCS", Value: 20}, |
| {Name: "NOTE_ATTRIB", Value: 8}, |
| {Name: "NOTE_CHANGE", Value: 1}, |
| {Name: "NOTE_CHILD", Value: 4}, |
| {Name: "NOTE_DELETE", Value: 1}, |
| {Name: "NOTE_EOF", Value: 2}, |
| {Name: "NOTE_EXEC", Value: 536870912}, |
| {Name: "NOTE_EXIT", Value: 2147483648}, |
| {Name: "NOTE_EXTEND", Value: 4}, |
| {Name: "NOTE_FORK", Value: 1073741824}, |
| {Name: "NOTE_LINK", Value: 16}, |
| {Name: "NOTE_LOWAT", Value: 1}, |
| {Name: "NOTE_PCTRLMASK", Value: 4026531840}, |
| {Name: "NOTE_PDATAMASK", Value: 1048575}, |
| {Name: "NOTE_RENAME", Value: 32}, |
| {Name: "NOTE_REVOKE", Value: 64}, |
| {Name: "NOTE_TRACK", Value: 1}, |
| {Name: "NOTE_TRACKERR", Value: 2}, |
| {Name: "NOTE_TRUNCATE", Value: 128}, |
| {Name: "NOTE_WRITE", Value: 2}, |
| {Name: "O_APPEND", Value: 8}, |
| {Name: "O_ASYNC", Value: 64}, |
| {Name: "O_CLOEXEC", Value: 65536}, |
| {Name: "O_CREAT", Value: 512}, |
| {Name: "O_DIRECTORY", Value: 131072}, |
| {Name: "O_DSYNC", Value: 128}, |
| {Name: "O_EXCL", Value: 2048}, |
| {Name: "O_EXLOCK", Value: 32}, |
| {Name: "O_NOCTTY", Value: 32768}, |
| {Name: "O_NOFOLLOW", Value: 256}, |
| {Name: "O_NONBLOCK", Value: 4}, |
| {Name: "O_RDONLY"}, |
| {Name: "O_RDWR", Value: 2}, |
| {Name: "O_RSYNC", Value: 128}, |
| {Name: "O_SHLOCK", Value: 16}, |
| {Name: "O_SYNC", Value: 128}, |
| {Name: "O_TRUNC", Value: 1024}, |
| {Name: "O_WRONLY", Value: 1}, |
| {Name: "PCIOCGETROM", Value: 3222302725}, |
| {Name: "PCIOCREAD", Value: 3222302722}, |
| {Name: "PCIOCWRITE", Value: 3222302723}, |
| {Name: "POLLERR", Value: 8}, |
| {Name: "POLLHUP", Value: 16}, |
| {Name: "POLLIN", Value: 1}, |
| {Name: "POLLNVAL", Value: 32}, |
| {Name: "POLLOUT", Value: 4}, |
| {Name: "POLLPRI", Value: 2}, |
| {Name: "POLLRDBAND", Value: 128}, |
| {Name: "POLLRDNORM", Value: 64}, |
| {Name: "POLLWRBAND", Value: 256}, |
| {Name: "POLLWRNORM", Value: 4}, |
| {Name: "PROT_EXEC", Value: 4}, |
| {Name: "PROT_NONE"}, |
| {Name: "PROT_READ", Value: 1}, |
| {Name: "PROT_WRITE", Value: 2}, |
| {Name: "RLIMIT_CORE", Value: 4}, |
| {Name: "RLIMIT_CPU"}, |
| {Name: "RLIMIT_DATA", Value: 2}, |
| {Name: "RLIMIT_FSIZE", Value: 1}, |
| {Name: "RLIMIT_MEMLOCK", Value: 6}, |
| {Name: "RLIMIT_NOFILE", Value: 8}, |
| {Name: "RLIMIT_NPROC", Value: 7}, |
| {Name: "RLIMIT_RSS", Value: 5}, |
| {Name: "RLIMIT_STACK", Value: 3}, |
| {Name: "RUSAGE_CHILDREN", Value: 18446744073709551615}, |
| {Name: "RUSAGE_SELF"}, |
| {Name: "SCM_RIGHTS", Value: 1}, |
| {Name: "SEEK_CUR", Value: 1}, |
| {Name: "SEEK_END", Value: 2}, |
| {Name: "SEEK_SET"}, |
| {Name: "SEM_UNDO", Value: 4096}, |
| {Name: "SETALL", Value: 9}, |
| {Name: "SETVAL", Value: 8}, |
| {Name: "SF_APPEND", Value: 262144}, |
| {Name: "SF_ARCHIVED", Value: 65536}, |
| {Name: "SF_IMMUTABLE", Value: 131072}, |
| {Name: "SHM_LOCK", Value: 3}, |
| {Name: "SHM_RDONLY", Value: 4096}, |
| {Name: "SHM_RND", Value: 8192}, |
| {Name: "SHM_UNLOCK", Value: 4}, |
| {Name: "SHUT_RD"}, |
| {Name: "SHUT_RDWR", Value: 2}, |
| {Name: "SHUT_WR", Value: 1}, |
| {Name: "SOCK_CLOEXEC", Value: 32768}, |
| {Name: "SOCK_DGRAM", Value: 2}, |
| {Name: "SOCK_NONBLOCK", Value: 16384}, |
| {Name: "SOCK_RAW", Value: 3}, |
| {Name: "SOCK_RDM", Value: 4}, |
| {Name: "SOCK_SEQPACKET", Value: 5}, |
| {Name: "SOCK_STREAM", Value: 1}, |
| {Name: "SOL_SOCKET", Value: 65535}, |
| {Name: "SO_BROADCAST", Value: 32}, |
| {Name: "SO_DEBUG", Value: 1}, |
| {Name: "SO_DONTROUTE", Value: 16}, |
| {Name: "SO_ERROR", Value: 4103}, |
| {Name: "SO_KEEPALIVE", Value: 8}, |
| {Name: "SO_LINGER", Value: 128}, |
| {Name: "SO_OOBINLINE", Value: 256}, |
| {Name: "SO_PEERCRED", Value: 4130}, |
| {Name: "SO_RCVBUF", Value: 4098}, |
| {Name: "SO_RCVLOWAT", Value: 4100}, |
| {Name: "SO_RCVTIMEO", Value: 4102}, |
| {Name: "SO_REUSEADDR", Value: 4}, |
| {Name: "SO_REUSEPORT", Value: 512}, |
| {Name: "SO_SNDBUF", Value: 4097}, |
| {Name: "SO_SNDLOWAT", Value: 4099}, |
| {Name: "SO_SNDTIMEO", Value: 4101}, |
| {Name: "SO_TIMESTAMP", Value: 2048}, |
| {Name: "SO_TYPE", Value: 4104}, |
| {Name: "SPKRTONE", Value: 2148029185}, |
| {Name: "SPKRTUNE", Value: 536892162}, |
| {Name: "SYS_accept", Value: 30}, |
| {Name: "SYS_acct", Value: 51}, |
| {Name: "SYS_bind", Value: 104}, |
| {Name: "SYS_chdir", Value: 12}, |
| {Name: "SYS_chflags", Value: 34}, |
| {Name: "SYS_chflagsat", Value: 107}, |
| {Name: "SYS_chmod", Value: 15}, |
| {Name: "SYS_chown", Value: 16}, |
| {Name: "SYS_chroot", Value: 61}, |
| {Name: "SYS_clock_getres", Value: 89}, |
| {Name: "SYS_clock_gettime", Value: 87}, |
| {Name: "SYS_clock_settime", Value: 88}, |
| {Name: "SYS_close", Value: 6}, |
| {Name: "SYS_connect", Value: 98}, |
| {Name: "SYS_dup", Value: 41}, |
| {Name: "SYS_dup2", Value: 90}, |
| {Name: "SYS_execve", Value: 59}, |
| {Name: "SYS_faccessat", Value: 313}, |
| {Name: "SYS_fchdir", Value: 13}, |
| {Name: "SYS_fchflags", Value: 35}, |
| {Name: "SYS_fchmod", Value: 124}, |
| {Name: "SYS_fchmodat", Value: 314}, |
| {Name: "SYS_fchown", Value: 123}, |
| {Name: "SYS_fchownat", Value: 315}, |
| {Name: "SYS_fcntl", Value: 92}, |
| {Name: "SYS_flock", Value: 131}, |
| {Name: "SYS_fsync", Value: 95}, |
| {Name: "SYS_ftruncate", Value: 201}, |
| {Name: "SYS_getdents", Value: 99}, |
| {Name: "SYS_getegid", Value: 43}, |
| {Name: "SYS_geteuid", Value: 25}, |
| {Name: "SYS_getgid", Value: 47}, |
| {Name: "SYS_getgroups", Value: 79}, |
| {Name: "SYS_getitimer", Value: 70}, |
| {Name: "SYS_getpeername", Value: 31}, |
| {Name: "SYS_getpgid", Value: 207}, |
| {Name: "SYS_getpgrp", Value: 81}, |
| {Name: "SYS_getpid", Value: 20}, |
| {Name: "SYS_getppid", Value: 39}, |
| {Name: "SYS_getrlimit", Value: 194}, |
| {Name: "SYS_getrusage", Value: 19}, |
| {Name: "SYS_getsockname", Value: 32}, |
| {Name: "SYS_getsockopt", Value: 118}, |
| {Name: "SYS_getuid", Value: 24}, |
| {Name: "SYS_ioctl", Value: 54}, |
| {Name: "SYS_kevent", Value: 72}, |
| {Name: "SYS_kqueue", Value: 269}, |
| {Name: "SYS_ktrace", Value: 45}, |
| {Name: "SYS_lchown", Value: 254}, |
| {Name: "SYS_link", Value: 9}, |
| {Name: "SYS_linkat", Value: 317}, |
| {Name: "SYS_listen", Value: 106}, |
| {Name: "SYS_lseek", Value: 199}, |
| {Name: "SYS_lstat", Value: 40}, |
| {Name: "SYS_madvise", Value: 75}, |
| {Name: "SYS_minherit", Value: 250}, |
| {Name: "SYS_mkdir", Value: 136}, |
| {Name: "SYS_mkdirat", Value: 318}, |
| {Name: "SYS_mknod", Value: 14}, |
| {Name: "SYS_mknodat", Value: 320}, |
| {Name: "SYS_mlock", Value: 203}, |
| {Name: "SYS_mlockall", Value: 271}, |
| {Name: "SYS_mmap", Value: 197}, |
| {Name: "SYS_mprotect", Value: 74}, |
| {Name: "SYS_msgctl", Value: 297}, |
| {Name: "SYS_msgget", Value: 225}, |
| {Name: "SYS_msgrcv", Value: 227}, |
| {Name: "SYS_msgsnd", Value: 226}, |
| {Name: "SYS_munlock", Value: 204}, |
| {Name: "SYS_munlockall", Value: 272}, |
| {Name: "SYS_munmap", Value: 73}, |
| {Name: "SYS_nanosleep", Value: 91}, |
| {Name: "SYS_open", Value: 5}, |
| {Name: "SYS_openat", Value: 321}, |
| {Name: "SYS_pipe", Value: 263}, |
| {Name: "SYS_pipe2", Value: 101}, |
| {Name: "SYS_pledge", Value: 108}, |
| {Name: "SYS_poll", Value: 252}, |
| {Name: "SYS_pread", Value: 173}, |
| {Name: "SYS_preadv", Value: 267}, |
| {Name: "SYS_pwrite", Value: 174}, |
| {Name: "SYS_pwritev", Value: 268}, |
| {Name: "SYS_read", Value: 3}, |
| {Name: "SYS_readlink", Value: 58}, |
| {Name: "SYS_readlinkat", Value: 322}, |
| {Name: "SYS_readv", Value: 120}, |
| {Name: "SYS_recvfrom", Value: 29}, |
| {Name: "SYS_recvmsg", Value: 27}, |
| {Name: "SYS_rename", Value: 128}, |
| {Name: "SYS_renameat", Value: 323}, |
| {Name: "SYS_rmdir", Value: 137}, |
| {Name: "SYS_select", Value: 71}, |
| {Name: "SYS_semctl", Value: 295}, |
| {Name: "SYS_semget", Value: 221}, |
| {Name: "SYS_semop", Value: 290}, |
| {Name: "SYS_sendmsg", Value: 28}, |
| {Name: "SYS_sendsyslog", Value: 112}, |
| {Name: "SYS_sendto", Value: 133}, |
| {Name: "SYS_setegid", Value: 182}, |
| {Name: "SYS_seteuid", Value: 183}, |
| {Name: "SYS_setgid", Value: 181}, |
| {Name: "SYS_setgroups", Value: 80}, |
| {Name: "SYS_setitimer", Value: 69}, |
| {Name: "SYS_setpgid", Value: 82}, |
| {Name: "SYS_setregid", Value: 127}, |
| {Name: "SYS_setreuid", Value: 126}, |
| {Name: "SYS_setrlimit", Value: 195}, |
| {Name: "SYS_setsockopt", Value: 105}, |
| {Name: "SYS_setuid", Value: 23}, |
| {Name: "SYS_shmat", Value: 228}, |
| {Name: "SYS_shmctl", Value: 296}, |
| {Name: "SYS_shmdt", Value: 230}, |
| {Name: "SYS_shmget", Value: 289}, |
| {Name: "SYS_shutdown", Value: 134}, |
| {Name: "SYS_socket", Value: 97}, |
| {Name: "SYS_socketpair", Value: 135}, |
| {Name: "SYS_stat", Value: 38}, |
| {Name: "SYS_symlink", Value: 57}, |
| {Name: "SYS_symlinkat", Value: 324}, |
| {Name: "SYS_sync", Value: 36}, |
| {Name: "SYS_truncate", Value: 200}, |
| {Name: "SYS_unlink", Value: 10}, |
| {Name: "SYS_unlinkat", Value: 325}, |
| {Name: "SYS_unveil", Value: 114}, |
| {Name: "SYS_utimensat", Value: 84}, |
| {Name: "SYS_utimes", Value: 76}, |
| {Name: "SYS_wait4", Value: 11}, |
| {Name: "SYS_write", Value: 4}, |
| {Name: "SYS_writev", Value: 121}, |
| {Name: "S_IFBLK", Value: 24576}, |
| {Name: "S_IFCHR", Value: 8192}, |
| {Name: "S_IFIFO", Value: 4096}, |
| {Name: "S_IFMT", Value: 61440}, |
| {Name: "S_IFREG", Value: 32768}, |
| {Name: "S_IFSOCK", Value: 49152}, |
| {Name: "S_IRGRP", Value: 32}, |
| {Name: "S_IROTH", Value: 4}, |
| {Name: "S_IRUSR", Value: 256}, |
| {Name: "S_IWGRP", Value: 16}, |
| {Name: "S_IWOTH", Value: 2}, |
| {Name: "S_IWUSR", Value: 128}, |
| {Name: "S_IXGRP", Value: 8}, |
| {Name: "S_IXOTH", Value: 1}, |
| {Name: "S_IXUSR", Value: 64}, |
| {Name: "TIOCCBRK", Value: 536900730}, |
| {Name: "TIOCCDTR", Value: 536900728}, |
| {Name: "TIOCCHKVERAUTH", Value: 536900638}, |
| {Name: "TIOCCLRVERAUTH", Value: 536900637}, |
| {Name: "TIOCCONS", Value: 2147775586}, |
| {Name: "TIOCDRAIN", Value: 536900702}, |
| {Name: "TIOCEXCL", Value: 536900621}, |
| {Name: "TIOCFLUSH", Value: 2147775504}, |
| {Name: "TIOCGETA", Value: 1076655123}, |
| {Name: "TIOCGETD", Value: 1074033690}, |
| {Name: "TIOCGFLAGS", Value: 1074033757}, |
| {Name: "TIOCGPGRP", Value: 1074033783}, |
| {Name: "TIOCGTSTAMP", Value: 1074820187}, |
| {Name: "TIOCGWINSZ", Value: 1074295912}, |
| {Name: "TIOCMBIC", Value: 2147775595}, |
| {Name: "TIOCMBIS", Value: 2147775596}, |
| {Name: "TIOCMGET", Value: 1074033770}, |
| {Name: "TIOCMSET", Value: 2147775597}, |
| {Name: "TIOCNOTTY", Value: 536900721}, |
| {Name: "TIOCNXCL", Value: 536900622}, |
| {Name: "TIOCOUTQ", Value: 1074033779}, |
| {Name: "TIOCSBRK", Value: 536900731}, |
| {Name: "TIOCSCTTY", Value: 536900705}, |
| {Name: "TIOCSDTR", Value: 536900729}, |
| {Name: "TIOCSETA", Value: 2150396948}, |
| {Name: "TIOCSETAF", Value: 2150396950}, |
| {Name: "TIOCSETAW", Value: 2150396949}, |
| {Name: "TIOCSETD", Value: 2147775515}, |
| {Name: "TIOCSETVERAUTH", Value: 2147775516}, |
| {Name: "TIOCSFLAGS", Value: 2147775580}, |
| {Name: "TIOCSTART", Value: 536900718}, |
| {Name: "TIOCSTAT", Value: 536900709}, |
| {Name: "TIOCSTOP", Value: 536900719}, |
| {Name: "TIOCSTSTAMP", Value: 2148037722}, |
| {Name: "TIOCSWINSZ", Value: 2148037735}, |
| {Name: "UF_APPEND", Value: 4}, |
| {Name: "UF_IMMUTABLE", Value: 2}, |
| {Name: "UF_NODUMP", Value: 1}, |
| {Name: "VCPU_REGS_NCRS", Value: 10}, |
| {Name: "VCPU_REGS_NDRS", Value: 6}, |
| {Name: "VCPU_REGS_NGPRS", Value: 18}, |
| {Name: "VCPU_REGS_NMSRS", Value: 7}, |
| {Name: "VCPU_REGS_NSREGS", Value: 8}, |
| {Name: "VMM_IOC_CREATE", Value: 3305133569}, |
| {Name: "VMM_IOC_INFO", Value: 3222820355}, |
| {Name: "VMM_IOC_INTR", Value: 2148292102}, |
| {Name: "VMM_IOC_READREGS", Value: 3259520519}, |
| {Name: "VMM_IOC_RESETCPU", Value: 2185254405}, |
| {Name: "VMM_IOC_RUN", Value: 3223344642}, |
| {Name: "VMM_IOC_TERM", Value: 2147767812}, |
| {Name: "VMM_IOC_WRITEREGS", Value: 2185778696}, |
| {Name: "VMM_MAX_DISKS_PER_VM", Value: 4}, |
| {Name: "VMM_MAX_KERNEL_PATH", Value: 128}, |
| {Name: "VMM_MAX_MEM_RANGES", Value: 16}, |
| {Name: "VMM_MAX_NAME_LEN", Value: 64}, |
| {Name: "VMM_MAX_NICS_PER_VM", Value: 4}, |
| {Name: "VMM_MAX_PATH_CDROM", Value: 128}, |
| {Name: "VMM_MAX_PATH_DISK", Value: 128}, |
| {Name: "VT_ACKACQ", Value: 2}, |
| {Name: "VT_ACTIVATE", Value: 536901125}, |
| {Name: "VT_AUTO"}, |
| {Name: "VT_FALSE"}, |
| {Name: "VT_GETACTIVE", Value: 1074034183}, |
| {Name: "VT_GETMODE", Value: 1074296323}, |
| {Name: "VT_GETSTATE", Value: 1074165348}, |
| {Name: "VT_OPENQRY", Value: 1074034177}, |
| {Name: "VT_PROCESS", Value: 1}, |
| {Name: "VT_RELDISP", Value: 536901124}, |
| {Name: "VT_SETMODE", Value: 2148038146}, |
| {Name: "VT_TRUE", Value: 1}, |
| {Name: "VT_WAITACTIVE", Value: 536901126}, |
| {Name: "WCONTINUED", Value: 8}, |
| {Name: "WNOHANG", Value: 1}, |
| {Name: "WSDISPLAYIO_ADDSCREEN", Value: 2149865299}, |
| {Name: "WSDISPLAYIO_DELFONT", Value: 2153273167}, |
| {Name: "WSDISPLAYIO_DELSCREEN", Value: 2148030292}, |
| {Name: "WSDISPLAYIO_GBURNER", Value: 1074550610}, |
| {Name: "WSDISPLAYIO_GETEMULTYPE", Value: 3222558558}, |
| {Name: "WSDISPLAYIO_GETSCREEN", Value: 3223607125}, |
| {Name: "WSDISPLAYIO_GETSCREENTYPE", Value: 3223869277}, |
| {Name: "WSDISPLAYIO_GMODE", Value: 1074026315}, |
| {Name: "WSDISPLAYIO_GVIDEO", Value: 1074026308}, |
| {Name: "WSDISPLAYIO_LDFONT", Value: 2153273165}, |
| {Name: "WSDISPLAYIO_LSFONT", Value: 3227014990}, |
| {Name: "WSDISPLAYIO_MODE_DUMBFB", Value: 2}, |
| {Name: "WSDISPLAYIO_MODE_EMUL"}, |
| {Name: "WSDISPLAYIO_MODE_MAPPED", Value: 1}, |
| {Name: "WSDISPLAYIO_SBURNER", Value: 2148292433}, |
| {Name: "WSDISPLAYIO_SETSCREEN", Value: 2147768150}, |
| {Name: "WSDISPLAYIO_SMODE", Value: 2147768140}, |
| {Name: "WSDISPLAYIO_SVIDEO", Value: 2147768133}, |
| {Name: "WSDISPLAYIO_USEFONT", Value: 2153273168}, |
| {Name: "WSDISPLAYIO_VIDEO_OFF"}, |
| {Name: "WSDISPLAYIO_VIDEO_ON", Value: 1}, |
| {Name: "WSDISPLAYIO_WSMOUSED", Value: 2149078872}, |
| {Name: "WSDISPLAY_BURN_KBD", Value: 2}, |
| {Name: "WSDISPLAY_BURN_MOUSE", Value: 4}, |
| {Name: "WSDISPLAY_BURN_OUTPUT", Value: 8}, |
| {Name: "WSDISPLAY_BURN_VBLANK", Value: 1}, |
| {Name: "WSDISPLAY_DELSCR_FORCE", Value: 1}, |
| {Name: "WSDISPLAY_DELSCR_QUIET", Value: 2}, |
| {Name: "WSDISPLAY_FONTENC_IBM", Value: 1}, |
| {Name: "WSDISPLAY_FONTENC_ISO"}, |
| {Name: "WSDISPLAY_FONTORDER_KNOWN"}, |
| {Name: "WSDISPLAY_FONTORDER_L2R", Value: 1}, |
| {Name: "WSDISPLAY_FONTORDER_R2L", Value: 2}, |
| {Name: "WSEMUL_NAME_SIZE", Value: 16}, |
| {Name: "WSFONT_NAME_SIZE", Value: 32}, |
| {Name: "WSKBDIO_GETMODE", Value: 1074026260}, |
| {Name: "WSKBDIO_SETMODE", Value: 2147768083}, |
| {Name: "WSKBD_RAW", Value: 1}, |
| {Name: "WSMOUSECFG_BOTTOM_EDGE", Value: 131}, |
| {Name: "WSMOUSECFG_CENTERWIDTH", Value: 132}, |
| {Name: "WSMOUSECFG_DECELERATION", Value: 36}, |
| {Name: "WSMOUSECFG_DISABLE", Value: 71}, |
| {Name: "WSMOUSECFG_DX_MAX", Value: 32}, |
| {Name: "WSMOUSECFG_DX_SCALE"}, |
| {Name: "WSMOUSECFG_DY_MAX", Value: 33}, |
| {Name: "WSMOUSECFG_DY_SCALE", Value: 1}, |
| {Name: "WSMOUSECFG_EDGESCROLL", Value: 68}, |
| {Name: "WSMOUSECFG_F2PRESSURE", Value: 136}, |
| {Name: "WSMOUSECFG_F2WIDTH", Value: 135}, |
| {Name: "WSMOUSECFG_HORIZSCROLL", Value: 69}, |
| {Name: "WSMOUSECFG_HORIZSCROLLDIST", Value: 133}, |
| {Name: "WSMOUSECFG_LEFT_EDGE", Value: 128}, |
| {Name: "WSMOUSECFG_LOG_EVENTS", Value: 257}, |
| {Name: "WSMOUSECFG_LOG_INPUT", Value: 256}, |
| {Name: "WSMOUSECFG_PRESSURE_HI", Value: 3}, |
| {Name: "WSMOUSECFG_PRESSURE_LO", Value: 2}, |
| {Name: "WSMOUSECFG_RIGHT_EDGE", Value: 129}, |
| {Name: "WSMOUSECFG_SMOOTHING", Value: 38}, |
| {Name: "WSMOUSECFG_SOFTBUTTONS", Value: 64}, |
| {Name: "WSMOUSECFG_SOFTMBTN", Value: 65}, |
| {Name: "WSMOUSECFG_STRONG_HYSTERESIS", Value: 37}, |
| {Name: "WSMOUSECFG_SWAPSIDES", Value: 70}, |
| {Name: "WSMOUSECFG_SWAPXY", Value: 5}, |
| {Name: "WSMOUSECFG_TAPPING", Value: 72}, |
| {Name: "WSMOUSECFG_TAP_CLICKTIME", Value: 138}, |
| {Name: "WSMOUSECFG_TAP_LOCKTIME", Value: 139}, |
| {Name: "WSMOUSECFG_TAP_MAXTIME", Value: 137}, |
| {Name: "WSMOUSECFG_TOPBUTTONS", Value: 66}, |
| {Name: "WSMOUSECFG_TOP_EDGE", Value: 130}, |
| {Name: "WSMOUSECFG_TRKMAXDIST", Value: 4}, |
| {Name: "WSMOUSECFG_TWOFINGERSCROLL", Value: 67}, |
| {Name: "WSMOUSECFG_VERTSCROLLDIST", Value: 134}, |
| {Name: "WSMOUSECFG_X_HYSTERESIS", Value: 34}, |
| {Name: "WSMOUSECFG_X_INV", Value: 6}, |
| {Name: "WSMOUSECFG_Y_HYSTERESIS", Value: 35}, |
| {Name: "WSMOUSECFG_Y_INV", Value: 7}, |
| {Name: "WSMOUSEIO_GCALIBCOORDS", Value: 1092638501}, |
| {Name: "WSMOUSEIO_GETPARAMS", Value: 2148554535}, |
| {Name: "WSMOUSEIO_GTYPE", Value: 1074026272}, |
| {Name: "WSMOUSEIO_SCALIBCOORDS", Value: 2166380324}, |
| {Name: "WSMOUSEIO_SETMODE", Value: 2147768102}, |
| {Name: "WSMOUSEIO_SETPARAMS", Value: 2148554536}, |
| {Name: "WSMOUSEIO_SRES", Value: 2147768097}, |
| {Name: "WSMOUSE_CALIBCOORDS_MAX", Value: 16}, |
| {Name: "WSMOUSE_COMPAT"}, |
| {Name: "WSMOUSE_NATIVE", Value: 1}, |
| {Name: "WSMUXIO_ADD_DEVICE", Value: 2148030305}, |
| {Name: "WSMUXIO_INJECTEVENT", Value: 2149078880}, |
| {Name: "WSMUXIO_LIST_DEVICES", Value: 3238287203}, |
| {Name: "WSMUXIO_REMOVE_DEVICE", Value: 2148030306}, |
| {Name: "WSMUX_KBD", Value: 2}, |
| {Name: "WSMUX_MAXDEV", Value: 32}, |
| {Name: "WSMUX_MOUSE", Value: 1}, |
| {Name: "WSMUX_MUX", Value: 3}, |
| {Name: "WSSCREEN_NAME_SIZE", Value: 16}, |
| {Name: "WUNTRACED", Value: 2}, |
| {Name: "__MAP_NOFAULT", Value: 8192}, |
| {Name: "__MAP_NOREPLACE", Value: 2048}, |
| } |
| |
| const revision_amd64 = "eee7ba72a578dfec4292538dd7a1fbe4e927d64f" |