mirror of
https://github.com/reactos/syzkaller.git
synced 2024-12-11 21:34:13 +00:00
d9a893a554
Currently target binaries contain support for all OS/arch combinations. However, obviously a fuchsia target binary won't test windows. For target binaries we need support only for a single target (with the exception of 386/arm target in amd64/arm64 binaries). So compile in only _the_ target into target binaries. This reduces akaros/amd64 fuzzer binary from 33 to 7 MB and execprog from 28 to 2 MB.
19 lines
636 B
Go
19 lines
636 B
Go
// Copyright 2017 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.
|
|
|
|
package sys
|
|
|
|
import (
|
|
// Import all targets, so that users only need to import sys.
|
|
_ "github.com/google/syzkaller/sys/akaros/gen"
|
|
_ "github.com/google/syzkaller/sys/freebsd/gen"
|
|
_ "github.com/google/syzkaller/sys/fuchsia/gen"
|
|
_ "github.com/google/syzkaller/sys/linux/gen"
|
|
_ "github.com/google/syzkaller/sys/netbsd/gen"
|
|
_ "github.com/google/syzkaller/sys/test/gen"
|
|
_ "github.com/google/syzkaller/sys/windows/gen"
|
|
)
|
|
|
|
// Emitted by Makefile.
|
|
var GitRevision string
|