assert failed: len <= map->dm_mapsize - offset [ 1.0548992] panic: kernel diagnostic assertion "len <= map->dm_mapsize - offset" failed: file "/syzkaller/jobs/netbsd/kernel/sys/arch/x86/x86/bus_dma.c", line 816 bad length 0x0 + 1000 > 3 [ 1.0548992] cpu0: Begin traceback... [ 1.0548992] vpanic() at netbsd:vpanic+0xc9d [ 1.0548992] kern_assert() at netbsd:kern_assert+0x228 [ 1.0548992] bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x1364 _bus_dmamap_sync sys/arch/x86/x86/bus_dma.c:813 [inline] [ 1.0548992] bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x1364 sys/arch/x86/x86/bus_dma.c:1373 [ 1.0548992] virtio_enqueue_commit() at netbsd:virtio_enqueue_commit+0x1ac sys/dev/pci/virtio.c:1139 [ 1.0548992] viornd_get() at netbsd:viornd_get+0x440 sys/dev/pci/viornd.c:87 [ 1.0548992] rnd_attach_source() at netbsd:rnd_attach_source+0xb65 [ 1.0548992] viornd_attach() at netbsd:viornd_attach+0xed6 [ 1.0548992] config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 [ 1.0548992] config_found() at netbsd:config_found+0x411 sys/kern/subr_autoconf.c:1262 [ 1.0548992] virtio_pci_attach() at netbsd:virtio_pci_attach+0x1853 virtio_pci_rescan sys/dev/pci/virtio_pci.c:317 [inline] [ 1.0548992] virtio_pci_attach() at netbsd:virtio_pci_attach+0x1853 sys/dev/pci/virtio_pci.c:297 [ 1.0548992] config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 [ 1.0548992] config_found() at netbsd:config_found+0x411 sys/kern/subr_autoconf.c:1262 [ 1.0548992] pci_probe_device() at netbsd:pci_probe_device+0x26d4 sys/dev/pci/pci.c:488 [ 1.0548992] pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x10d5 sys/dev/pci/pci.c:819 [ 1.0548992] pciattach() at netbsd:pciattach+0xcc6 sys/dev/pci/pci.c:207 [ 1.0548992] config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 [ 1.0548992] config_found() at netbsd:config_found+0x411 sys/kern/subr_autoconf.c:1262 [ 1.0548992] mp_pci_scan() at netbsd:mp_pci_scan+0x39e sys/arch/x86/x86/mp.c:96 [ 1.0548992] amd64_mainbus_attach() at netbsd:amd64_mainbus_attach+0x737 sys/arch/amd64/amd64/amd64_mainbus.c:213 [ 1.0548992] mainbus_attach() at netbsd:mainbus_attach+0x70f sys/arch/x86/x86/mainbus.c:245 [ 1.0548992] config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 [ 1.0548992] config_rootfound() at netbsd:config_rootfound+0x434 config_attach sys/kern/subr_autoconf.c:1810 [inline] [ 1.0548992] config_rootfound() at netbsd:config_rootfound+0x434 sys/kern/subr_autoconf.c:1290 [ 1.0548992] cpu_configure() at netbsd:cpu_configure+0xcb sys/arch/amd64/amd64/autoconf.c:112 [ 1.0548992] main() at netbsd:main+0xc04 sys/kern/init_main.c:555 [ 1.0548992] cpu0: End traceback... [ 1.0548992] fatal breakpoint trap in supervisor mode [ 1.0548992] trap type 1 code 0 rip 0xffffffff8023675d cs 0x8 rflags 0x286 cr2 0 ilevel 0x8 rsp 0xffffffff86c6e6b0 [ 1.0548992] curlwp 0xffffffff868691c0 pid 0.0 lowest kstack 0xffffffff86c682c0 Stopped in pid 0.0 (system) at netbsd:breakpoint+0x5: leave breakpoint() at netbsd:breakpoint+0x5 vpanic() at netbsd:vpanic+0xc9d kern_assert() at netbsd:kern_assert+0x228 bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x1364 _bus_dmamap_sync sys/arch/x86/x86/bus_dma.c:813 [inline] bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x1364 sys/arch/x86/x86/bus_dma.c:1373 virtio_enqueue_commit() at netbsd:virtio_enqueue_commit+0x1ac sys/dev/pci/virtio.c:1139 viornd_get() at netbsd:viornd_get+0x440 sys/dev/pci/viornd.c:87 rnd_attach_source() at netbsd:rnd_attach_source+0xb65 viornd_attach() at netbsd:viornd_attach+0xed6 config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 config_found() at netbsd:config_found+0x411 sys/kern/subr_autoconf.c:1262 virtio_pci_attach() at netbsd:virtio_pci_attach+0x1853 virtio_pci_rescan sys/dev/pci/virtio_pci.c:317 [inline] virtio_pci_attach() at netbsd:virtio_pci_attach+0x1853 sys/dev/pci/virtio_pci.c:297 config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 config_found() at netbsd:config_found+0x411 sys/kern/subr_autoconf.c:1262 pci_probe_device() at netbsd:pci_probe_device+0x26d4 sys/dev/pci/pci.c:488 pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x10d5 sys/dev/pci/pci.c:819 pciattach() at netbsd:pciattach+0xcc6 sys/dev/pci/pci.c:207 config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 config_found() at netbsd:config_found+0x411 sys/kern/subr_autoconf.c:1262 mp_pci_scan() at netbsd:mp_pci_scan+0x39e sys/arch/x86/x86/mp.c:96 amd64_mainbus_attach() at netbsd:amd64_mainbus_attach+0x737 sys/arch/amd64/amd64/amd64_mainbus.c:213 mainbus_attach() at netbsd:mainbus_attach+0x70f sys/arch/x86/x86/mainbus.c:245 config_attach_internal() at netbsd:config_attach_internal+0xdb7 sys/kern/subr_autoconf.c:1775 --db_more-- failed to run ["ssh" "-p" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-i" "/syzkaller/jobs/netbsd/workdir/image/key" "root@10.128.10.50" "pwd"]: exit status 255 ssh: connect to host 10.128.10.50 port 22: Connection timed out Pseudo-terminal will not be allocated because stdin is not a terminal. Warning: Permanently added '[ssh-serialport.googleapis.com]:9600,[216.239.38.127]:9600' (RSA) to the list of known hosts. serialport: Connected to syzkaller.us-central1-c.ci2-netbsd-kmsan-test-job-test-job-0 port 1 (session ID: a8ebae138392d1c02ce50d87e699295cd3ddf932850ee42596d787c2c4882c3b, active connections: 1). SeaBIOS (version 1.8.2-google) Total RAM Size = 0x0000000200000000 = 8192 MiB CPUs found: 2 Max CPUs supported: 2 SeaBIOS (version 1.8.2-google) Machine UUID 3f6ccb6e-ab63-3b94-4a57-76b50f691c35 found virtio-scsi at 0:3 virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0 virtio-scsi blksize=512 sectors=4194304 = 2048 MiB drive 0x000f2490: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304 Sending Seabios boot VM event. Booting from Hard Disk 0... >> NetBSD/x86 BIOS Boot, Revision 5.11 (Thu Jun 11 19:20:47 UTC 2020) (from NetBSD 9.99.65) >> Memory: 639/3144640 k 1. Boot normally 2. Boot single user 3. Drop to boot prompt Choose an option; RETURN for default; SPACE to stop countdown. Option 1 will be chosen in 5 seconds. 4 seconds. 3 seconds. 2 seconds. 1 seconds. 0 seconds. 0 seconds. command(s): rndseed /var/db/entropy-file;boot default boot twice, skipping... |/-\|/-\104098512|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|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+3165688/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|+1028616/-\|/- [1522560\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|+988209/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-]=0x6a65a20 \|/-\|/-\|/-\|/-\|/-\|/-Loading /var/db/entropy-file [ 1.0000000] cpu_rng: rdrand/rdseed [ 1.0000000] entropy: ready [ 1.0000000] entropy: entering seed from bootloader with 256 bits of entropy [ 1.0000000] Loaded initial symtab at 0xffffffff86a00a68, strtab at 0xffffffff86b745e8, # entries 63440 [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, [ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, [ 1.0000000] 2018, 2019, 2020, 2021, 2022 [ 1.0000000] The NetBSD Foundation, Inc. All rights reserved. [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 [ 1.0000000] The Regents of the University of California. All rights reserved. [ 1.0000000] NetBSD 9.99.101 (GENERIC_SYZKALLER) #0: Sun Oct 16 12:47:27 UTC 2022 [ 1.0000000] root@ci2:/syzkaller/jobs/netbsd/kernel/sys/arch/amd64/compile/obj/GENERIC_SYZKALLER [ 1.0000000] total memory = 8191 MB [ 1.0000000] avail memory = 1994 MB [ 1.0000040] mainbus0 (root) [ 1.0000040] ACPI: RSDP 0x00000000000F24D0 000014 (v00 Google) [ 1.0000040] ACPI: RSDT 0x00000000BFFFFFA0 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001) [ 1.0000040] ACPI: FACP 0x00000000BFFFF330 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001) [ 1.0000040] ACPI: DSDT 0x00000000BFFFD8C0 001A64 (v01 Google GOOGDSDT 00000001 GOOG 00000001) [ 1.0000040] ACPI: FACS 0x00000000BFFFD880 000040 [ 1.0000040] ACPI: SRAT 0x00000000BFFFFE60 0000C8 (v03 Google GOOGSRAT 00000001 GOOG 00000001) [ 1.0000040] ACPI: APIC 0x00000000BFFFFDB0 000076 (v05 Google GOOGAPIC 00000001 GOOG 00000001) [ 1.0000040] ACPI: SSDT 0x00000000BFFFF430 000980 (v01 Google GOOGSSDT 00000001 GOOG 00000001) [ 1.0000040] ACPI: WAET 0x00000000BFFFFE30 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001) [ 1.0000040] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 1.0000040] ioapic0 at mainbus0 apid 0 [ 1.0000040] cpu0 at mainbus0 apid 0 [ 1.0000040] cpu0: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0 [ 1.0000040] cpu0: node 0, package 0, core 0, smt 0 [ 1.0000040] cpu1 at mainbus0 apid 1 [ 1.0000040] cpu1: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0 [ 1.0000040] cpu1: node 0, package 0, core 0, smt 1 [ 1.0000040] acpi0 at mainbus0: Intel ACPICA 20220331 [ 1.0000040] acpi0: fixed power button present [ 1.0000040] acpi0: fixed sleep button present [ 1.0548992] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1 [ 1.0548992] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12 [ 1.0548992] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4 [ 1.0548992] com: ns16550a, 16-byte FIFO [ 1.0548992] com0: console [ 1.0548992] com1 at acpi0 (COM2, PNP0501-2): io 0x2f8-0x2ff irq 3 [ 1.0548992] com1: ns16550a, 16-byte FIFO [ 1.0548992] com2 at acpi0 (COM3, PNP0501-3): io 0x3e8-0x3ef irq 6 [ 1.0548992] com2: ns16550a, 16-byte FIFO [ 1.0548992] com3 at acpi0 (COM4, PNP0501-4): io 0x2e8-0x2ef irq 7 [ 1.0548992] com3: ns16550a, 16-byte FIFO [ 1.0548992] PEVT (QEMU0001) at acpi0 not configured [ 1.0548992] ACPI: Enabled 16 GPEs in block 00 to 0F [ 1.0548992] pckbd0 at pckbc1 (kbd slot) [ 1.0548992] pckbc1: using irq 1 for kbd slot [ 1.0548992] wskbd0 at pckbd0 mux 1 [ 1.0548992] pms0 at pckbc1 (aux slot) [ 1.0548992] pckbc1: using irq 12 for aux slot [ 1.0548992] wsmouse0 at pms0 mux 0 [ 1.0548992] pci0 at mainbus0 bus 0: configuration mode 1 [ 1.0548992] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02) [ 1.0548992] pcib0 at pci0 dev 1 function 0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x03) [ 1.0548992] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x03) [ 1.0548992] piixpm0: SMBus disabled [ 1.0548992] virtio0 at pci0 dev 3 function 0 [ 1.0548992] virtio0: SCSI device (id 8, rev. 0x00) [ 1.0548992] vioscsi0 at virtio0: features: 0 [ 1.0548992] vioscsi0: cmd_per_lun 256 qsize 8192 seg_max 64 max_target 253 max_lun 1 [ 1.0548992] virtio0: config interrupting at msix0 vec 0 [ 1.0548992] virtio0: queues interrupting at msix0 vec 1 [ 1.0548992] scsibus0 at vioscsi0: 254 targets, 2 luns per target [ 1.0548992] virtio1 at pci0 dev 4 function 0 [ 1.0548992] virtio1: network device (id 1, rev. 0x00) [ 1.0548992] vioif0 at virtio1: features: 0x20030020 [ 1.0548992] vioif0: Ethernet address 42:01:0a:80:0a:32 [ 1.0548992] virtio1: config interrupting at msix1 vec 0 [ 1.0548992] virtio1: queues interrupting at msix1 vec 1 [ 1.0548992] genfb0 at pci0 dev 5 function 0: vendor 1ae0 product a002 (rev. 0x01) [ 1.0548992] virtio2 at pci0 dev 6 function 0 [ 1.0548992] virtio2: memory balloon device (id 5, rev. 0x00) [ 1.0548992] viomb0 at virtio2: features: 0x1 [ 1.0548992] virtio2: interrupting at ioapic0 pin 10 [ 1.0548992] virtio3 at pci0 dev 7 function 0 [ 1.0548992] virtio3: entropy device (id 4, rev. 0x00) [ 1.0548992] viornd0 at virtio3: features: 0 [ 1.0548992] virtio3: interrupting at ioapic0 pin 11 [ 1.0548992] panic: kernel diagnostic assertion "len <= map->dm_mapsize - offset" failed: file "/syzkaller/jobs/netbsd/kernel/sys/arch/x86/x86/bus_dma.c", line 816 bad length 0x0 + 1000 > 3 [ 1.0548992] cpu0: Begin traceback... [ 1.0548992] vpanic() at netbsd:vpanic+0xc9d [ 1.0548992] kern_assert() at netbsd:kern_assert+0x228 [ 1.0548992] bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x1364 [ 1.0548992] virtio_enqueue_commit() at netbsd:virtio_enqueue_commit+0x1ac [ 1.0548992] viornd_get() at netbsd:viornd_get+0x440 [ 1.0548992] rnd_attach_source() at netbsd:rnd_attach_source+0xb65 [ 1.0548992] viornd_attach() at netbsd:viornd_attach+0xed6 [ 1.0548992] config_attach_internal() at netbsd:config_attach_internal+0xdb7 [ 1.0548992] config_found() at netbsd:config_found+0x411 [ 1.0548992] virtio_pci_attach() at netbsd:virtio_pci_attach+0x1853 [ 1.0548992] config_attach_internal() at netbsd:config_attach_internal+0xdb7 [ 1.0548992] config_found() at netbsd:config_found+0x411 [ 1.0548992] pci_probe_device() at netbsd:pci_probe_device+0x26d4 [ 1.0548992] pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x10d5 [ 1.0548992] pciattach() at netbsd:pciattach+0xcc6 [ 1.0548992] config_attach_internal() at netbsd:config_attach_internal+0xdb7 [ 1.0548992] config_found() at netbsd:config_found+0x411 [ 1.0548992] mp_pci_scan() at netbsd:mp_pci_scan+0x39e [ 1.0548992] amd64_mainbus_attach() at netbsd:amd64_mainbus_attach+0x737 [ 1.0548992] mainbus_attach() at netbsd:mainbus_attach+0x70f [ 1.0548992] config_attach_internal() at netbsd:config_attach_internal+0xdb7 [ 1.0548992] config_rootfound() at netbsd:config_rootfound+0x434 [ 1.0548992] cpu_configure() at netbsd:cpu_configure+0xcb [ 1.0548992] main() at netbsd:main+0xc04 [ 1.0548992] cpu0: End traceback... [ 1.0548992] fatal breakpoint trap in supervisor mode [ 1.0548992] trap type 1 code 0 rip 0xffffffff8023675d cs 0x8 rflags 0x286 cr2 0 ilevel 0x8 rsp 0xffffffff86c6e6b0 [ 1.0548992] curlwp 0xffffffff868691c0 pid 0.0 lowest kstack 0xffffffff86c682c0 Stopped in pid 0.0 (system) at netbsd:breakpoint+0x5: leave breakpoint() at netbsd:breakpoint+0x5 vpanic() at netbsd:vpanic+0xc9d kern_assert() at netbsd:kern_assert+0x228 bus_dmamap_sync() at netbsd:bus_dmamap_sync+0x1364 virtio_enqueue_commit() at netbsd:virtio_enqueue_commit+0x1ac viornd_get() at netbsd:viornd_get+0x440 rnd_attach_source() at netbsd:rnd_attach_source+0xb65 viornd_attach() at netbsd:viornd_attach+0xed6 config_attach_internal() at netbsd:config_attach_internal+0xdb7 config_found() at netbsd:config_found+0x411 virtio_pci_attach() at netbsd:virtio_pci_attach+0x1853 config_attach_internal() at netbsd:config_attach_internal+0xdb7 config_found() at netbsd:config_found+0x411 pci_probe_device() at netbsd:pci_probe_device+0x26d4 pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x10d5 pciattach() at netbsd:pciattach+0xcc6 config_attach_internal() at netbsd:config_attach_internal+0xdb7 config_found() at netbsd:config_found+0x411 mp_pci_scan() at netbsd:mp_pci_scan+0x39e amd64_mainbus_attach() at netbsd:amd64_mainbus_attach+0x737 mainbus_attach() at netbsd:mainbus_attach+0x70f config_attach_internal() at netbsd:config_attach_internal+0xdb7 --db_more-- syzkaller build log: go env (err=) GO111MODULE="auto" GOARCH="amd64" GOBIN="" GOCACHE="/syzkaller/.cache/go-build" GOENV="/syzkaller/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/syzkaller/jobs/netbsd/gopath/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/syzkaller/jobs/netbsd/gopath" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" GOVCS="" GOVERSION="go1.17" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/syzkaller/jobs/netbsd/gopath/src/github.com/google/syzkaller/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2501273870=/tmp/go-build -gno-record-gcc-switches" git status (err=) HEAD detached at 0d5abf15b nothing to commit, working tree clean go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen make .descriptions bin/syz-sysgen touch .descriptions GOOS=netbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=0d5abf15b74358009a02efb629f7bc7c84841a1f -X 'github.com/google/syzkaller/prog.gitRevisionDate=20220608-201652'" "-tags=syz_target syz_os_netbsd syz_arch_amd64 " -o ./bin/netbsd_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer GOOS=netbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=0d5abf15b74358009a02efb629f7bc7c84841a1f -X 'github.com/google/syzkaller/prog.gitRevisionDate=20220608-201652'" "-tags=syz_target syz_os_netbsd syz_arch_amd64 " -o ./bin/netbsd_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog GOOS=netbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=0d5abf15b74358009a02efb629f7bc7c84841a1f -X 'github.com/google/syzkaller/prog.gitRevisionDate=20220608-201652'" "-tags=syz_target syz_os_netbsd syz_arch_amd64 " -o ./bin/netbsd_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress mkdir -p ./bin/netbsd_amd64 /syzkaller/shared/netbsd/tools/bin/x86_64--netbsd-g++ -o ./bin/netbsd_amd64/syz-executor executor/executor.cc \ -m64 --sysroot /syzkaller/shared/netbsd/dest/ -O2 -pthread -Wall -Werror -Wparentheses -Wframe-larger-than=16384 -fpermissive -w -DGOOS_netbsd=1 -DGOARCH_amd64=1 \ -DHOSTGOOS_linux=1 -DGIT_REVISION=\"0d5abf15b74358009a02efb629f7bc7c84841a1f\"