From a7206b24cac96c08aecf2f3b4cc3c2e555eec708 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 28 Aug 2017 15:59:22 +0200 Subject: pkg/compiler: check and generate types Move most of the logic from sysgen to pkg/compiler. Update #217 --- pkg/host/host.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'pkg/host') diff --git a/pkg/host/host.go b/pkg/host/host.go index 4e634f1aa..720bb60f1 100644 --- a/pkg/host/host.go +++ b/pkg/host/host.go @@ -38,9 +38,6 @@ func DetectSupportedSyscalls() (map[*sys.Call]bool, error) { } func isSupported(kallsyms []byte, c *sys.Call) bool { - if c.NR == -1 { - return false // don't even have a syscall number - } if strings.HasPrefix(c.CallName, "syz_") { return isSupportedSyzkall(c) } -- cgit mrf-deployment