From 3a80fe350da4f5fc054c06fe279cc7ea734eb28b Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 29 Nov 2017 09:47:55 +0100 Subject: prog: support bytesizeN for vma I guess this is currently unused, but ignoring bytesizeN for vma looks wrong. If user asks for bytesizeN for vma, divide vma size by N. --- sys/linux/ppc64le.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/linux/ppc64le.go') diff --git a/sys/linux/ppc64le.go b/sys/linux/ppc64le.go index 89a405239..690c5ab21 100644 --- a/sys/linux/ppc64le.go +++ b/sys/linux/ppc64le.go @@ -13340,6 +13340,9 @@ var syscalls_ppc64le = []*Syscall{ {ID: 1387, NR: 1000008, Name: "syz_test$length10", CallName: "syz_test", Args: []Type{ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "a0", TypeSize: 8}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "a1", TypeSize: 8}}, Buf: "a0"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "a2", TypeSize: 8}}, ByteSize: 1, Buf: "a0"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize2", FldName: "a3", TypeSize: 8}}, ByteSize: 2, Buf: "a0"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "a4", TypeSize: 8}}, ByteSize: 4, Buf: "a0"}, }}, {ID: 1388, NR: 1000008, Name: "syz_test$length11", CallName: "syz_test", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "a0", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "syz_length_large_struct"}}}, @@ -16627,4 +16630,4 @@ var consts_ppc64le = []ConstValue{ {Name: "__WNOTHREAD", Value: 536870912}, } -const revision_ppc64le = "7181d499c27790d50391729214f690d6c6339313" +const revision_ppc64le = "a2e427aec88bd889613c169210a83bd19d58d43f" -- cgit mrf-deployment