aboutsummaryrefslogtreecommitdiffstats
path: root/sys/windows/gen
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-08-30 21:10:38 -0700
committerDmitry Vyukov <dvyukov@google.com>2018-08-30 21:45:04 -0700
commita4718693a3d9fcabb02299b2ec07c19d8208c539 (patch)
tree4646830d734816c5d6ab7bd5f71338ce3f9b1b54 /sys/windows/gen
parent4239b99abbcccac9104facbf2b040a5af4ffe1b1 (diff)
sys/linux: add syz_execute_func
The function executes random code. Update #310
Diffstat (limited to 'sys/windows/gen')
-rw-r--r--sys/windows/gen/amd64.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/windows/gen/amd64.go b/sys/windows/gen/amd64.go
index 445fc3d01..04f6ba6bf 100644
--- a/sys/windows/gen/amd64.go
+++ b/sys/windows/gen/amd64.go
@@ -14272,6 +14272,9 @@ var syscalls_amd64 = []*Syscall{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "protocol", TypeSize: 4}}},
}},
+ {Name: "syz_execute_func", CallName: "syz_execute_func", Args: []Type{
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "text", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "text", IsVarlen: true}, Kind: 4}},
+ }},
{Name: "timeBeginPeriod", CallName: "timeBeginPeriod", Args: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uPeriod", TypeSize: 4}}},
}},
@@ -14615,4 +14618,4 @@ var consts_amd64 = []ConstValue{
{Name: "WRITE_OWNER", Value: 524288},
}
-const revision_amd64 = "f2b48fb82a68b0cb24b2ab9638add66deb9542dd"
+const revision_amd64 = "7f58e6832b5d8674b8a77505e6eb0fa213781c23"