From owner-freebsd-hackers@freebsd.org Thu Oct 19 14:07:24 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4575DE3C842 for ; Thu, 19 Oct 2017 14:07:24 +0000 (UTC) (envelope-from dvyukov@google.com) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 126B86B482 for ; Thu, 19 Oct 2017 14:07:24 +0000 (UTC) (envelope-from dvyukov@google.com) Received: by mail-it0-x231.google.com with SMTP id 72so9872944itk.3 for ; Thu, 19 Oct 2017 07:07:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=mH28EJloNIRNeFracKOklicZxNLs3y+zTkdAPlsQ28g=; b=KPgk2yjwwLiO4P63jfhkULGiylVLBO0KIwnnsOkxBpj9XGaYWzZHQdmII4tCDgU/h5 LB75uVUw0uREoEu1HozRuWasZMXBhmV91vbGGCwi2HaZC+339yrxkofUxequrvERyehv wwRZ0PTeUI8I30OowFwmzxaL9bCKrjMjyiMBxOzMn5nMYg4b500I3WZfnc6r7Jwq/wAe wQHRbozWkfT5jMBbv31NeNxBb+hkZjGtW+vJ6REszBRA2knXfRdMwaP2a6QqOwZe66iQ E0oCmVfi0YVqrsFs8JvA9cpSXnp7xcYJGSIuV9jwTARB+GU2m0nCeK4hTePtqRxjYrnv g3ug== X-Gm-Message-State: AMCzsaV1p8eC0tSD0RDnKBmS5WBTiL7pNuUOcqugwQh5ZTh5ZKp91lE0 6RxY05oFTIXuzyY41A8isbKov4ORotTLoEQ0cObhxA== X-Google-Smtp-Source: ABhQp+Qy37nSkphs9x6WyboJTAlN3FdQvPe5CZ03J8lKZldSvKx0fnDPMnCSU5R0MKfFYyB2ekKFLZciigqgPnavlFc= X-Received: by 10.36.5.211 with SMTP id 202mr2351375itl.122.1508422043139; Thu, 19 Oct 2017 07:07:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.155.231 with HTTP; Thu, 19 Oct 2017 07:07:02 -0700 (PDT) In-Reply-To: References: From: Dmitry Vyukov Date: Thu, 19 Oct 2017 16:07:02 +0200 Message-ID: Subject: Re: syzkaller for freebsd To: Ed Maste , freebsd-hackers@freebsd.org, syzkaller Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Thu, 19 Oct 2017 16:48:25 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2017 14:07:24 -0000 On Thu, Oct 19, 2017 at 3:41 PM, Ed Maste wrote: > On 19 October 2017 at 14:05, Dmitry Vyukov via freebsd-hackers > wrote: >> Hello, >> >> Our team works on kernel testing and in particular on syzkaller system >> call fuzzer (https://github.com/google/syzkaller). It started as >> Linux-only fuzzer and has found 1000+ bugs in Linux. But we started >> evolving towards supporting more OSes recently and added basic FreeBSD >> support. > > Dmitry, > > Running syzkaller on FreeBSD has been on my own TODO list for a while, > in addition to the IdeasPage item you mentioned, so thank you very > much for starting this and sharing your progress so far! I'm very > happy to hear that you're interested in bringing in changes to support > FreeBSD, and will help coordinate things from the FreeBSD side. > >> But lots of things for full FreeBSD support are still missing. I've >> sketched a list here: >> https://github.com/google/syzkaller/blob/master/docs/freebsd.md#missing-things > > Thanks for this list, I (and others) will start digesting this info, > and will follow up with any questions. Great! There are some lower handing fruits. A first useful thing would be to run it as is and then run with a fresh debug kernel. This already can give more bugs just due to debug checks. syzkaller is not completely trivial in setup as compared to, say, trinity, because it tries to automate more things. Feel free to ask questions here, or on syzkaller@googlegroups.com.