github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/netbsd/init_test.go (about) 1 // Copyright 2023 syzkaller project authors. All rights reserved. 2 // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 package netbsd_test 5 6 import ( 7 "testing" 8 9 "github.com/google/syzkaller/prog" 10 _ "github.com/google/syzkaller/sys/netbsd/gen" 11 "github.com/google/syzkaller/sys/targets" 12 ) 13 14 func TestNetBSDNeutralize(t *testing.T) { 15 prog.TestDeserializeHelper(t, targets.NetBSD, targets.AMD64, nil, []prog.DeserializeTest{ 16 { 17 In: `compat_50_mknod(&(0x7f0000000000)='./file0\x00', 0x2001, 0x400)`, 18 Out: `compat_50_mknod(&(0x7f0000000000)='./file0\x00', 0x8001, 0x400)`, 19 }, 20 }) 21 }