aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-04-02 20:10:48 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-04-02 20:10:48 +0200
commit676bd07e7e80f8a270af7f0276443c68f4a99e25 (patch)
tree97d09aa6c4f6634165d8d12543ec83af7efb46e7 /sys/linux
parent3e679c51c03ac13a5b4b601873689925eda3cc16 (diff)
sys/linux: test various binfmt's in execve
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/386.go161
-rw-r--r--sys/linux/amd64.go161
-rw-r--r--sys/linux/arm.go354
-rw-r--r--sys/linux/arm64.go161
-rw-r--r--sys/linux/binfmt.txt121
-rw-r--r--sys/linux/binfmt_386.const25
-rw-r--r--sys/linux/binfmt_amd64.const25
-rw-r--r--sys/linux/binfmt_arm.const25
-rw-r--r--sys/linux/binfmt_arm64.const25
-rw-r--r--sys/linux/binfmt_ppc64le.const25
-rw-r--r--sys/linux/netfilter_arm.const1
-rw-r--r--sys/linux/netfilter_arp_arm.const2
-rw-r--r--sys/linux/netfilter_bridge_arm.const6
-rw-r--r--sys/linux/netfilter_ipv4_arm.const3
-rw-r--r--sys/linux/netfilter_ipv6_arm.const17
-rw-r--r--sys/linux/ppc64le.go161
-rw-r--r--sys/linux/rdma_cm_arm.const10
-rw-r--r--sys/linux/socket_can_arm.const1
-rw-r--r--sys/linux/socket_inet6_arm.const1
-rw-r--r--sys/linux/socket_inet_arm.const2
-rw-r--r--sys/linux/socket_inet_tcp_arm.const1
-rw-r--r--sys/linux/socket_ipx_arm.const1
-rw-r--r--sys/linux/socket_llc_arm.const29
-rw-r--r--sys/linux/sys.txt2
-rw-r--r--sys/linux/sys_386.const2
-rw-r--r--sys/linux/sys_amd64.const2
-rw-r--r--sys/linux/sys_arm.const55
-rw-r--r--sys/linux/sys_arm64.const2
-rw-r--r--sys/linux/sys_ppc64le.const2
-rw-r--r--sys/linux/tun_arm.const88
-rw-r--r--sys/linux/vnet_arm.const10
31 files changed, 1351 insertions, 130 deletions
diff --git a/sys/linux/386.go b/sys/linux/386.go
index 5d72991f5..0f64c91ae 100644
--- a/sys/linux/386.go
+++ b/sys/linux/386.go
@@ -514,6 +514,38 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "read_consumed", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "read_buffer", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
}}},
+ {Key: StructKey{Name: "binfmt_aout"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_aout", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "exec"}, FldName: "exec"},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "elf_hdr[int32, ELF32_PHDR_SIZE]"}, FldName: "hdr"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "phdr", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "elf32_phdr"}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "elf_hdr[int64, ELF64_PHDR_SIZE]"}, FldName: "hdr"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "phdr", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "elf64_phdr"}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_misc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_misc", IsVarlen: true}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hdr", TypeSize: 4}, Kind: 2, SubKind: "binfmt_misc_headers", Values: []string{"syz0", "syz1"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ }}},
+ {Key: StructKey{Name: "binfmt_script"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_script", IsVarlen: true}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hdr", TypeSize: 3}, Kind: 2, Values: []string{"#! "}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "bin", IsVarlen: true}, Kind: 3, NoZ: true},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "args", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "binfmt_script_arg"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl", TypeSize: 1}}, Val: 10},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ }}},
+ {Key: StructKey{Name: "binfmt_script_arg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_script_arg", IsVarlen: true}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "arg", IsVarlen: true}, Kind: 2, NoZ: true},
+ }}},
{Key: StructKey{Name: "bnep_connadd_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bnep_connadd_req", IsVarlen: true}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "sock", TypeSize: 4}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
@@ -1921,6 +1953,75 @@ var structDescs_386 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_vlan_flags", FldName: "bitmask", TypeSize: 1}}, Vals: []uint64{1, 2, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_vlan_flags", FldName: "invflags", TypeSize: 1}}, Vals: []uint64{1, 2, 4}},
}}},
+ {Key: StructKey{Name: "elf32_phdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf32_phdr", TypeSize: 32}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_ptypes", FldName: "p_type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 1610612736, 1879048192, 1685382481}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_offset", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_vaddr", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_paddr", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_filesz", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_memsz", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_align", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "elf64_phdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf64_phdr", TypeSize: 56}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_ptypes", FldName: "p_type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 1610612736, 1879048192, 1685382481}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_vaddr", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_paddr", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_filesz", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_memsz", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_align", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "elf_hdr[int32, ELF32_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf_hdr[int32, ELF32_PHDR_SIZE]", TypeSize: 56}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident0", TypeSize: 1}}, Val: 127},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident1", TypeSize: 1}}, Val: 69},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident2", TypeSize: 1}}, Val: 76},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident3", TypeSize: 1}}, Val: 70},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_class", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_data", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_ver", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_osabi", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_ident_pad", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_types", FldName: "e_type", TypeSize: 2}}, Vals: []uint64{2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_machines", FldName: "e_machine", TypeSize: 2}}, Vals: []uint64{3, 6, 62}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_version", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_entry", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "e_phoff", TypeSize: 4}}, BitSize: 8, Buf: "parent"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_shoff", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_ehsize", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_phentsize", TypeSize: 2}}, Val: 32},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_phnum", TypeSize: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shentsize", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shnum", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shstrndx", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "elf_hdr[int64, ELF64_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf_hdr[int64, ELF64_PHDR_SIZE]", TypeSize: 64}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident0", TypeSize: 1}}, Val: 127},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident1", TypeSize: 1}}, Val: 69},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident2", TypeSize: 1}}, Val: 76},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident3", TypeSize: 1}}, Val: 70},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_class", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_data", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_ver", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_osabi", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_ident_pad", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_types", FldName: "e_type", TypeSize: 2}}, Vals: []uint64{2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_machines", FldName: "e_machine", TypeSize: 2}}, Vals: []uint64{3, 6, 62}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_version", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_entry", TypeSize: 8}}, Kind: 2, RangeEnd: 1000},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "e_phoff", TypeSize: 8}}, BitSize: 8, Buf: "parent"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_shoff", TypeSize: 8}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_ehsize", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_phentsize", TypeSize: 2}}, Val: 56},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_phnum", TypeSize: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shentsize", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shnum", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shstrndx", TypeSize: 2}}},
+ }}},
{Key: StructKey{Name: "epoll_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "epoll_event", TypeSize: 12}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "epoll_ev", FldName: "ev", TypeSize: 4}}, Vals: []uint64{1, 4, 8192, 2, 8, 16, 2147483648, 1073741824, 268435456, 536870912}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "data", TypeSize: 8}}},
@@ -2415,6 +2516,18 @@ var structDescs_386 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sopass", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}}},
+ {Key: StructKey{Name: "exec"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "exec", TypeSize: 32}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "aouthdr_magics", FldName: "magic", TypeSize: 2}}, Vals: []uint64{263, 264, 267, 204}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "machtype", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flags", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_text", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_data", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_bss", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_syms", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_entry", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true},
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true},
@@ -23388,6 +23501,31 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "count", TypeSize: 4}}, Buf: "buf"},
}},
+ {NR: 4, Name: "write$binfmt_aout", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "binfmt_aout"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 4, Name: "write$binfmt_elf32", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 4, Name: "write$binfmt_elf64", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 4, Name: "write$binfmt_misc", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "binfmt_misc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 4, Name: "write$binfmt_script", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "binfmt_script"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"},
+ }},
{NR: 4, Name: "write$cgroup_int", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_cgroup_int", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "cgroup_int"}}},
@@ -24111,6 +24249,11 @@ var consts_386 = []ConstValue{
{Name: "EFD_CLOEXEC", Value: 524288},
{Name: "EFD_NONBLOCK", Value: 2048},
{Name: "EFD_SEMAPHORE", Value: 1},
+ {Name: "ELF32_PHDR_SIZE", Value: 32},
+ {Name: "ELF64_PHDR_SIZE", Value: 56},
+ {Name: "EM_386", Value: 3},
+ {Name: "EM_486", Value: 6},
+ {Name: "EM_X86_64", Value: 62},
{Name: "EPOLLET", Value: 2147483648},
{Name: "EPOLLEXCLUSIVE", Value: 268435456},
{Name: "EPOLLONESHOT", Value: 1073741824},
@@ -24294,6 +24437,8 @@ var consts_386 = []ConstValue{
{Name: "ETH_P_X25", Value: 2053},
{Name: "ETH_P_XDSA", Value: 248},
{Name: "ETH_RX_NFC_IP4", Value: 1},
+ {Name: "ET_DYN", Value: 3},
+ {Name: "ET_EXEC", Value: 2},
{Name: "EVIOCGABS0", Value: 2149074240},
{Name: "EVIOCGABS20", Value: 2149074272},
{Name: "EVIOCGABS2F", Value: 2149074287},
@@ -25843,6 +25988,7 @@ var consts_386 = []ConstValue{
{Name: "NLM_F_REPLACE", Value: 256},
{Name: "NLM_F_REQUEST", Value: 1},
{Name: "NLM_F_ROOT", Value: 256},
+ {Name: "NMAGIC", Value: 264},
{Name: "NO_CLIENT"},
{Name: "NTF_EXT_LEARNED", Value: 16},
{Name: "NTF_MASTER", Value: 4},
@@ -25868,6 +26014,7 @@ var consts_386 = []ConstValue{
{Name: "NUD_PROBE", Value: 16},
{Name: "NUD_REACHABLE", Value: 2},
{Name: "NUD_STALE", Value: 4},
+ {Name: "OMAGIC", Value: 263},
{Name: "O_APPEND", Value: 1024},
{Name: "O_CLOEXEC", Value: 524288},
{Name: "O_CREAT", Value: 64},
@@ -26150,12 +26297,23 @@ var consts_386 = []ConstValue{
{Name: "PTRACE_SYSEMU", Value: 31},
{Name: "PTRACE_SYSEMU_SINGLESTEP", Value: 32},
{Name: "PTRACE_TRACEME"},
+ {Name: "PT_DYNAMIC", Value: 2},
+ {Name: "PT_GNU_STACK", Value: 1685382481},
+ {Name: "PT_INTERP", Value: 3},
+ {Name: "PT_LOAD", Value: 1},
+ {Name: "PT_LOOS", Value: 1610612736},
+ {Name: "PT_LOPROC", Value: 1879048192},
+ {Name: "PT_NOTE", Value: 4},
+ {Name: "PT_PHDR", Value: 6},
+ {Name: "PT_SHLIB", Value: 5},
+ {Name: "PT_TLS", Value: 7},
{Name: "PX_PROTO_OE"},
{Name: "PX_PROTO_OL2TP", Value: 1},
{Name: "PX_PROTO_PPTP", Value: 2},
{Name: "P_ALL"},
{Name: "P_PGID", Value: 2},
{Name: "P_PID", Value: 1},
+ {Name: "QMAGIC", Value: 204},
{Name: "RDMA_MAX_PRIVATE_DATA", Value: 256},
{Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"},
{Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1},
@@ -27496,6 +27654,7 @@ var consts_386 = []ConstValue{
{Name: "XT_U32_RIGHTSH", Value: 2},
{Name: "XT_UDP_INV_DSTPT", Value: 2},
{Name: "XT_UDP_INV_SRCPT", Value: 1},
+ {Name: "ZMAGIC", Value: 267},
{Name: "_DRM_AGP", Value: 3},
{Name: "_DRM_AGP_BUFFER", Value: 2},
{Name: "_DRM_CONSISTENT", Value: 5},
@@ -27830,4 +27989,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "32b0baef6733b7b01f968ccaf3b9966898e7454d"
+const revision_386 = "4f6eea3164d505b3156944cba22eaf9eed20e515"
diff --git a/sys/linux/amd64.go b/sys/linux/amd64.go
index c0db6d5c4..f249b1909 100644
--- a/sys/linux/amd64.go
+++ b/sys/linux/amd64.go
@@ -520,6 +520,38 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "read_consumed", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "read_buffer", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
}}},
+ {Key: StructKey{Name: "binfmt_aout"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_aout", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "exec"}, FldName: "exec"},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "elf_hdr[int32, ELF32_PHDR_SIZE]"}, FldName: "hdr"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "phdr", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "elf32_phdr"}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "elf_hdr[int64, ELF64_PHDR_SIZE]"}, FldName: "hdr"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "phdr", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "elf64_phdr"}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_misc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_misc", IsVarlen: true}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hdr", TypeSize: 4}, Kind: 2, SubKind: "binfmt_misc_headers", Values: []string{"syz0", "syz1"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ }}},
+ {Key: StructKey{Name: "binfmt_script"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_script", IsVarlen: true}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hdr", TypeSize: 3}, Kind: 2, Values: []string{"#! "}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "bin", IsVarlen: true}, Kind: 3, NoZ: true},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "args", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "binfmt_script_arg"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl", TypeSize: 1}}, Val: 10},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ }}},
+ {Key: StructKey{Name: "binfmt_script_arg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_script_arg", IsVarlen: true}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "arg", IsVarlen: true}, Kind: 2, NoZ: true},
+ }}},
{Key: StructKey{Name: "bnep_connadd_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bnep_connadd_req", IsVarlen: true}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "sock", TypeSize: 4}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
@@ -1997,6 +2029,75 @@ var structDescs_amd64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_vlan_flags", FldName: "bitmask", TypeSize: 1}}, Vals: []uint64{1, 2, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_vlan_flags", FldName: "invflags", TypeSize: 1}}, Vals: []uint64{1, 2, 4}},
}}},
+ {Key: StructKey{Name: "elf32_phdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf32_phdr", TypeSize: 32}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_ptypes", FldName: "p_type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 1610612736, 1879048192, 1685382481}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_offset", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_vaddr", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_paddr", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_filesz", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_memsz", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_align", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "elf64_phdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf64_phdr", TypeSize: 56}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_ptypes", FldName: "p_type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 1610612736, 1879048192, 1685382481}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_vaddr", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_paddr", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_filesz", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_memsz", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_align", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "elf_hdr[int32, ELF32_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf_hdr[int32, ELF32_PHDR_SIZE]", TypeSize: 56}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident0", TypeSize: 1}}, Val: 127},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident1", TypeSize: 1}}, Val: 69},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident2", TypeSize: 1}}, Val: 76},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident3", TypeSize: 1}}, Val: 70},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_class", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_data", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_ver", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_osabi", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_ident_pad", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_types", FldName: "e_type", TypeSize: 2}}, Vals: []uint64{2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_machines", FldName: "e_machine", TypeSize: 2}}, Vals: []uint64{3, 6, 62}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_version", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_entry", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "e_phoff", TypeSize: 4}}, BitSize: 8, Buf: "parent"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_shoff", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_ehsize", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_phentsize", TypeSize: 2}}, Val: 32},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_phnum", TypeSize: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shentsize", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shnum", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shstrndx", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "elf_hdr[int64, ELF64_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf_hdr[int64, ELF64_PHDR_SIZE]", TypeSize: 64}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident0", TypeSize: 1}}, Val: 127},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident1", TypeSize: 1}}, Val: 69},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident2", TypeSize: 1}}, Val: 76},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident3", TypeSize: 1}}, Val: 70},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_class", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_data", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_ver", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_osabi", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_ident_pad", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_types", FldName: "e_type", TypeSize: 2}}, Vals: []uint64{2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_machines", FldName: "e_machine", TypeSize: 2}}, Vals: []uint64{3, 6, 62}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_version", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_entry", TypeSize: 8}}, Kind: 2, RangeEnd: 1000},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "e_phoff", TypeSize: 8}}, BitSize: 8, Buf: "parent"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_shoff", TypeSize: 8}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_ehsize", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_phentsize", TypeSize: 2}}, Val: 56},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_phnum", TypeSize: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shentsize", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shnum", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shstrndx", TypeSize: 2}}},
+ }}},
{Key: StructKey{Name: "epoll_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "epoll_event", TypeSize: 12}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "epoll_ev", FldName: "ev", TypeSize: 4}}, Vals: []uint64{1, 4, 8192, 2, 8, 16, 2147483648, 1073741824, 268435456, 536870912}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "data", TypeSize: 8}}},
@@ -2491,6 +2592,18 @@ var structDescs_amd64 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sopass", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}}},
+ {Key: StructKey{Name: "exec"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "exec", TypeSize: 32}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "aouthdr_magics", FldName: "magic", TypeSize: 2}}, Vals: []uint64{263, 264, 267, 204}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "machtype", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flags", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_text", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_data", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_bss", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_syms", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_entry", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true},
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true},
@@ -24019,6 +24132,31 @@ var syscalls_amd64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "count", TypeSize: 8}}, Buf: "buf"},
}},
+ {NR: 1, Name: "write$binfmt_aout", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_aout"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 1, Name: "write$binfmt_elf32", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 1, Name: "write$binfmt_elf64", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 1, Name: "write$binfmt_misc", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_misc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 1, Name: "write$binfmt_script", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_script"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
{NR: 1, Name: "write$cgroup_int", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_cgroup_int", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "cgroup_int"}}},
@@ -24742,6 +24880,11 @@ var consts_amd64 = []ConstValue{
{Name: "EFD_CLOEXEC", Value: 524288},
{Name: "EFD_NONBLOCK", Value: 2048},
{Name: "EFD_SEMAPHORE", Value: 1},
+ {Name: "ELF32_PHDR_SIZE", Value: 32},
+ {Name: "ELF64_PHDR_SIZE", Value: 56},
+ {Name: "EM_386", Value: 3},
+ {Name: "EM_486", Value: 6},
+ {Name: "EM_X86_64", Value: 62},
{Name: "EPOLLET", Value: 2147483648},
{Name: "EPOLLEXCLUSIVE", Value: 268435456},
{Name: "EPOLLONESHOT", Value: 1073741824},
@@ -24925,6 +25068,8 @@ var consts_amd64 = []ConstValue{
{Name: "ETH_P_X25", Value: 2053},
{Name: "ETH_P_XDSA", Value: 248},
{Name: "ETH_RX_NFC_IP4", Value: 1},
+ {Name: "ET_DYN", Value: 3},
+ {Name: "ET_EXEC", Value: 2},
{Name: "EVIOCGABS0", Value: 2149074240},
{Name: "EVIOCGABS20", Value: 2149074272},
{Name: "EVIOCGABS2F", Value: 2149074287},
@@ -26474,6 +26619,7 @@ var consts_amd64 = []ConstValue{
{Name: "NLM_F_REPLACE", Value: 256},
{Name: "NLM_F_REQUEST", Value: 1},
{Name: "NLM_F_ROOT", Value: 256},
+ {Name: "NMAGIC", Value: 264},
{Name: "NO_CLIENT"},
{Name: "NTF_EXT_LEARNED", Value: 16},
{Name: "NTF_MASTER", Value: 4},
@@ -26499,6 +26645,7 @@ var consts_amd64 = []ConstValue{
{Name: "NUD_PROBE", Value: 16},
{Name: "NUD_REACHABLE", Value: 2},
{Name: "NUD_STALE", Value: 4},
+ {Name: "OMAGIC", Value: 263},
{Name: "O_APPEND", Value: 1024},
{Name: "O_CLOEXEC", Value: 524288},
{Name: "O_CREAT", Value: 64},
@@ -26781,12 +26928,23 @@ var consts_amd64 = []ConstValue{
{Name: "PTRACE_SYSEMU", Value: 31},
{Name: "PTRACE_SYSEMU_SINGLESTEP", Value: 32},
{Name: "PTRACE_TRACEME"},
+ {Name: "PT_DYNAMIC", Value: 2},
+ {Name: "PT_GNU_STACK", Value: 1685382481},
+ {Name: "PT_INTERP", Value: 3},
+ {Name: "PT_LOAD", Value: 1},
+ {Name: "PT_LOOS", Value: 1610612736},
+ {Name: "PT_LOPROC", Value: 1879048192},
+ {Name: "PT_NOTE", Value: 4},
+ {Name: "PT_PHDR", Value: 6},
+ {Name: "PT_SHLIB", Value: 5},
+ {Name: "PT_TLS", Value: 7},
{Name: "PX_PROTO_OE"},
{Name: "PX_PROTO_OL2TP", Value: 1},
{Name: "PX_PROTO_PPTP", Value: 2},
{Name: "P_ALL"},
{Name: "P_PGID", Value: 2},
{Name: "P_PID", Value: 1},
+ {Name: "QMAGIC", Value: 204},
{Name: "RDMA_MAX_PRIVATE_DATA", Value: 256},
{Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"},
{Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1},
@@ -28141,6 +28299,7 @@ var consts_amd64 = []ConstValue{
{Name: "XT_U32_RIGHTSH", Value: 2},
{Name: "XT_UDP_INV_DSTPT", Value: 2},
{Name: "XT_UDP_INV_SRCPT", Value: 1},
+ {Name: "ZMAGIC", Value: 267},
{Name: "_DRM_AGP", Value: 3},
{Name: "_DRM_AGP_BUFFER", Value: 2},
{Name: "_DRM_CONSISTENT", Value: 5},
@@ -28486,4 +28645,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "8a54ebce3896b2b7a86248b86dc56d6072d33f4e"
+const revision_amd64 = "24932aadbb69b69118573d5840e05321919b53fa"
diff --git a/sys/linux/arm.go b/sys/linux/arm.go
index 62c09041f..eb83630c7 100644
--- a/sys/linux/arm.go
+++ b/sys/linux/arm.go
@@ -181,7 +181,7 @@ var structDescs_arm = []*KeyedStruct{
}}},
{Key: StructKey{Name: "arp_generic_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "arp_generic_packet", IsVarlen: true}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "arp_htypes", FldName: "htype", TypeSize: 2}, BigEndian: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 15, 19, 23, 24, 27, 32, 256, 257, 258, 259, 260, 264, 270, 271, 272, 280, 512, 513, 513, 516, 517, 518, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 800, 801, 802, 803, 804, 805, 820, 821, 822, 823, 824, 825, 65535, 65534}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "ptype", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "ptype", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "hlen", TypeSize: 1}}, Val: 6},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "plen", TypeSize: 1}}, Buf: "spa"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "arp_ops", FldName: "op", TypeSize: 2}, BigEndian: true}, Vals: []uint64{1, 2, 3, 4, 8, 9, 10}},
@@ -519,6 +519,38 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "read_consumed", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "read_buffer", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
}}},
+ {Key: StructKey{Name: "binfmt_aout"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_aout", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "exec"}, FldName: "exec"},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "elf_hdr[int32, ELF32_PHDR_SIZE]"}, FldName: "hdr"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "phdr", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "elf32_phdr"}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "elf_hdr[int64, ELF64_PHDR_SIZE]"}, FldName: "hdr"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "phdr", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "elf64_phdr"}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_misc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_misc", IsVarlen: true}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hdr", TypeSize: 4}, Kind: 2, SubKind: "binfmt_misc_headers", Values: []string{"syz0", "syz1"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ }}},
+ {Key: StructKey{Name: "binfmt_script"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_script", IsVarlen: true}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hdr", TypeSize: 3}, Kind: 2, Values: []string{"#! "}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "bin", IsVarlen: true}, Kind: 3, NoZ: true},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "args", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "binfmt_script_arg"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl", TypeSize: 1}}, Val: 10},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ }}},
+ {Key: StructKey{Name: "binfmt_script_arg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_script_arg", IsVarlen: true}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "arg", IsVarlen: true}, Kind: 2, NoZ: true},
+ }}},
{Key: StructKey{Name: "bnep_connadd_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bnep_connadd_req", IsVarlen: true}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "sock", TypeSize: 4}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
@@ -1356,7 +1388,7 @@ var structDescs_arm = []*KeyedStruct{
}}},
{Key: StructKey{Name: "ebt_arp_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_arp_info", TypeSize: 52}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "arp_htypes", FldName: "htype", TypeSize: 2}, BigEndian: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 15, 19, 23, 24, 27, 32, 256, 257, 258, 259, 260, 264, 270, 271, 272, 280, 512, 513, 513, 516, 517, 518, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 800, 801, 802, 803, 804, 805, 820, 821, 822, 823, 824, 825, 65535, 65534}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "ptype", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "ptype", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "arp_ops", FldName: "op", TypeSize: 2}, BigEndian: true}, Vals: []uint64{1, 2, 3, 4, 8, 9, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "saddr"},
@@ -1573,7 +1605,7 @@ var structDescs_arm = []*KeyedStruct{
{Key: StructKey{Name: "ebt_entry_matches"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_entry_matches", IsVarlen: true}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_entry_bitmask", FldName: "bitmask", TypeSize: 4}}, Vals: []uint64{3, 5, 9, 17}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_entry_invflags", FldName: "invflags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "ethproto", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "ethproto", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "in", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "logical_in", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "out", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}},
@@ -1693,6 +1725,26 @@ var structDescs_arm = []*KeyedStruct{
{Key: StructKey{Name: "ebt_filter_targets"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_filter_targets", IsVarlen: true}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ebt_targets"}, FldName: "common"},
}}},
+ {Key: StructKey{Name: "ebt_get_entries"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_get_entries", TypeSize: 80}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, SubKind: "ebt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "broute\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "valid_hooks", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nentries", TypeSize: 4}}, Kind: 2, RangeBegin: 3, RangeEnd: 4},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "entries_size", TypeSize: 4}}, BitSize: 8, Buf: "entries"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "hook_entry", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "num_counters", TypeSize: 4}}, Buf: "counters"},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "counters", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "xt_counters", Dir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "entries", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
+ }}},
+ {Key: StructKey{Name: "ebt_getinfo"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_getinfo", TypeSize: 80}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, SubKind: "ebt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "broute\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "valid_hooks", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nentries", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "entries_size", TypeSize: 4}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "hook_entry", TypeSize: 24}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_counters", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "counters", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "entries", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "ebt_ip6_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ebt_ip6_info", TypeSize: 76}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "saddr"},
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "daddr"},
@@ -1902,10 +1954,79 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", TypeSize: 2}}, Kind: 2, RangeEnd: 4},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "prio", TypeSize: 1}}, Kind: 2, RangeEnd: 7},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "encap", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "encap", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_vlan_flags", FldName: "bitmask", TypeSize: 1}}, Vals: []uint64{1, 2, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_vlan_flags", FldName: "invflags", TypeSize: 1}}, Vals: []uint64{1, 2, 4}},
}}},
+ {Key: StructKey{Name: "elf32_phdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf32_phdr", TypeSize: 32}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_ptypes", FldName: "p_type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 1610612736, 1879048192, 1685382481}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_offset", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_vaddr", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_paddr", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_filesz", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_memsz", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_align", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "elf64_phdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf64_phdr", TypeSize: 56}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_ptypes", FldName: "p_type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 1610612736, 1879048192, 1685382481}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_vaddr", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_paddr", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_filesz", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_memsz", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_align", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "elf_hdr[int32, ELF32_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf_hdr[int32, ELF32_PHDR_SIZE]", TypeSize: 56}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident0", TypeSize: 1}}, Val: 127},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident1", TypeSize: 1}}, Val: 69},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident2", TypeSize: 1}}, Val: 76},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident3", TypeSize: 1}}, Val: 70},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_class", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_data", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_ver", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_osabi", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_ident_pad", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_types", FldName: "e_type", TypeSize: 2}}, Vals: []uint64{2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_machines", FldName: "e_machine", TypeSize: 2}}, Vals: []uint64{3, 6, 62}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_version", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_entry", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "e_phoff", TypeSize: 4}}, BitSize: 8, Buf: "parent"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_shoff", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_ehsize", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_phentsize", TypeSize: 2}}, Val: 32},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_phnum", TypeSize: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shentsize", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shnum", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shstrndx", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "elf_hdr[int64, ELF64_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf_hdr[int64, ELF64_PHDR_SIZE]", TypeSize: 64}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident0", TypeSize: 1}}, Val: 127},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident1", TypeSize: 1}}, Val: 69},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident2", TypeSize: 1}}, Val: 76},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident3", TypeSize: 1}}, Val: 70},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_class", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_data", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_ver", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_osabi", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_ident_pad", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_types", FldName: "e_type", TypeSize: 2}}, Vals: []uint64{2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_machines", FldName: "e_machine", TypeSize: 2}}, Vals: []uint64{3, 6, 62}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_version", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_entry", TypeSize: 8}}, Kind: 2, RangeEnd: 1000},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "e_phoff", TypeSize: 8}}, BitSize: 8, Buf: "parent"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_shoff", TypeSize: 8}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_ehsize", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_phentsize", TypeSize: 2}}, Val: 56},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_phnum", TypeSize: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shentsize", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shnum", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shstrndx", TypeSize: 2}}},
+ }}},
{Key: StructKey{Name: "epoll_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "epoll_event", TypeSize: 12}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "epoll_ev", FldName: "ev", TypeSize: 4}}, Vals: []uint64{1, 4, 8192, 2, 8, 16, 2147483648, 1073741824, 268435456, 536870912}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "data", TypeSize: 8}}},
@@ -1967,7 +2088,7 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "eth2_packet_t[ETH_P_CANFD, canfd_frame]"}, FldName: "canfd"},
}}},
{Key: StructKey{Name: "eth2_packet_generic"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "eth2_packet_generic", IsVarlen: true}, Fields: []Type{
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "etype", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "etype", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}},
}}},
{Key: StructKey{Name: "eth2_packet_t[ETH_P_802_2, llc_packet]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "eth2_packet_t[ETH_P_802_2, llc_packet]", IsVarlen: true}, Fields: []Type{
@@ -2400,6 +2521,18 @@ var structDescs_arm = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sopass", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}}},
+ {Key: StructKey{Name: "exec"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "exec", TypeSize: 32}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "aouthdr_magics", FldName: "magic", TypeSize: 2}}, Vals: []uint64{263, 264, 267, 204}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "machtype", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flags", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_text", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_data", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_bss", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_syms", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_entry", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true},
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true},
@@ -3353,7 +3486,7 @@ var structDescs_arm = []*KeyedStruct{
}}},
{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]", TypeSize: 24}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, BigEndian: true}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, BigEndian: true}, Val: 8939},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "seq", TypeSize: 4}, BigEndian: true}, Kind: 2, RangeEnd: 4},
&StructType{Key: StructKey{Name: "erspan_md2"}, FldName: "payload"},
}}},
@@ -3415,8 +3548,8 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "control", TypeSize: 1}, BitfieldOff: 5, BitfieldLen: 1, BitfieldMdl: true}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "version", TypeSize: 1}, BitfieldOff: 6, BitfieldLen: 2}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto_ctype", TypeSize: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "guehdr_flags", FldName: "flags", TypeSize: 2}}},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "priv", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "guehdr_prov_flags", TypeSize: 4}}}, Kind: 1, RangeEnd: 1},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "guehdr_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{256}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "priv", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "guehdr_prov_flags", TypeSize: 4}}, Vals: []uint64{128}}, Kind: 1, RangeEnd: 1},
}}},
{Key: StructKey{Name: "hashlimit_cfg1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hashlimit_cfg1", TypeSize: 32}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_hashlimit_modes", FldName: "mode", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}},
@@ -3913,7 +4046,7 @@ var structDescs_arm = []*KeyedStruct{
}}},
{Key: StructKey{Name: "ifreq_t[flags[tun_setiff_flags, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifreq_t[flags[tun_setiff_flags, int16]]", TypeSize: 32}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "ifr_ifrn", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tun_setiff_flags", FldName: "elem", TypeSize: 2}}, Vals: []uint64{1, 2, 4096, 8192, 16384, 32768, 256, 512, 1024, 2048, 4096}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tun_setiff_flags", FldName: "elem", TypeSize: 2}}, Vals: []uint64{1, 2, 16, 32, 4096, 8192, 16384, 32768, 256, 512, 1024, 2048, 4096}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 14}}, IsPad: true},
}}},
{Key: StructKey{Name: "ifreq_t[ifindex]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifreq_t[ifindex]", TypeSize: 32, ArgDir: 2}, Fields: []Type{
@@ -4577,8 +4710,8 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segs_left", TypeSize: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "last_entry", TypeSize: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}},
}}},
{Key: StructKey{Name: "ip6t_targets"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ip6t_targets", IsVarlen: true}, Fields: []Type{
&UnionType{Key: StructKey{Name: "xt_unspec_targets"}, FldName: "unspec"},
@@ -5491,7 +5624,7 @@ var structDescs_arm = []*KeyedStruct{
{Key: StructKey{Name: "ipv6_sr_hdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_sr_hdr", IsVarlen: true}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "nexthdr", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "hdrlen", TypeSize: 1}}, BitSize: 64, Buf: "segments"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 4},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "segments_left", TypeSize: 1}}, Buf: "segments"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "first_segment", TypeSize: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flags", TypeSize: 1}}},
@@ -6246,7 +6379,7 @@ var structDescs_arm = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sap_snap_values", FldName: "ssap", TypeSize: 1}}, Vals: []uint64{1, 170}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", IsVarlen: true}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "oui", TypeSize: 3}, Kind: 1, RangeBegin: 3, RangeEnd: 3},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "protocol_id", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "protocol_id", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}},
}}},
{Key: StructKey{Name: "loadlut"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "loadlut", TypeSize: 40}, Fields: []Type{
@@ -9115,7 +9248,7 @@ var structDescs_arm = []*KeyedStruct{
{Key: StructKey{Name: "rdma_ucm_create_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_id", TypeSize: 24}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_id_resp", Dir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_port_space", FldName: "ps", TypeSize: 2}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_port_space", FldName: "ps", TypeSize: 2}}, Vals: []uint64{1, 2, 319, 262, 273}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 4096, 4105}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 5}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 5, RangeEnd: 5},
}}},
@@ -10807,7 +10940,7 @@ var structDescs_arm = []*KeyedStruct{
}}},
{Key: StructKey{Name: "sockaddr_llc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_llc", TypeSize: 16}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sllc_family", TypeSize: 2}}, Val: 26},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dev_type_arphdr", FldName: "sllc_arphrd", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 15, 19, 23, 24, 27, 32, 256, 257, 258, 259, 260, 264, 270, 271, 272, 280, 512, 513, 513, 516, 517, 518, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 800, 801, 802, 803, 804, 805, 820, 821, 822, 823, 824, 825, 65535, 65534}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dev_type_arphdr", FldName: "sllc_arphrd", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 15, 19, 23, 24, 27, 32, 256, 257, 258, 259, 260, 264, 270, 271, 272, 280, 512, 513, 513, 516, 517, 518, 519, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 800, 801, 802, 803, 804, 805, 820, 821, 822, 823, 824, 825, 826, 65535, 65534}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sllc_test", TypeSize: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sllc_xid", TypeSize: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sllc_ua", TypeSize: 1}}},
@@ -10817,7 +10950,7 @@ var structDescs_arm = []*KeyedStruct{
}}},
{Key: StructKey{Name: "sockaddr_llc", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_llc", TypeSize: 16, ArgDir: 1}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sllc_family", TypeSize: 2, ArgDir: 1}}, Val: 26},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dev_type_arphdr", FldName: "sllc_arphrd", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 15, 19, 23, 24, 27, 32, 256, 257, 258, 259, 260, 264, 270, 271, 272, 280, 512, 513, 513, 516, 517, 518, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 800, 801, 802, 803, 804, 805, 820, 821, 822, 823, 824, 825, 65535, 65534}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dev_type_arphdr", FldName: "sllc_arphrd", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 15, 19, 23, 24, 27, 32, 256, 257, 258, 259, 260, 264, 270, 271, 272, 280, 512, 513, 513, 516, 517, 518, 519, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 800, 801, 802, 803, 804, 805, 820, 821, 822, 823, 824, 825, 826, 65535, 65534}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sllc_test", TypeSize: 1, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sllc_xid", TypeSize: 1, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sllc_ua", TypeSize: 1, ArgDir: 1}}},
@@ -10827,7 +10960,7 @@ var structDescs_arm = []*KeyedStruct{
}}},
{Key: StructKey{Name: "sockaddr_llc", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_llc", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sllc_family", TypeSize: 2, ArgDir: 2}}, Val: 26},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dev_type_arphdr", FldName: "sllc_arphrd", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 15, 19, 23, 24, 27, 32, 256, 257, 258, 259, 260, 264, 270, 271, 272, 280, 512, 513, 513, 516, 517, 518, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 800, 801, 802, 803, 804, 805, 820, 821, 822, 823, 824, 825, 65535, 65534}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dev_type_arphdr", FldName: "sllc_arphrd", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 15, 19, 23, 24, 27, 32, 256, 257, 258, 259, 260, 264, 270, 271, 272, 280, 512, 513, 513, 516, 517, 518, 519, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 800, 801, 802, 803, 804, 805, 820, 821, 822, 823, 824, 825, 826, 65535, 65534}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sllc_test", TypeSize: 1, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sllc_xid", TypeSize: 1, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sllc_ua", TypeSize: 1, ArgDir: 2}}},
@@ -11227,13 +11360,13 @@ var structDescs_arm = []*KeyedStruct{
{Key: StructKey{Name: "tcp_exp_fastopen_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tcp_exp_fastopen_option", IsVarlen: true}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 254},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 1}}, Buf: "parent"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subtype", TypeSize: 2}, BigEndian: true}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subtype", TypeSize: 2}, BigEndian: true}, Val: 63881},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 16},
}}},
{Key: StructKey{Name: "tcp_exp_smc_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tcp_exp_smc_option", TypeSize: 6}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 254},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 1}}, Buf: "parent"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subtype", TypeSize: 4}, BigEndian: true}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subtype", TypeSize: 4}, BigEndian: true}, Val: 3805594585},
}}},
{Key: StructKey{Name: "tcp_fastopen_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tcp_fastopen_option", IsVarlen: true}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 34},
@@ -11522,7 +11655,7 @@ var structDescs_arm = []*KeyedStruct{
}}},
{Key: StructKey{Name: "tun_pi"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tun_pi", TypeSize: 4}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "proto", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "proto", TypeSize: 2}, BigEndian: true}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}},
}}},
{Key: StructKey{Name: "tun_pi_or_void"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tun_pi_or_void", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "tun_pi"}, FldName: "pi"},
@@ -14963,6 +15096,41 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "xt_get_revision"}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4}}, Buf: "val"}},
}},
+ {NR: 295, Name: "getsockopt$EBT_SO_GET_ENTRIES", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 129},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ebt_get_entries"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4}}, Buf: "val"}},
+ }},
+ {NR: 295, Name: "getsockopt$EBT_SO_GET_INFO", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 128},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ebt_getinfo"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4}}, Buf: "val"}},
+ }},
+ {NR: 295, Name: "getsockopt$EBT_SO_GET_INIT_ENTRIES", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 131},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ebt_get_entries"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4}}, Buf: "val"}},
+ }},
+ {NR: 295, Name: "getsockopt$EBT_SO_GET_INIT_INFO", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 130},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ebt_getinfo"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4}}, Buf: "val"}},
+ }},
+ {NR: 295, Name: "getsockopt$IP6T_SO_GET_ENTRIES", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 41},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 65},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ipt_get_entries"}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4}}, Buf: "val"}},
+ }},
{NR: 295, Name: "getsockopt$IP6T_SO_GET_INFO", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 41},
@@ -18112,6 +18280,11 @@ var syscalls_arm = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147767521},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", TypeSize: 4}}},
}},
+ {NR: 54, Name: "ioctl$TUNSETGROUP", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074025678},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "arg", TypeSize: 4}},
+ }},
{NR: 54, Name: "ioctl$TUNSETIFF", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074025674},
@@ -18125,7 +18298,7 @@ var syscalls_arm = []*Syscall{
{NR: 54, Name: "ioctl$TUNSETLINK", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074025677},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dev_type_arphdr", FldName: "arg", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 15, 19, 23, 24, 27, 32, 256, 257, 258, 259, 260, 264, 270, 271, 272, 280, 512, 513, 513, 516, 517, 518, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 800, 801, 802, 803, 804, 805, 820, 821, 822, 823, 824, 825, 65535, 65534}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dev_type_arphdr", FldName: "arg", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 15, 19, 23, 24, 27, 32, 256, 257, 258, 259, 260, 264, 270, 271, 272, 280, 512, 513, 513, 516, 517, 518, 519, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 800, 801, 802, 803, 804, 805, 820, 821, 822, 823, 824, 825, 826, 65535, 65534}},
}},
{NR: 54, Name: "ioctl$TUNSETNOCSUM", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
@@ -18135,7 +18308,7 @@ var syscalls_arm = []*Syscall{
{NR: 54, Name: "ioctl$TUNSETOFFLOAD", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074025680},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tun_offload_flags", FldName: "arg", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tun_offload_flags", FldName: "arg", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16}},
}},
{NR: 54, Name: "ioctl$TUNSETOWNER", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
@@ -18167,11 +18340,21 @@ var syscalls_arm = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074025681},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tun_filter"}}},
}},
+ {NR: 54, Name: "ioctl$TUNSETVNETBE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074025694},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}},
+ }},
{NR: 54, Name: "ioctl$TUNSETVNETHDRSZ", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074025688},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
}},
+ {NR: 54, Name: "ioctl$TUNSETVNETLE", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074025692},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}},
+ }},
{NR: 54, Name: "ioctl$UFFDIO_API", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222841919},
@@ -19044,7 +19227,7 @@ var syscalls_arm = []*Syscall{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mbind_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4}},
}},
{NR: 389, Name: "membarrier", CallName: "membarrier", Args: []Type{
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "membarrier_cmd", FldName: "cmd", TypeSize: 4}}, Vals: []uint64{8, 16}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "membarrier_cmd", FldName: "cmd", TypeSize: 4}}, Vals: []uint64{1, 2, 8, 16, 32, 64}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
}},
{NR: 385, Name: "memfd_create", CallName: "memfd_create", Args: []Type{
@@ -20629,6 +20812,13 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "arpt_replace"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "val"},
}},
+ {NR: 294, Name: "setsockopt$EBT_SO_SET_COUNTERS", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 129},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ipt_counters_info"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "val"},
+ }},
{NR: 294, Name: "setsockopt$EBT_SO_SET_ENTRIES", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}},
@@ -20636,6 +20826,13 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "ebt_replace"}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "len", TypeSize: 4}}},
}},
+ {NR: 294, Name: "setsockopt$IP6T_SO_SET_ADD_COUNTERS", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 41},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 65},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ipt_counters_info"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "val"},
+ }},
{NR: 294, Name: "setsockopt$IP6T_SO_SET_REPLACE", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 41},
@@ -22423,6 +22620,11 @@ var syscalls_arm = []*Syscall{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sctp_socket_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 5}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 132},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 281, Name: "socket$inet_smc", CallName: "socket", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 43},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 281, Name: "socket$inet_tcp", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1},
@@ -22607,6 +22809,12 @@ var syscalls_arm = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 132},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sctp_pair", Dir: 1}}},
}},
+ {NR: 288, Name: "socketpair$inet_smc", CallName: "socketpair", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 43},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tcp_pair", Dir: 1}}},
+ }},
{NR: 288, Name: "socketpair$inet_tcp", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1},
@@ -23205,6 +23413,31 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "count", TypeSize: 4}}, Buf: "buf"},
}},
+ {NR: 4, Name: "write$binfmt_aout", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "binfmt_aout"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 4, Name: "write$binfmt_elf32", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 4, Name: "write$binfmt_elf64", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 4, Name: "write$binfmt_misc", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "binfmt_misc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 4, Name: "write$binfmt_script", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "binfmt_script"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"},
+ }},
{NR: 4, Name: "write$cgroup_int", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_cgroup_int", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "cgroup_int"}}},
@@ -23325,6 +23558,7 @@ var consts_arm = []ConstValue{
{Name: "AF_PPPOX", Value: 24},
{Name: "AF_QIPCRTR", Value: 42},
{Name: "AF_RDS", Value: 21},
+ {Name: "AF_SMC", Value: 43},
{Name: "AF_UNIX", Value: 1},
{Name: "AF_UNSPEC"},
{Name: "AF_VSOCK", Value: 40},
@@ -23401,6 +23635,7 @@ var consts_arm = []ConstValue{
{Name: "ARPHRD_PPP", Value: 512},
{Name: "ARPHRD_PRONET", Value: 4},
{Name: "ARPHRD_RAWHDLC", Value: 518},
+ {Name: "ARPHRD_RAWIP", Value: 519},
{Name: "ARPHRD_ROSE", Value: 270},
{Name: "ARPHRD_RSRVD", Value: 260},
{Name: "ARPHRD_SIT", Value: 776},
@@ -23410,6 +23645,7 @@ var consts_arm = []ConstValue{
{Name: "ARPHRD_TUNNEL", Value: 768},
{Name: "ARPHRD_TUNNEL6", Value: 769},
{Name: "ARPHRD_VOID", Value: 65535},
+ {Name: "ARPHRD_VSOCKMON", Value: 826},
{Name: "ARPHRD_X25", Value: 271},
{Name: "ARPOP_InREPLY", Value: 9},
{Name: "ARPOP_InREQUEST", Value: 8},
@@ -23901,6 +24137,11 @@ var consts_arm = []ConstValue{
{Name: "EBT_NOPROTO_F", Value: 3},
{Name: "EBT_RETURN", Value: 18446744073709551612},
{Name: "EBT_SOURCEMAC_F", Value: 9},
+ {Name: "EBT_SO_GET_ENTRIES", Value: 129},
+ {Name: "EBT_SO_GET_INFO", Value: 128},
+ {Name: "EBT_SO_GET_INIT_ENTRIES", Value: 131},
+ {Name: "EBT_SO_GET_INIT_INFO", Value: 130},
+ {Name: "EBT_SO_SET_COUNTERS", Value: 129},
{Name: "EBT_SO_SET_ENTRIES", Value: 128},
{Name: "EBT_STP_FLAGS", Value: 2},
{Name: "EBT_STP_FWDD", Value: 2048},
@@ -23920,6 +24161,11 @@ var consts_arm = []ConstValue{
{Name: "EFD_CLOEXEC", Value: 524288},
{Name: "EFD_NONBLOCK", Value: 2048},
{Name: "EFD_SEMAPHORE", Value: 1},
+ {Name: "ELF32_PHDR_SIZE", Value: 32},
+ {Name: "ELF64_PHDR_SIZE", Value: 56},
+ {Name: "EM_386", Value: 3},
+ {Name: "EM_486", Value: 6},
+ {Name: "EM_X86_64", Value: 62},
{Name: "EPOLLET", Value: 2147483648},
{Name: "EPOLLEXCLUSIVE", Value: 268435456},
{Name: "EPOLLONESHOT", Value: 1073741824},
@@ -24051,6 +24297,7 @@ var consts_arm = []ConstValue{
{Name: "ETH_P_ECONET", Value: 24},
{Name: "ETH_P_EDSA", Value: 56026},
{Name: "ETH_P_ERSPAN", Value: 35006},
+ {Name: "ETH_P_ERSPAN2", Value: 8939},
{Name: "ETH_P_FCOE", Value: 35078},
{Name: "ETH_P_FIP", Value: 35092},
{Name: "ETH_P_HDLC", Value: 25},
@@ -24102,6 +24349,8 @@ var consts_arm = []ConstValue{
{Name: "ETH_P_X25", Value: 2053},
{Name: "ETH_P_XDSA", Value: 248},
{Name: "ETH_RX_NFC_IP4", Value: 1},
+ {Name: "ET_DYN", Value: 3},
+ {Name: "ET_EXEC", Value: 2},
{Name: "EVIOCGABS0", Value: 2149074240},
{Name: "EVIOCGABS20", Value: 2149074272},
{Name: "EVIOCGABS2F", Value: 2149074287},
@@ -24283,6 +24532,8 @@ var consts_arm = []ConstValue{
{Name: "GIO_UNISCRNMAP", Value: 19305},
{Name: "GRND_NONBLOCK", Value: 1},
{Name: "GRND_RANDOM", Value: 2},
+ {Name: "GUE_FLAG_PRIV", Value: 256},
+ {Name: "GUE_PFLAG_REMCSUM", Value: 128},
{Name: "HCIBLOCKADDR", Value: 1074022630},
{Name: "HCIDEVDOWN", Value: 1074022602},
{Name: "HCIDEVRESET", Value: 1074022603},
@@ -24450,6 +24701,8 @@ var consts_arm = []ConstValue{
{Name: "IFF_MASTER", Value: 1024},
{Name: "IFF_MULTICAST", Value: 4096},
{Name: "IFF_MULTI_QUEUE", Value: 256},
+ {Name: "IFF_NAPI", Value: 16},
+ {Name: "IFF_NAPI_FRAGS", Value: 32},
{Name: "IFF_NOARP", Value: 128},
{Name: "IFF_NOFILTER", Value: 4096},
{Name: "IFF_NOTRAILERS", Value: 32},
@@ -24600,10 +24853,23 @@ var consts_arm = []ConstValue{
{Name: "IP6T_RT_RES", Value: 8},
{Name: "IP6T_RT_SGS", Value: 2},
{Name: "IP6T_RT_TYP", Value: 1},
+ {Name: "IP6T_SO_GET_ENTRIES", Value: 65},
{Name: "IP6T_SO_GET_REVISION_MATCH", Value: 68},
{Name: "IP6T_SO_GET_REVISION_TARGET", Value: 69},
{Name: "IP6T_SO_ORIGINAL_DST", Value: 80},
+ {Name: "IP6T_SO_SET_ADD_COUNTERS", Value: 65},
{Name: "IP6T_SO_SET_REPLACE", Value: 64},
+ {Name: "IP6T_SRH_LAST_EQ", Value: 128},
+ {Name: "IP6T_SRH_LAST_GT", Value: 256},
+ {Name: "IP6T_SRH_LAST_LT", Value: 512},
+ {Name: "IP6T_SRH_LEN_EQ", Value: 2},
+ {Name: "IP6T_SRH_LEN_GT", Value: 4},
+ {Name: "IP6T_SRH_LEN_LT", Value: 8},
+ {Name: "IP6T_SRH_NEXTHDR", Value: 1},
+ {Name: "IP6T_SRH_SEGS_EQ", Value: 16},
+ {Name: "IP6T_SRH_SEGS_GT", Value: 32},
+ {Name: "IP6T_SRH_SEGS_LT", Value: 64},
+ {Name: "IP6T_SRH_TAG", Value: 1024},
{Name: "IP6T_TCP_RESET", Value: 6},
{Name: "IP6_RT_PRIO_ADDRCONF", Value: 256},
{Name: "IP6_RT_PRIO_USER", Value: 1024},
@@ -24788,6 +25054,7 @@ var consts_arm = []ConstValue{
{Name: "IPV6_SRCRT_STRICT", Value: 1},
{Name: "IPV6_SRCRT_TYPE_0"},
{Name: "IPV6_SRCRT_TYPE_2", Value: 2},
+ {Name: "IPV6_SRCRT_TYPE_4", Value: 4},
{Name: "IPV6_TCLASS", Value: 67},
{Name: "IPV6_TLV_CALIPSO", Value: 7},
{Name: "IPV6_TLV_HAO", Value: 201},
@@ -25332,9 +25599,12 @@ var consts_arm = []ConstValue{
{Name: "MCAST_UNBLOCK_SOURCE", Value: 44},
{Name: "MCL_CURRENT", Value: 1},
{Name: "MCL_FUTURE", Value: 2},
+ {Name: "MEMBARRIER_CMD_GLOBAL", Value: 1},
+ {Name: "MEMBARRIER_CMD_GLOBAL_EXPEDITED", Value: 2},
{Name: "MEMBARRIER_CMD_PRIVATE_EXPEDITED", Value: 8},
+ {Name: "MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE", Value: 32},
{Name: "MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED", Value: 16},
- {Name: "MEMBARRIER_CMD_SHARED", Value: 1},
+ {Name: "MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE", Value: 64},
{Name: "MFD_ALLOW_SEALING", Value: 2},
{Name: "MFD_CLOEXEC", Value: 1},
{Name: "MIFF_REGISTER", Value: 1},
@@ -25558,7 +25828,6 @@ var consts_arm = []ConstValue{
{Name: "NF_INET_LOCAL_IN_BIT", Value: 2},
{Name: "NF_INET_LOCAL_OUT_BIT", Value: 8},
{Name: "NF_INET_NUMHOOKS", Value: 5},
- {Name: "NF_INET_NUMHOOKS_BIT", Value: 32},
{Name: "NF_INET_POST_ROUTING_BIT", Value: 16},
{Name: "NF_INET_PRE_ROUTING_BIT", Value: 1},
{Name: "NF_NAT_RANGE_MAP_IPS", Value: 1},
@@ -25585,6 +25854,7 @@ var consts_arm = []ConstValue{
{Name: "NLM_F_REPLACE", Value: 256},
{Name: "NLM_F_REQUEST", Value: 1},
{Name: "NLM_F_ROOT", Value: 256},
+ {Name: "NMAGIC", Value: 264},
{Name: "NO_CLIENT"},
{Name: "NTF_EXT_LEARNED", Value: 16},
{Name: "NTF_MASTER", Value: 4},
@@ -25610,6 +25880,7 @@ var consts_arm = []ConstValue{
{Name: "NUD_PROBE", Value: 16},
{Name: "NUD_REACHABLE", Value: 2},
{Name: "NUD_STALE", Value: 4},
+ {Name: "OMAGIC", Value: 263},
{Name: "O_APPEND", Value: 1024},
{Name: "O_CLOEXEC", Value: 524288},
{Name: "O_CREAT", Value: 64},
@@ -25890,12 +26161,23 @@ var consts_arm = []ConstValue{
{Name: "PTRACE_SINGLESTEP", Value: 9},
{Name: "PTRACE_SYSCALL", Value: 24},
{Name: "PTRACE_TRACEME"},
+ {Name: "PT_DYNAMIC", Value: 2},
+ {Name: "PT_GNU_STACK", Value: 1685382481},
+ {Name: "PT_INTERP", Value: 3},
+ {Name: "PT_LOAD", Value: 1},
+ {Name: "PT_LOOS", Value: 1610612736},
+ {Name: "PT_LOPROC", Value: 1879048192},
+ {Name: "PT_NOTE", Value: 4},
+ {Name: "PT_PHDR", Value: 6},
+ {Name: "PT_SHLIB", Value: 5},
+ {Name: "PT_TLS", Value: 7},
{Name: "PX_PROTO_OE"},
{Name: "PX_PROTO_OL2TP", Value: 1},
{Name: "PX_PROTO_PPTP", Value: 2},
{Name: "P_ALL"},
{Name: "P_PGID", Value: 2},
{Name: "P_PID", Value: 1},
+ {Name: "QMAGIC", Value: 204},
{Name: "RDMA_MAX_PRIVATE_DATA", Value: 256},
{Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"},
{Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1},
@@ -25905,6 +26187,11 @@ var consts_arm = []ConstValue{
{Name: "RDMA_OPTION_ID_AFONLY", Value: 2},
{Name: "RDMA_OPTION_ID_REUSEADDR", Value: 1},
{Name: "RDMA_OPTION_ID_TOS"},
+ {Name: "RDMA_PS_IB", Value: 319},
+ {Name: "RDMA_PS_IPOIB", Value: 2},
+ {Name: "RDMA_PS_SDP", Value: 1},
+ {Name: "RDMA_PS_TCP", Value: 262},
+ {Name: "RDMA_PS_UDP", Value: 273},
{Name: "RDMA_UCM_EVENT_RESP_SIZE", Value: 324},
{Name: "RDMA_USER_CM_CMD_ACCEPT", Value: 8},
{Name: "RDMA_USER_CM_CMD_BIND", Value: 20},
@@ -26656,6 +26943,10 @@ var consts_arm = []ConstValue{
{Name: "SPP_PMTUD_ENABLE", Value: 8},
{Name: "SPP_SACKDELAY_DISABLE", Value: 64},
{Name: "SPP_SACKDELAY_ENABLE", Value: 32},
+ {Name: "SR6_FLAG1_ALERT", Value: 16},
+ {Name: "SR6_FLAG1_HMAC", Value: 8},
+ {Name: "SR6_FLAG1_OAM", Value: 32},
+ {Name: "SR6_FLAG1_PROTECTED", Value: 64},
{Name: "STARTTIMER", Value: 2},
{Name: "STATX_ALL", Value: 4095},
{Name: "STATX_ATIME", Value: 32},
@@ -26716,11 +27007,13 @@ var consts_arm = []ConstValue{
{Name: "TCPOPT_EOL"},
{Name: "TCPOPT_EXP", Value: 254},
{Name: "TCPOPT_FASTOPEN", Value: 34},
+ {Name: "TCPOPT_FASTOPEN_MAGIC", Value: 63881},
{Name: "TCPOPT_MD5SIG", Value: 19},
{Name: "TCPOPT_MSS", Value: 2},
{Name: "TCPOPT_NOP", Value: 1},
{Name: "TCPOPT_SACK", Value: 5},
{Name: "TCPOPT_SACK_PERM", Value: 4},
+ {Name: "TCPOPT_SMC_MAGIC", Value: 3805594585},
{Name: "TCPOPT_TIMESTAMP", Value: 8},
{Name: "TCPOPT_WINDOW", Value: 3},
{Name: "TCP_CC_INFO", Value: 26},
@@ -26810,6 +27103,7 @@ var consts_arm = []ConstValue{
{Name: "TUNGETSNDBUF", Value: 2147767507},
{Name: "TUNGETVNETHDRSZ", Value: 2147767511},
{Name: "TUNSETFILTEREBPF", Value: 2147767521},
+ {Name: "TUNSETGROUP", Value: 1074025678},
{Name: "TUNSETIFF", Value: 1074025674},
{Name: "TUNSETIFINDEX", Value: 1074025690},
{Name: "TUNSETLINK", Value: 1074025677},
@@ -26821,8 +27115,15 @@ var consts_arm = []ConstValue{
{Name: "TUNSETSNDBUF", Value: 1074025684},
{Name: "TUNSETSTEERINGEBPF", Value: 2147767520},
{Name: "TUNSETTXFILTER", Value: 1074025681},
+ {Name: "TUNSETVNETBE", Value: 1074025694},
{Name: "TUNSETVNETHDRSZ", Value: 1074025688},
+ {Name: "TUNSETVNETLE", Value: 1074025692},
{Name: "TUN_FLT_ALLMULTI", Value: 1},
+ {Name: "TUN_F_CSUM", Value: 1},
+ {Name: "TUN_F_TSO4", Value: 2},
+ {Name: "TUN_F_TSO6", Value: 4},
+ {Name: "TUN_F_TSO_ECN", Value: 8},
+ {Name: "TUN_F_UFO", Value: 16},
{Name: "TX_ANNOUNCE", Value: 8},
{Name: "TX_COUNTEVT", Value: 4},
{Name: "TX_CP_CAN_ID", Value: 16},
@@ -27217,6 +27518,7 @@ var consts_arm = []ConstValue{
{Name: "XT_U32_RIGHTSH", Value: 2},
{Name: "XT_UDP_INV_DSTPT", Value: 2},
{Name: "XT_UDP_INV_SRCPT", Value: 1},
+ {Name: "ZMAGIC", Value: 267},
{Name: "_DRM_AGP", Value: 3},
{Name: "_DRM_AGP_BUFFER", Value: 2},
{Name: "_DRM_CONSISTENT", Value: 5},
@@ -27550,4 +27852,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "f044fd67eca13dc803c1f57973510ca9186a2df6"
+const revision_arm = "a09959c7b47fd83fbcbd5bffe7153e7fc44dfd0c"
diff --git a/sys/linux/arm64.go b/sys/linux/arm64.go
index 91f336393..e99bc4896 100644
--- a/sys/linux/arm64.go
+++ b/sys/linux/arm64.go
@@ -520,6 +520,38 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "read_consumed", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "read_buffer", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
}}},
+ {Key: StructKey{Name: "binfmt_aout"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_aout", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "exec"}, FldName: "exec"},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "elf_hdr[int32, ELF32_PHDR_SIZE]"}, FldName: "hdr"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "phdr", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "elf32_phdr"}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "elf_hdr[int64, ELF64_PHDR_SIZE]"}, FldName: "hdr"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "phdr", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "elf64_phdr"}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_misc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_misc", IsVarlen: true}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hdr", TypeSize: 4}, Kind: 2, SubKind: "binfmt_misc_headers", Values: []string{"syz0", "syz1"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ }}},
+ {Key: StructKey{Name: "binfmt_script"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_script", IsVarlen: true}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hdr", TypeSize: 3}, Kind: 2, Values: []string{"#! "}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "bin", IsVarlen: true}, Kind: 3, NoZ: true},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "args", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "binfmt_script_arg"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl", TypeSize: 1}}, Val: 10},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ }}},
+ {Key: StructKey{Name: "binfmt_script_arg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_script_arg", IsVarlen: true}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "arg", IsVarlen: true}, Kind: 2, NoZ: true},
+ }}},
{Key: StructKey{Name: "bnep_connadd_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bnep_connadd_req", IsVarlen: true}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "sock", TypeSize: 4}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
@@ -1997,6 +2029,75 @@ var structDescs_arm64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_vlan_flags", FldName: "bitmask", TypeSize: 1}}, Vals: []uint64{1, 2, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_vlan_flags", FldName: "invflags", TypeSize: 1}}, Vals: []uint64{1, 2, 4}},
}}},
+ {Key: StructKey{Name: "elf32_phdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf32_phdr", TypeSize: 32}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_ptypes", FldName: "p_type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 1610612736, 1879048192, 1685382481}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_offset", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_vaddr", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_paddr", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_filesz", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_memsz", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_align", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "elf64_phdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf64_phdr", TypeSize: 56}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_ptypes", FldName: "p_type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 1610612736, 1879048192, 1685382481}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_vaddr", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_paddr", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_filesz", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_memsz", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_align", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "elf_hdr[int32, ELF32_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf_hdr[int32, ELF32_PHDR_SIZE]", TypeSize: 56}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident0", TypeSize: 1}}, Val: 127},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident1", TypeSize: 1}}, Val: 69},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident2", TypeSize: 1}}, Val: 76},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident3", TypeSize: 1}}, Val: 70},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_class", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_data", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_ver", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_osabi", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_ident_pad", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_types", FldName: "e_type", TypeSize: 2}}, Vals: []uint64{2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_machines", FldName: "e_machine", TypeSize: 2}}, Vals: []uint64{3, 6, 62}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_version", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_entry", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "e_phoff", TypeSize: 4}}, BitSize: 8, Buf: "parent"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_shoff", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_ehsize", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_phentsize", TypeSize: 2}}, Val: 32},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_phnum", TypeSize: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shentsize", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shnum", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shstrndx", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "elf_hdr[int64, ELF64_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf_hdr[int64, ELF64_PHDR_SIZE]", TypeSize: 64}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident0", TypeSize: 1}}, Val: 127},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident1", TypeSize: 1}}, Val: 69},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident2", TypeSize: 1}}, Val: 76},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident3", TypeSize: 1}}, Val: 70},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_class", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_data", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_ver", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_osabi", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_ident_pad", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_types", FldName: "e_type", TypeSize: 2}}, Vals: []uint64{2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_machines", FldName: "e_machine", TypeSize: 2}}, Vals: []uint64{3, 6, 62}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_version", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_entry", TypeSize: 8}}, Kind: 2, RangeEnd: 1000},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "e_phoff", TypeSize: 8}}, BitSize: 8, Buf: "parent"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_shoff", TypeSize: 8}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_ehsize", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_phentsize", TypeSize: 2}}, Val: 56},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_phnum", TypeSize: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shentsize", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shnum", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shstrndx", TypeSize: 2}}},
+ }}},
{Key: StructKey{Name: "epoll_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "epoll_event", TypeSize: 12}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "epoll_ev", FldName: "ev", TypeSize: 4}}, Vals: []uint64{1, 4, 8192, 2, 8, 16, 2147483648, 1073741824, 268435456, 536870912}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "data", TypeSize: 8}}},
@@ -2491,6 +2592,18 @@ var structDescs_arm64 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sopass", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}}},
+ {Key: StructKey{Name: "exec"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "exec", TypeSize: 32}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "aouthdr_magics", FldName: "magic", TypeSize: 2}}, Vals: []uint64{263, 264, 267, 204}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "machtype", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flags", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_text", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_data", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_bss", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_syms", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_entry", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true},
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true},
@@ -23485,6 +23598,31 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "count", TypeSize: 8}}, Buf: "buf"},
}},
+ {NR: 64, Name: "write$binfmt_aout", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_aout"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 64, Name: "write$binfmt_elf32", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 64, Name: "write$binfmt_elf64", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 64, Name: "write$binfmt_misc", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_misc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 64, Name: "write$binfmt_script", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_script"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
{NR: 64, Name: "write$cgroup_int", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_cgroup_int", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "cgroup_int"}}},
@@ -24208,6 +24346,11 @@ var consts_arm64 = []ConstValue{
{Name: "EFD_CLOEXEC", Value: 524288},
{Name: "EFD_NONBLOCK", Value: 2048},
{Name: "EFD_SEMAPHORE", Value: 1},
+ {Name: "ELF32_PHDR_SIZE", Value: 32},
+ {Name: "ELF64_PHDR_SIZE", Value: 56},
+ {Name: "EM_386", Value: 3},
+ {Name: "EM_486", Value: 6},
+ {Name: "EM_X86_64", Value: 62},
{Name: "EPOLLET", Value: 2147483648},
{Name: "EPOLLEXCLUSIVE", Value: 268435456},
{Name: "EPOLLONESHOT", Value: 1073741824},
@@ -24391,6 +24534,8 @@ var consts_arm64 = []ConstValue{
{Name: "ETH_P_X25", Value: 2053},
{Name: "ETH_P_XDSA", Value: 248},
{Name: "ETH_RX_NFC_IP4", Value: 1},
+ {Name: "ET_DYN", Value: 3},
+ {Name: "ET_EXEC", Value: 2},
{Name: "EVIOCGABS0", Value: 2149074240},
{Name: "EVIOCGABS20", Value: 2149074272},
{Name: "EVIOCGABS2F", Value: 2149074287},
@@ -25903,6 +26048,7 @@ var consts_arm64 = []ConstValue{
{Name: "NLM_F_REPLACE", Value: 256},
{Name: "NLM_F_REQUEST", Value: 1},
{Name: "NLM_F_ROOT", Value: 256},
+ {Name: "NMAGIC", Value: 264},
{Name: "NO_CLIENT"},
{Name: "NTF_EXT_LEARNED", Value: 16},
{Name: "NTF_MASTER", Value: 4},
@@ -25928,6 +26074,7 @@ var consts_arm64 = []ConstValue{
{Name: "NUD_PROBE", Value: 16},
{Name: "NUD_REACHABLE", Value: 2},
{Name: "NUD_STALE", Value: 4},
+ {Name: "OMAGIC", Value: 263},
{Name: "O_APPEND", Value: 1024},
{Name: "O_CLOEXEC", Value: 524288},
{Name: "O_CREAT", Value: 64},
@@ -26204,12 +26351,23 @@ var consts_arm64 = []ConstValue{
{Name: "PTRACE_SINGLESTEP", Value: 9},
{Name: "PTRACE_SYSCALL", Value: 24},
{Name: "PTRACE_TRACEME"},
+ {Name: "PT_DYNAMIC", Value: 2},
+ {Name: "PT_GNU_STACK", Value: 1685382481},
+ {Name: "PT_INTERP", Value: 3},
+ {Name: "PT_LOAD", Value: 1},
+ {Name: "PT_LOOS", Value: 1610612736},
+ {Name: "PT_LOPROC", Value: 1879048192},
+ {Name: "PT_NOTE", Value: 4},
+ {Name: "PT_PHDR", Value: 6},
+ {Name: "PT_SHLIB", Value: 5},
+ {Name: "PT_TLS", Value: 7},
{Name: "PX_PROTO_OE"},
{Name: "PX_PROTO_OL2TP", Value: 1},
{Name: "PX_PROTO_PPTP", Value: 2},
{Name: "P_ALL"},
{Name: "P_PGID", Value: 2},
{Name: "P_PID", Value: 1},
+ {Name: "QMAGIC", Value: 204},
{Name: "RDMA_MAX_PRIVATE_DATA", Value: 256},
{Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"},
{Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1},
@@ -27564,6 +27722,7 @@ var consts_arm64 = []ConstValue{
{Name: "XT_U32_RIGHTSH", Value: 2},
{Name: "XT_UDP_INV_DSTPT", Value: 2},
{Name: "XT_UDP_INV_SRCPT", Value: 1},
+ {Name: "ZMAGIC", Value: 267},
{Name: "_DRM_AGP", Value: 3},
{Name: "_DRM_AGP_BUFFER", Value: 2},
{Name: "_DRM_CONSISTENT", Value: 5},
@@ -27868,4 +28027,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "2b84001d08c857c19e8d97435de1bbe85336b0a3"
+const revision_arm64 = "dd81ca38ea3909f82900958a18a6cd8fd3e22092"
diff --git a/sys/linux/binfmt.txt b/sys/linux/binfmt.txt
new file mode 100644
index 000000000..3e86ab61a
--- /dev/null
+++ b/sys/linux/binfmt.txt
@@ -0,0 +1,121 @@
+# Copyright 2018 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+include <uapi/linux/a.out.h>
+include <uapi/linux/elf.h>
+
+execve(file ptr[in, filename], argv ptr[in, array[ptr[in, string]]], envp ptr[in, array[ptr[in, string]]])
+execveat(dirfd fd_dir, file ptr[in, filename], argv ptr[in, array[ptr[in, string]]], envp ptr[in, array[ptr[in, string]]], flags flags[at_flags])
+
+write$binfmt_script(fd fd, data ptr[in, binfmt_script], len bytesize[data])
+write$binfmt_misc(fd fd, data ptr[in, binfmt_misc], len bytesize[data])
+write$binfmt_aout(fd fd, data ptr[in, binfmt_aout], len bytesize[data])
+write$binfmt_elf32(fd fd, data ptr[in, binfmt_elf32], len bytesize[data])
+write$binfmt_elf64(fd fd, data ptr[in, binfmt_elf64], len bytesize[data])
+
+binfmt_script {
+ hdr stringnoz["#! "]
+ bin stringnoz[filename]
+ args array[binfmt_script_arg]
+ nl const[0xa, int8]
+ data array[int8]
+} [packed]
+
+binfmt_script_arg {
+ sp const[0x20, int8]
+ arg stringnoz
+}
+
+binfmt_misc {
+ hdr stringnoz[binfmt_misc_headers]
+ data array[int8]
+}
+
+binfmt_misc_headers = "syz0", "syz1"
+
+binfmt_aout {
+ exec exec
+ data array[int8]
+# Just to make the file of a non-trivial size.
+ pad array[array[const[0, int64], 32], 0:10]
+} [packed]
+
+exec {
+ magic flags[aouthdr_magics, int16]
+ machtype int8
+ flags int8
+ a_text int32[0:1000]
+ a_data int32[0:1000]
+ a_bss int32
+ a_syms int32[0:1000]
+ a_entry int32
+ a_trsize const[0, int32]
+ a_drsize const[0, int32]
+}
+
+aouthdr_magics = OMAGIC, NMAGIC, ZMAGIC, QMAGIC
+
+type binfmt_elf32 binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]
+type binfmt_elf64 binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]
+
+type binfmt_elf[ADDR, PHDR, PHENTSIZE] {
+ hdr elf_hdr[ADDR, PHENTSIZE]
+ phdr array[PHDR, 1:2]
+ data array[int8]
+# Just to make the file of a non-trivial size.
+ pad array[array[const[0, int64], 32], 0:10]
+} [packed]
+
+type elf_hdr[ADDR, PHENTSIZE] {
+ e_ident0 const[0x7f, int8]
+ e_ident1 const[0x45, int8]
+ e_ident2 const[0x4c, int8]
+ e_ident3 const[0x46, int8]
+ e_ident_class int8
+ e_ident_data int8
+ e_ident_ver int8
+ e_ident_osabi int8
+ e_ident_pad int64
+ e_type flags[elf_types, int16]
+ e_machine flags[elf_machines, int16]
+ e_version int32
+ e_entry ADDR[0:1000]
+ e_phoff bytesize[parent, ADDR]
+ e_shoff ADDR[0:1000]
+ e_flags int32
+ e_ehsize int16
+ e_phentsize const[PHENTSIZE, int16]
+ e_phnum int16[1:2]
+ e_shentsize int16
+ e_shnum int16
+ e_shstrndx int16
+}
+
+elf32_phdr {
+ p_type flags[elf_ptypes, int32]
+ p_offset int32
+ p_vaddr int32
+ p_paddr int32
+ p_filesz int32
+ p_memsz int32
+ p_flags int32
+ p_align int32
+} [size[ELF32_PHDR_SIZE]]
+
+elf64_phdr {
+ p_type flags[elf_ptypes, int32]
+ p_flags int32
+ p_offset int64
+ p_vaddr int64
+ p_paddr int64
+ p_filesz int64
+ p_memsz int64
+ p_align int64
+} [size[ELF64_PHDR_SIZE]]
+
+elf_types = ET_EXEC, ET_DYN
+elf_machines = EM_386, EM_486, EM_X86_64
+elf_ptypes = PT_LOAD, PT_DYNAMIC, PT_INTERP, PT_NOTE, PT_SHLIB, PT_PHDR, PT_TLS, PT_LOOS, PT_LOPROC, PT_GNU_STACK
+
+define ELF32_PHDR_SIZE sizeof(struct elf32_phdr)
+define ELF64_PHDR_SIZE sizeof(struct elf64_phdr)
diff --git a/sys/linux/binfmt_386.const b/sys/linux/binfmt_386.const
new file mode 100644
index 000000000..2ae16d8cb
--- /dev/null
+++ b/sys/linux/binfmt_386.const
@@ -0,0 +1,25 @@
+# AUTOGENERATED FILE
+ELF32_PHDR_SIZE = 32
+ELF64_PHDR_SIZE = 56
+EM_386 = 3
+EM_486 = 6
+EM_X86_64 = 62
+ET_DYN = 3
+ET_EXEC = 2
+NMAGIC = 264
+OMAGIC = 263
+PT_DYNAMIC = 2
+PT_GNU_STACK = 1685382481
+PT_INTERP = 3
+PT_LOAD = 1
+PT_LOOS = 1610612736
+PT_LOPROC = 1879048192
+PT_NOTE = 4
+PT_PHDR = 6
+PT_SHLIB = 5
+PT_TLS = 7
+QMAGIC = 204
+ZMAGIC = 267
+__NR_execve = 11
+__NR_execveat = 358
+__NR_write = 4
diff --git a/sys/linux/binfmt_amd64.const b/sys/linux/binfmt_amd64.const
new file mode 100644
index 000000000..7b6669298
--- /dev/null
+++ b/sys/linux/binfmt_amd64.const
@@ -0,0 +1,25 @@
+# AUTOGENERATED FILE
+ELF32_PHDR_SIZE = 32
+ELF64_PHDR_SIZE = 56
+EM_386 = 3
+EM_486 = 6
+EM_X86_64 = 62
+ET_DYN = 3
+ET_EXEC = 2
+NMAGIC = 264
+OMAGIC = 263
+PT_DYNAMIC = 2
+PT_GNU_STACK = 1685382481
+PT_INTERP = 3
+PT_LOAD = 1
+PT_LOOS = 1610612736
+PT_LOPROC = 1879048192
+PT_NOTE = 4
+PT_PHDR = 6
+PT_SHLIB = 5
+PT_TLS = 7
+QMAGIC = 204
+ZMAGIC = 267
+__NR_execve = 59
+__NR_execveat = 322
+__NR_write = 1
diff --git a/sys/linux/binfmt_arm.const b/sys/linux/binfmt_arm.const
new file mode 100644
index 000000000..a5b2d8195
--- /dev/null
+++ b/sys/linux/binfmt_arm.const
@@ -0,0 +1,25 @@
+# AUTOGENERATED FILE
+ELF32_PHDR_SIZE = 32
+ELF64_PHDR_SIZE = 56
+EM_386 = 3
+EM_486 = 6
+EM_X86_64 = 62
+ET_DYN = 3
+ET_EXEC = 2
+NMAGIC = 264
+OMAGIC = 263
+PT_DYNAMIC = 2
+PT_GNU_STACK = 1685382481
+PT_INTERP = 3
+PT_LOAD = 1
+PT_LOOS = 1610612736
+PT_LOPROC = 1879048192
+PT_NOTE = 4
+PT_PHDR = 6
+PT_SHLIB = 5
+PT_TLS = 7
+QMAGIC = 204
+ZMAGIC = 267
+__NR_execve = 11
+__NR_execveat = 387
+__NR_write = 4
diff --git a/sys/linux/binfmt_arm64.const b/sys/linux/binfmt_arm64.const
new file mode 100644
index 000000000..cd2b2a88a
--- /dev/null
+++ b/sys/linux/binfmt_arm64.const
@@ -0,0 +1,25 @@
+# AUTOGENERATED FILE
+ELF32_PHDR_SIZE = 32
+ELF64_PHDR_SIZE = 56
+EM_386 = 3
+EM_486 = 6
+EM_X86_64 = 62
+ET_DYN = 3
+ET_EXEC = 2
+NMAGIC = 264
+OMAGIC = 263
+PT_DYNAMIC = 2
+PT_GNU_STACK = 1685382481
+PT_INTERP = 3
+PT_LOAD = 1
+PT_LOOS = 1610612736
+PT_LOPROC = 1879048192
+PT_NOTE = 4
+PT_PHDR = 6
+PT_SHLIB = 5
+PT_TLS = 7
+QMAGIC = 204
+ZMAGIC = 267
+__NR_execve = 221
+__NR_execveat = 281
+__NR_write = 64
diff --git a/sys/linux/binfmt_ppc64le.const b/sys/linux/binfmt_ppc64le.const
new file mode 100644
index 000000000..fde402647
--- /dev/null
+++ b/sys/linux/binfmt_ppc64le.const
@@ -0,0 +1,25 @@
+# AUTOGENERATED FILE
+ELF32_PHDR_SIZE = 32
+ELF64_PHDR_SIZE = 56
+EM_386 = 3
+EM_486 = 6
+EM_X86_64 = 62
+ET_DYN = 3
+ET_EXEC = 2
+NMAGIC = 264
+OMAGIC = 263
+PT_DYNAMIC = 2
+PT_GNU_STACK = 1685382481
+PT_INTERP = 3
+PT_LOAD = 1
+PT_LOOS = 1610612736
+PT_LOPROC = 1879048192
+PT_NOTE = 4
+PT_PHDR = 6
+PT_SHLIB = 5
+PT_TLS = 7
+QMAGIC = 204
+ZMAGIC = 267
+__NR_execve = 11
+__NR_execveat = 362
+__NR_write = 4
diff --git a/sys/linux/netfilter_arm.const b/sys/linux/netfilter_arm.const
index bd5f15997..035c43aca 100644
--- a/sys/linux/netfilter_arm.const
+++ b/sys/linux/netfilter_arm.const
@@ -28,7 +28,6 @@ NFACCT_NAME_MAX = 32
NF_INET_FORWARD_BIT = 4
NF_INET_LOCAL_IN_BIT = 2
NF_INET_LOCAL_OUT_BIT = 8
-NF_INET_NUMHOOKS_BIT = 32
NF_INET_POST_ROUTING_BIT = 16
NF_INET_PRE_ROUTING_BIT = 1
PATH_MAX = 4096
diff --git a/sys/linux/netfilter_arp_arm.const b/sys/linux/netfilter_arp_arm.const
index e6fb93e61..3d74cefc5 100644
--- a/sys/linux/netfilter_arp_arm.const
+++ b/sys/linux/netfilter_arp_arm.const
@@ -29,5 +29,5 @@ NF_DROP = 0
SOL_IP = 0
XT_CONTINUE = 4294967295
XT_TABLE_MAXNAMELEN = 32
-__NR_setsockopt = 294
__NR_getsockopt = 295
+__NR_setsockopt = 294
diff --git a/sys/linux/netfilter_bridge_arm.const b/sys/linux/netfilter_bridge_arm.const
index b2e0338a0..588c582c8 100644
--- a/sys/linux/netfilter_bridge_arm.const
+++ b/sys/linux/netfilter_bridge_arm.const
@@ -53,6 +53,11 @@ EBT_NFLOG_PREFIX_SIZE = 64
EBT_NOPROTO_F = 3
EBT_RETURN = 18446744073709551612
EBT_SOURCEMAC_F = 9
+EBT_SO_GET_ENTRIES = 129
+EBT_SO_GET_INFO = 128
+EBT_SO_GET_INIT_ENTRIES = 131
+EBT_SO_GET_INIT_INFO = 130
+EBT_SO_SET_COUNTERS = 129
EBT_SO_SET_ENTRIES = 128
EBT_STP_FLAGS = 2
EBT_STP_FWDD = 2048
@@ -84,4 +89,5 @@ NF_BR_PRE_ROUTING_BIT = 1
SOL_IP = 0
XT_FUNCTION_MAXNAMELEN = 30
XT_TABLE_MAXNAMELEN = 32
+__NR_getsockopt = 295
__NR_setsockopt = 294
diff --git a/sys/linux/netfilter_ipv4_arm.const b/sys/linux/netfilter_ipv4_arm.const
index 60d691bae..960a5f070 100644
--- a/sys/linux/netfilter_ipv4_arm.const
+++ b/sys/linux/netfilter_ipv4_arm.const
@@ -42,11 +42,10 @@ IPT_TTL_NE = 1
MAXGENRELEN = 32
NF_INET_NUMHOOKS = 5
SOL_IP = 0
-XT_EXTENSION_MAXNAMELEN = 29
XT_OSF_GENRE = 1
XT_OSF_INVERT = 8
XT_OSF_LOG = 4
XT_OSF_TTL = 2
XT_TABLE_MAXNAMELEN = 32
-__NR_setsockopt = 294
__NR_getsockopt = 295
+__NR_setsockopt = 294
diff --git a/sys/linux/netfilter_ipv6_arm.const b/sys/linux/netfilter_ipv6_arm.const
index f542a5c2e..9226395d1 100644
--- a/sys/linux/netfilter_ipv6_arm.const
+++ b/sys/linux/netfilter_ipv6_arm.const
@@ -44,13 +44,29 @@ IP6T_RT_LEN = 4
IP6T_RT_RES = 8
IP6T_RT_SGS = 2
IP6T_RT_TYP = 1
+IP6T_SO_GET_ENTRIES = 65
+IP6T_SO_GET_REVISION_MATCH = 68
+IP6T_SO_GET_REVISION_TARGET = 69
+IP6T_SO_SET_ADD_COUNTERS = 65
IP6T_SO_SET_REPLACE = 64
+IP6T_SRH_LAST_EQ = 128
+IP6T_SRH_LAST_GT = 256
+IP6T_SRH_LAST_LT = 512
+IP6T_SRH_LEN_EQ = 2
+IP6T_SRH_LEN_GT = 4
+IP6T_SRH_LEN_LT = 8
+IP6T_SRH_NEXTHDR = 1
+IP6T_SRH_SEGS_EQ = 16
+IP6T_SRH_SEGS_GT = 32
+IP6T_SRH_SEGS_LT = 64
+IP6T_SRH_TAG = 1024
IP6T_TCP_RESET = 6
# IPT_FILTER_VALID_HOOKS is not set
# IPT_MANGLE_VALID_HOOKS is not set
# IPT_NAT_VALID_HOOKS is not set
# IPT_RAW_VALID_HOOKS is not set
# IPT_SECURITY_VALID_HOOKS is not set
+# IPT_SO_GET_INFO is not set
MASK_AH = 8
MASK_DSTOPTS = 64
MASK_ESP = 4
@@ -61,4 +77,5 @@ MASK_PROTO = 1
MASK_ROUTING = 32
SOL_IPV6 = 41
XT_TABLE_MAXNAMELEN = 32
+__NR_getsockopt = 295
__NR_setsockopt = 294
diff --git a/sys/linux/ppc64le.go b/sys/linux/ppc64le.go
index cb490b740..3514dcbf7 100644
--- a/sys/linux/ppc64le.go
+++ b/sys/linux/ppc64le.go
@@ -514,6 +514,38 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "read_consumed", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "read_buffer", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
}}},
+ {Key: StructKey{Name: "binfmt_aout"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_aout", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "exec"}, FldName: "exec"},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "elf_hdr[int32, ELF32_PHDR_SIZE]"}, FldName: "hdr"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "phdr", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "elf32_phdr"}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "elf_hdr[int64, ELF64_PHDR_SIZE]"}, FldName: "hdr"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "phdr", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "elf64_phdr"}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", IsVarlen: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 256}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, Kind: 1, RangeEnd: 10},
+ }}},
+ {Key: StructKey{Name: "binfmt_misc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_misc", IsVarlen: true}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hdr", TypeSize: 4}, Kind: 2, SubKind: "binfmt_misc_headers", Values: []string{"syz0", "syz1"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ }}},
+ {Key: StructKey{Name: "binfmt_script"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_script", IsVarlen: true}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hdr", TypeSize: 3}, Kind: 2, Values: []string{"#! "}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "bin", IsVarlen: true}, Kind: 3, NoZ: true},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "args", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "binfmt_script_arg"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl", TypeSize: 1}}, Val: 10},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ }}},
+ {Key: StructKey{Name: "binfmt_script_arg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "binfmt_script_arg", IsVarlen: true}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "arg", IsVarlen: true}, Kind: 2, NoZ: true},
+ }}},
{Key: StructKey{Name: "bnep_connadd_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bnep_connadd_req", IsVarlen: true}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "sock", TypeSize: 4}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
@@ -1991,6 +2023,75 @@ var structDescs_ppc64le = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_vlan_flags", FldName: "bitmask", TypeSize: 1}}, Vals: []uint64{1, 2, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ebt_vlan_flags", FldName: "invflags", TypeSize: 1}}, Vals: []uint64{1, 2, 4}},
}}},
+ {Key: StructKey{Name: "elf32_phdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf32_phdr", TypeSize: 32}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_ptypes", FldName: "p_type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 1610612736, 1879048192, 1685382481}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_offset", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_vaddr", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_paddr", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_filesz", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_memsz", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_align", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "elf64_phdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf64_phdr", TypeSize: 56}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_ptypes", FldName: "p_type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 1610612736, 1879048192, 1685382481}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "p_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_offset", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_vaddr", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_paddr", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_filesz", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_memsz", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "p_align", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "elf_hdr[int32, ELF32_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf_hdr[int32, ELF32_PHDR_SIZE]", TypeSize: 56}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident0", TypeSize: 1}}, Val: 127},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident1", TypeSize: 1}}, Val: 69},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident2", TypeSize: 1}}, Val: 76},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident3", TypeSize: 1}}, Val: 70},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_class", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_data", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_ver", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_osabi", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_ident_pad", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_types", FldName: "e_type", TypeSize: 2}}, Vals: []uint64{2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_machines", FldName: "e_machine", TypeSize: 2}}, Vals: []uint64{3, 6, 62}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_version", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_entry", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "e_phoff", TypeSize: 4}}, BitSize: 8, Buf: "parent"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_shoff", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_ehsize", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_phentsize", TypeSize: 2}}, Val: 32},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_phnum", TypeSize: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shentsize", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shnum", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shstrndx", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "elf_hdr[int64, ELF64_PHDR_SIZE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "elf_hdr[int64, ELF64_PHDR_SIZE]", TypeSize: 64}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident0", TypeSize: 1}}, Val: 127},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident1", TypeSize: 1}}, Val: 69},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident2", TypeSize: 1}}, Val: 76},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_ident3", TypeSize: 1}}, Val: 70},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_class", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_data", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_ver", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "e_ident_osabi", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_ident_pad", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_types", FldName: "e_type", TypeSize: 2}}, Vals: []uint64{2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "elf_machines", FldName: "e_machine", TypeSize: 2}}, Vals: []uint64{3, 6, 62}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_version", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_entry", TypeSize: 8}}, Kind: 2, RangeEnd: 1000},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "e_phoff", TypeSize: 8}}, BitSize: 8, Buf: "parent"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "e_shoff", TypeSize: 8}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "e_flags", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_ehsize", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "e_phentsize", TypeSize: 2}}, Val: 56},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_phnum", TypeSize: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shentsize", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shnum", TypeSize: 2}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "e_shstrndx", TypeSize: 2}}},
+ }}},
{Key: StructKey{Name: "epoll_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "epoll_event", TypeSize: 12}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "epoll_ev", FldName: "ev", TypeSize: 4}}, Vals: []uint64{1, 4, 8192, 2, 8, 16, 2147483648, 1073741824, 268435456, 536870912}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "data", TypeSize: 8}}},
@@ -2485,6 +2586,18 @@ var structDescs_ppc64le = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sopass", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}}},
+ {Key: StructKey{Name: "exec"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "exec", TypeSize: 32}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "aouthdr_magics", FldName: "magic", TypeSize: 2}}, Vals: []uint64{263, 264, 267, 204}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "machtype", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flags", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_text", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_data", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_bss", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_syms", TypeSize: 4}}, Kind: 2, RangeEnd: 1000},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "a_entry", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_trsize", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_drsize", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "ext4_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ext4_options", IsVarlen: true}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "bsddf", TypeSize: 5}, Kind: 2, Values: []string{"bsddf"}, NoZ: true},
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "minixdf", TypeSize: 7}, Kind: 2, Values: []string{"minixdf"}, NoZ: true},
@@ -23252,6 +23365,31 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "count", TypeSize: 8}}, Buf: "buf"},
}},
+ {NR: 4, Name: "write$binfmt_aout", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_aout"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 4, Name: "write$binfmt_elf32", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_elf[int32, elf32_phdr, ELF32_PHDR_SIZE]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 4, Name: "write$binfmt_elf64", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_elf[int64, elf64_phdr, ELF64_PHDR_SIZE]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 4, Name: "write$binfmt_misc", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_misc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
+ {NR: 4, Name: "write$binfmt_script", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "binfmt_script"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"},
+ }},
{NR: 4, Name: "write$cgroup_int", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_cgroup_int", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "cgroup_int"}}},
@@ -23975,6 +24113,11 @@ var consts_ppc64le = []ConstValue{
{Name: "EFD_CLOEXEC", Value: 524288},
{Name: "EFD_NONBLOCK", Value: 2048},
{Name: "EFD_SEMAPHORE", Value: 1},
+ {Name: "ELF32_PHDR_SIZE", Value: 32},
+ {Name: "ELF64_PHDR_SIZE", Value: 56},
+ {Name: "EM_386", Value: 3},
+ {Name: "EM_486", Value: 6},
+ {Name: "EM_X86_64", Value: 62},
{Name: "EPOLLET", Value: 2147483648},
{Name: "EPOLLEXCLUSIVE", Value: 268435456},
{Name: "EPOLLONESHOT", Value: 1073741824},
@@ -24158,6 +24301,8 @@ var consts_ppc64le = []ConstValue{
{Name: "ETH_P_X25", Value: 2053},
{Name: "ETH_P_XDSA", Value: 248},
{Name: "ETH_RX_NFC_IP4", Value: 1},
+ {Name: "ET_DYN", Value: 3},
+ {Name: "ET_EXEC", Value: 2},
{Name: "EVIOCGABS0", Value: 1075332416},
{Name: "EVIOCGABS20", Value: 1075332448},
{Name: "EVIOCGABS2F", Value: 1075332463},
@@ -25660,6 +25805,7 @@ var consts_ppc64le = []ConstValue{
{Name: "NLM_F_REPLACE", Value: 256},
{Name: "NLM_F_REQUEST", Value: 1},
{Name: "NLM_F_ROOT", Value: 256},
+ {Name: "NMAGIC", Value: 264},
{Name: "NO_CLIENT"},
{Name: "NTF_EXT_LEARNED", Value: 16},
{Name: "NTF_MASTER", Value: 4},
@@ -25685,6 +25831,7 @@ var consts_ppc64le = []ConstValue{
{Name: "NUD_PROBE", Value: 16},
{Name: "NUD_REACHABLE", Value: 2},
{Name: "NUD_STALE", Value: 4},
+ {Name: "OMAGIC", Value: 263},
{Name: "O_APPEND", Value: 1024},
{Name: "O_CLOEXEC", Value: 524288},
{Name: "O_CREAT", Value: 64},
@@ -25965,12 +26112,23 @@ var consts_ppc64le = []ConstValue{
{Name: "PTRACE_SINGLESTEP", Value: 9},
{Name: "PTRACE_SYSCALL", Value: 24},
{Name: "PTRACE_TRACEME"},
+ {Name: "PT_DYNAMIC", Value: 2},
+ {Name: "PT_GNU_STACK", Value: 1685382481},
+ {Name: "PT_INTERP", Value: 3},
+ {Name: "PT_LOAD", Value: 1},
+ {Name: "PT_LOOS", Value: 1610612736},
+ {Name: "PT_LOPROC", Value: 1879048192},
+ {Name: "PT_NOTE", Value: 4},
+ {Name: "PT_PHDR", Value: 6},
+ {Name: "PT_SHLIB", Value: 5},
+ {Name: "PT_TLS", Value: 7},
{Name: "PX_PROTO_OE"},
{Name: "PX_PROTO_OL2TP", Value: 1},
{Name: "PX_PROTO_PPTP", Value: 2},
{Name: "P_ALL"},
{Name: "P_PGID", Value: 2},
{Name: "P_PID", Value: 1},
+ {Name: "QMAGIC", Value: 204},
{Name: "RDMA_MAX_PRIVATE_DATA", Value: 256},
{Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"},
{Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1},
@@ -27301,6 +27459,7 @@ var consts_ppc64le = []ConstValue{
{Name: "XT_U32_RIGHTSH", Value: 2},
{Name: "XT_UDP_INV_DSTPT", Value: 2},
{Name: "XT_UDP_INV_SRCPT", Value: 1},
+ {Name: "ZMAGIC", Value: 267},
{Name: "_DRM_AGP", Value: 3},
{Name: "_DRM_AGP_BUFFER", Value: 2},
{Name: "_DRM_CONSISTENT", Value: 5},
@@ -27630,4 +27789,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "c13af053f60f33816aba186c4a06e174af1bd018"
+const revision_ppc64le = "d29bbcde3112f45dc4a59658a38af50fdfad03ba"
diff --git a/sys/linux/rdma_cm_arm.const b/sys/linux/rdma_cm_arm.const
index 8767beedb..10636bfda 100644
--- a/sys/linux/rdma_cm_arm.const
+++ b/sys/linux/rdma_cm_arm.const
@@ -52,11 +52,11 @@ RDMA_OPTION_ID = 0
RDMA_OPTION_ID_AFONLY = 2
RDMA_OPTION_ID_REUSEADDR = 1
RDMA_OPTION_ID_TOS = 0
-# RDMA_PS_IB is not set
-# RDMA_PS_IPOIB is not set
-# RDMA_PS_SDP is not set
-# RDMA_PS_TCP is not set
-# RDMA_PS_UDP is not set
+RDMA_PS_IB = 319
+RDMA_PS_IPOIB = 2
+RDMA_PS_SDP = 1
+RDMA_PS_TCP = 262
+RDMA_PS_UDP = 273
RDMA_UCM_EVENT_RESP_SIZE = 324
RDMA_USER_CM_CMD_ACCEPT = 8
RDMA_USER_CM_CMD_BIND = 20
diff --git a/sys/linux/socket_can_arm.const b/sys/linux/socket_can_arm.const
index 5154182aa..e941c294e 100644
--- a/sys/linux/socket_can_arm.const
+++ b/sys/linux/socket_can_arm.const
@@ -7,7 +7,6 @@ CAN_BCM = 2
CAN_FD_FRAME = 2048
CAN_MAX_DLEN = 8
CAN_RAW = 1
-IFNAMSIZ = 16
RX_ANNOUNCE_RESUME = 256
RX_CHECK_DLC = 64
RX_DELETE = 6
diff --git a/sys/linux/socket_inet6_arm.const b/sys/linux/socket_inet6_arm.const
index 5ff21038e..4cff3238a 100644
--- a/sys/linux/socket_inet6_arm.const
+++ b/sys/linux/socket_inet6_arm.const
@@ -119,6 +119,7 @@ SIOCDELRT = 35084
SIOCDIFADDR = 35126
SIOCSIFADDR = 35094
SIOCSIFDSTADDR = 35096
+# SOCKADDR_STORAGE_SIZE is not set
__NR_accept = 285
__NR_accept4 = 366
__NR_bind = 282
diff --git a/sys/linux/socket_inet_arm.const b/sys/linux/socket_inet_arm.const
index e577bf16f..a0ebc41a1 100644
--- a/sys/linux/socket_inet_arm.const
+++ b/sys/linux/socket_inet_arm.const
@@ -88,6 +88,8 @@ SIOCSIFDSTADDR = 35096
SIOCSIFFLAGS = 35092
SIOCSIFNETMASK = 35100
SIOCSIFPFLAGS = 35124
+# SOCKADDR_SIZE is not set
+# SOCKADDR_STORAGE_SIZE is not set
__NR_accept = 285
__NR_accept4 = 366
__NR_bind = 282
diff --git a/sys/linux/socket_inet_tcp_arm.const b/sys/linux/socket_inet_tcp_arm.const
index 8cb8a6468..7fdf47ff9 100644
--- a/sys/linux/socket_inet_tcp_arm.const
+++ b/sys/linux/socket_inet_tcp_arm.const
@@ -1,6 +1,7 @@
# AUTOGENERATED FILE
AF_INET = 2
AF_INET6 = 10
+AF_SMC = 43
IPPROTO_TCP = 6
SIOCATMARK = 35077
SIOCINQ = 21531
diff --git a/sys/linux/socket_ipx_arm.const b/sys/linux/socket_ipx_arm.const
index a7a059a3f..207e23886 100644
--- a/sys/linux/socket_ipx_arm.const
+++ b/sys/linux/socket_ipx_arm.const
@@ -1,6 +1,5 @@
# AUTOGENERATED FILE
AF_IPX = 4
-IFNAMSIZ = 16
IPX_TYPE = 1
SIOCAIPXITFCRT = 35296
SIOCAIPXPRISLT = 35297
diff --git a/sys/linux/socket_llc_arm.const b/sys/linux/socket_llc_arm.const
index 777437f49..e558d5d91 100644
--- a/sys/linux/socket_llc_arm.const
+++ b/sys/linux/socket_llc_arm.const
@@ -1,30 +1,5 @@
# AUTOGENERATED FILE
AF_LLC = 26
-ETH_P_802_2 = 4
-ETH_P_802_3 = 1
-ETH_P_ALL = 3
-ETH_P_ARCNET = 26
-ETH_P_AX25 = 2
-ETH_P_CAIF = 247
-ETH_P_CAN = 12
-ETH_P_CANFD = 13
-ETH_P_CONTROL = 22
-ETH_P_DDCMP = 6
-ETH_P_DSA = 27
-ETH_P_ECONET = 24
-ETH_P_HDLC = 25
-ETH_P_IEEE802154 = 246
-ETH_P_IRDA = 23
-ETH_P_LOCALTALK = 9
-ETH_P_MOBITEX = 21
-ETH_P_PHONET = 245
-ETH_P_PPPTALK = 16
-ETH_P_PPP_MP = 8
-ETH_P_SNAP = 5
-ETH_P_TRAILER = 28
-ETH_P_TR_802_2 = 17
-ETH_P_WAN_PPP = 7
-ETH_P_XDSA = 248
LLC_OPT_ACK_TMR_EXP = 3
LLC_OPT_BUSY_TMR_EXP = 6
LLC_OPT_PKTINFO = 9
@@ -34,10 +9,10 @@ LLC_OPT_RETRY = 1
LLC_OPT_RX_WIN = 8
LLC_OPT_SIZE = 2
LLC_OPT_TX_WIN = 7
+# SOCKADDR_SIZE is not set
SOCK_DGRAM = 2
SOCK_STREAM = 1
SOL_LLC = 268
-__NR_accept = 285
__NR_accept4 = 366
__NR_bind = 282
__NR_connect = 283
@@ -47,5 +22,3 @@ __NR_getsockopt = 295
__NR_recvfrom = 292
__NR_sendto = 290
__NR_setsockopt = 294
-__NR_socket = 281
-__NR_socketpair = 288
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt
index 798e59126..a7849385a 100644
--- a/sys/linux/sys.txt
+++ b/sys/linux/sys.txt
@@ -261,8 +261,6 @@ futimesat(dir fd_dir, pathname ptr[in, filename], times ptr[in, itimerval])
utimensat(dir fd_dir, pathname ptr[in, filename], times ptr[in, itimerval], flags flags[utimensat_flags])
clone(flags flags[clone_flags], sp buffer[in], parentid ptr[out, int32], childtid ptr[out, int32], tls buffer[in])
-execve(file ptr[in, filename], argv ptr[in, array[ptr[in, string]]], envp ptr[in, array[ptr[in, string]]])
-execveat(dirfd fd_dir, file ptr[in, filename], argv ptr[in, array[ptr[in, string]]], envp ptr[in, array[ptr[in, string]]], flags flags[at_flags])
resource pid[int32]: 0, 0xffffffffffffffff
resource uid[int32]: 0, 0xffffffffffffffff
diff --git a/sys/linux/sys_386.const b/sys/linux/sys_386.const
index af17c1ac2..44132141e 100644
--- a/sys/linux/sys_386.const
+++ b/sys/linux/sys_386.const
@@ -614,8 +614,6 @@ __NR_epoll_pwait = 319
__NR_epoll_wait = 256
__NR_eventfd = 323
__NR_eventfd2 = 328
-__NR_execve = 11
-__NR_execveat = 358
__NR_exit = 1
__NR_exit_group = 252
__NR_faccessat = 307
diff --git a/sys/linux/sys_amd64.const b/sys/linux/sys_amd64.const
index ab9ec5ce7..9a7fe8f66 100644
--- a/sys/linux/sys_amd64.const
+++ b/sys/linux/sys_amd64.const
@@ -614,8 +614,6 @@ __NR_epoll_pwait = 281
__NR_epoll_wait = 232
__NR_eventfd = 284
__NR_eventfd2 = 290
-__NR_execve = 59
-__NR_execveat = 322
__NR_exit = 60
__NR_exit_group = 231
__NR_faccessat = 269
diff --git a/sys/linux/sys_arm.const b/sys/linux/sys_arm.const
index 3ad0402fe..f52f370fa 100644
--- a/sys/linux/sys_arm.const
+++ b/sys/linux/sys_arm.const
@@ -259,16 +259,16 @@ MAP_SYNC = 524288
MAP_UNINITIALIZED = 0
MCL_CURRENT = 1
MCL_FUTURE = 2
+MEMBARRIER_CMD_GLOBAL = 1
+MEMBARRIER_CMD_GLOBAL_EXPEDITED = 2
MEMBARRIER_CMD_PRIVATE_EXPEDITED = 8
+MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE = 32
MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED = 16
-MEMBARRIER_CMD_SHARED = 1
+MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE = 64
MFD_ALLOW_SEALING = 2
MFD_CLOEXEC = 1
MLOCK_ONFAULT = 1
MMAP_PAGE_ZERO = 1048576
-MNT_DETACH = 2
-MNT_EXPIRE = 4
-MNT_FORCE = 1
MODULE_INIT_IGNORE_MODVERSIONS = 1
MODULE_INIT_IGNORE_VERMAGIC = 2
MPOL_BIND = 2
@@ -286,31 +286,8 @@ MPOL_PREFERRED = 1
MREMAP_FIXED = 2
MREMAP_MAYMOVE = 1
MS_ASYNC = 1
-MS_BIND = 4096
-MS_DIRSYNC = 128
MS_INVALIDATE = 2
-MS_I_VERSION = 8388608
-MS_LAZYTIME = 33554432
-MS_MANDLOCK = 64
-MS_MOVE = 8192
-MS_NOATIME = 1024
-MS_NODEV = 4
-MS_NODIRATIME = 2048
-MS_NOEXEC = 8
-MS_NOSUID = 2
-MS_POSIXACL = 65536
-MS_PRIVATE = 262144
-MS_RDONLY = 1
-MS_REC = 16384
-MS_RELATIME = 2097152
-MS_REMOUNT = 32
-MS_SHARED = 1048576
-MS_SILENT = 32768
-MS_SLAVE = 524288
-MS_STRICTATIME = 16777216
MS_SYNC = 4
-MS_SYNCHRONOUS = 16
-MS_UNBINDABLE = 131072
NT_386_IOPERM = 513
NT_386_TLS = 512
NT_AUXV = 6
@@ -602,25 +579,6 @@ TFD_CLOEXEC = 524288
TFD_NONBLOCK = 2048
TFD_TIMER_ABSTIME = 1
TIMER_ABSTIME = 1
-UFFDIO_API = 3222841919
-UFFDIO_COPY = 3223890435
-UFFDIO_COPY_MODE_DONTWAKE = 1
-UFFDIO_REGISTER = 3223366144
-UFFDIO_REGISTER_MODE_MISSING = 1
-UFFDIO_REGISTER_MODE_WP = 2
-UFFDIO_UNREGISTER = 2148575745
-UFFDIO_WAKE = 2148575746
-UFFDIO_ZEROPAGE = 3223366148
-UFFDIO_ZEROPAGE_MODE_DONTWAKE = 1
-UFFD_API = 170
-UFFD_FEATURE_EVENT_FORK = 2
-UFFD_FEATURE_EVENT_REMAP = 4
-UFFD_FEATURE_EVENT_REMOVE = 8
-UFFD_FEATURE_EVENT_UNMAP = 64
-UFFD_FEATURE_MISSING_HUGETLBFS = 16
-UFFD_FEATURE_MISSING_SHMEM = 32
-UFFD_FEATURE_PAGEFAULT_FLAG_WP = 1
-UMOUNT_NOFOLLOW = 8
WCONTINUED = 8
WEXITED = 4
WHOLE_SECONDS = 33554432
@@ -656,8 +614,6 @@ __NR_epoll_pwait = 346
__NR_epoll_wait = 252
__NR_eventfd = 351
__NR_eventfd2 = 356
-__NR_execve = 11
-__NR_execveat = 387
__NR_exit = 1
__NR_exit_group = 248
__NR_faccessat = 334
@@ -741,7 +697,6 @@ __NR_mlockall = 152
__NR_mmap = 192
__NR_mmap2 = 192
# __NR_modify_ldt is not set
-__NR_mount = 21
__NR_move_pages = 344
__NR_mprotect = 125
__NR_mq_getsetattr = 279
@@ -861,13 +816,11 @@ __NR_timerfd_settime = 353
__NR_times = 43
__NR_tkill = 238
__NR_truncate = 92
-__NR_umount2 = 52
__NR_uname = 122
__NR_unlink = 10
__NR_unlinkat = 328
__NR_unshare = 337
__NR_uselib = 86
-__NR_userfaultfd = 388
__NR_ustat = 62
# __NR_utime is not set
__NR_utimensat = 348
diff --git a/sys/linux/sys_arm64.const b/sys/linux/sys_arm64.const
index 0e1420c87..ce908b8c8 100644
--- a/sys/linux/sys_arm64.const
+++ b/sys/linux/sys_arm64.const
@@ -614,8 +614,6 @@ __NR_epoll_pwait = 22
# __NR_epoll_wait is not set
# __NR_eventfd is not set
__NR_eventfd2 = 19
-__NR_execve = 221
-__NR_execveat = 281
__NR_exit = 93
__NR_exit_group = 94
__NR_faccessat = 48
diff --git a/sys/linux/sys_ppc64le.const b/sys/linux/sys_ppc64le.const
index 28a1aac98..15cd283ee 100644
--- a/sys/linux/sys_ppc64le.const
+++ b/sys/linux/sys_ppc64le.const
@@ -614,8 +614,6 @@ __NR_epoll_pwait = 303
__NR_epoll_wait = 238
__NR_eventfd = 307
__NR_eventfd2 = 314
-__NR_execve = 11
-__NR_execveat = 362
__NR_exit = 1
__NR_exit_group = 234
__NR_faccessat = 298
diff --git a/sys/linux/tun_arm.const b/sys/linux/tun_arm.const
index 935da9273..383f7c23d 100644
--- a/sys/linux/tun_arm.const
+++ b/sys/linux/tun_arm.const
@@ -1,4 +1,84 @@
# AUTOGENERATED FILE
+ARPHRD_6LOWPAN = 825
+ARPHRD_ADAPT = 264
+ARPHRD_APPLETLK = 8
+ARPHRD_ARCNET = 7
+ARPHRD_ASH = 781
+ARPHRD_ATM = 19
+ARPHRD_AX25 = 3
+ARPHRD_BIF = 775
+ARPHRD_CAIF = 822
+ARPHRD_CAN = 280
+ARPHRD_CHAOS = 5
+ARPHRD_CISCO = 513
+ARPHRD_CSLIP = 257
+ARPHRD_CSLIP6 = 259
+ARPHRD_DDCMP = 517
+ARPHRD_DLCI = 15
+ARPHRD_ECONET = 782
+ARPHRD_EETHER = 2
+ARPHRD_ETHER = 1
+ARPHRD_EUI64 = 27
+ARPHRD_FCAL = 785
+ARPHRD_FCFABRIC = 787
+ARPHRD_FCPL = 786
+ARPHRD_FCPP = 784
+ARPHRD_FDDI = 774
+ARPHRD_FRAD = 770
+ARPHRD_HDLC = 513
+ARPHRD_HIPPI = 780
+ARPHRD_HWX25 = 272
+ARPHRD_IEEE1394 = 24
+ARPHRD_IEEE802 = 6
+ARPHRD_IEEE80211 = 801
+ARPHRD_IEEE80211_PRISM = 802
+ARPHRD_IEEE80211_RADIOTAP = 803
+ARPHRD_IEEE802154 = 804
+ARPHRD_IEEE802154_MONITOR = 805
+ARPHRD_IEEE802_TR = 800
+ARPHRD_INFINIBAND = 32
+ARPHRD_IP6GRE = 823
+ARPHRD_IPDDP = 777
+ARPHRD_IPGRE = 778
+ARPHRD_IRDA = 783
+ARPHRD_LAPB = 516
+ARPHRD_LOCALTLK = 773
+ARPHRD_LOOPBACK = 772
+ARPHRD_METRICOM = 23
+ARPHRD_NETLINK = 824
+ARPHRD_NETROM = 0
+ARPHRD_NONE = 65534
+ARPHRD_PHONET = 820
+ARPHRD_PHONET_PIPE = 821
+ARPHRD_PIMREG = 779
+ARPHRD_PPP = 512
+ARPHRD_PRONET = 4
+ARPHRD_RAWHDLC = 518
+ARPHRD_RAWIP = 519
+ARPHRD_ROSE = 270
+ARPHRD_RSRVD = 260
+ARPHRD_SIT = 776
+ARPHRD_SKIP = 771
+ARPHRD_SLIP = 256
+ARPHRD_SLIP6 = 258
+ARPHRD_TUNNEL = 768
+ARPHRD_TUNNEL6 = 769
+ARPHRD_VOID = 65535
+ARPHRD_VSOCKMON = 826
+ARPHRD_X25 = 271
+IFF_ATTACH_QUEUE = 512
+IFF_DETACH_QUEUE = 1024
+IFF_MULTI_QUEUE = 256
+IFF_NAPI = 16
+IFF_NAPI_FRAGS = 32
+IFF_NOFILTER = 4096
+IFF_NO_PI = 4096
+IFF_ONE_QUEUE = 8192
+IFF_PERSIST = 2048
+IFF_TAP = 2
+IFF_TUN = 1
+IFF_TUN_EXCL = 32768
+IFF_VNET_HDR = 16384
SIOCGIFHWADDR = 35111
SIOCSIFHWADDR = 35108
TUNATTACHFILTER = 1074287829
@@ -9,6 +89,7 @@ TUNGETIFF = 2147767506
TUNGETSNDBUF = 2147767507
TUNGETVNETHDRSZ = 2147767511
TUNSETFILTEREBPF = 2147767521
+TUNSETGROUP = 1074025678
TUNSETIFF = 1074025674
TUNSETIFINDEX = 1074025690
TUNSETLINK = 1074025677
@@ -20,8 +101,15 @@ TUNSETQUEUE = 1074025689
TUNSETSNDBUF = 1074025684
TUNSETSTEERINGEBPF = 2147767520
TUNSETTXFILTER = 1074025681
+TUNSETVNETBE = 1074025694
TUNSETVNETHDRSZ = 1074025688
+TUNSETVNETLE = 1074025692
TUN_FLT_ALLMULTI = 1
+TUN_F_CSUM = 1
+TUN_F_TSO4 = 2
+TUN_F_TSO6 = 4
+TUN_F_TSO_ECN = 8
+TUN_F_UFO = 16
VIRTIO_NET_HDR_F_DATA_VALID = 2
VIRTIO_NET_HDR_F_NEEDS_CSUM = 1
VIRTIO_NET_HDR_GSO_ECN = 128
diff --git a/sys/linux/vnet_arm.const b/sys/linux/vnet_arm.const
index 375cdcd4f..487ec34a7 100644
--- a/sys/linux/vnet_arm.const
+++ b/sys/linux/vnet_arm.const
@@ -123,6 +123,7 @@ ETH_P_DSA = 27
ETH_P_ECONET = 24
ETH_P_EDSA = 56026
ETH_P_ERSPAN = 35006
+ETH_P_ERSPAN2 = 8939
ETH_P_FCOE = 35078
ETH_P_FIP = 35092
ETH_P_HDLC = 25
@@ -173,6 +174,8 @@ ETH_P_WAN_PPP = 7
ETH_P_WCCP = 34878
ETH_P_X25 = 2053
ETH_P_XDSA = 248
+GUE_FLAG_PRIV = 256
+GUE_PFLAG_REMCSUM = 128
ICMPV6_ADDR_UNREACH = 3
ICMPV6_ADM_PROHIBITED = 1
ICMPV6_DEST_UNREACH = 1
@@ -290,6 +293,7 @@ IPPROTO_UDPLITE = 136
IPV6_SRCRT_STRICT = 1
IPV6_SRCRT_TYPE_0 = 0
IPV6_SRCRT_TYPE_2 = 2
+IPV6_SRCRT_TYPE_4 = 4
IPV6_TLV_CALIPSO = 7
IPV6_TLV_HAO = 201
IPV6_TLV_JUMBO = 194
@@ -334,6 +338,10 @@ NEXTHDR_ICMP = 58
NEXTHDR_MOBILITY = 135
NEXTHDR_NONE = 59
NEXTHDR_ROUTING = 43
+SR6_FLAG1_ALERT = 16
+SR6_FLAG1_HMAC = 8
+SR6_FLAG1_OAM = 32
+SR6_FLAG1_PROTECTED = 64
TCPHDR_ACK = 16
TCPHDR_CWR = 128
TCPHDR_ECE = 64
@@ -346,11 +354,13 @@ TCPHDR_URG = 32
TCPOPT_EOL = 0
TCPOPT_EXP = 254
TCPOPT_FASTOPEN = 34
+TCPOPT_FASTOPEN_MAGIC = 63881
TCPOPT_MD5SIG = 19
TCPOPT_MSS = 2
TCPOPT_NOP = 1
TCPOPT_SACK = 5
TCPOPT_SACK_PERM = 4
+TCPOPT_SMC_MAGIC = 3805594585
TCPOPT_TIMESTAMP = 8
TCPOPT_WINDOW = 3
X25_CALL_ACCEPTED = 15