From owner-freebsd-hackers@freebsd.org Thu Oct 19 14:03:19 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 E1458E3C7D5 for ; Thu, 19 Oct 2017 14:03:19 +0000 (UTC) (envelope-from dvyukov@google.com) Received: from mail-it0-x244.google.com (mail-it0-x244.google.com [IPv6:2607:f8b0:4001:c0b::244]) (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 A76166B422 for ; Thu, 19 Oct 2017 14:03:19 +0000 (UTC) (envelope-from dvyukov@google.com) Received: by mail-it0-x244.google.com with SMTP id p138so10324752itp.2 for ; Thu, 19 Oct 2017 07:03:19 -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=3YrWPEcH45Cv1iXejhYgg9VHDHz9sp0LmG3KUiHlMQ4=; b=kwUdzyv8W9sl39SggqC/LDxtNK/5HMaFYldEZ7pfXdL4ChsKIY895AC/lF0fQ8ujSv PhSzN8J0bV/Gwl9c7qO3ShH2OUXOXl/CzWbiDNKdrLMP5iORcWp+q137zTbrvm0tlnqP RI7npfxuoz2AtNc26jq9kuED4ElAVkLjbreKerY8Z62GQ6YdcaD7f8LWUjtBpQOuSRL0 ld+TMiUVGFl7kgUHHhuf+jyR6F3C4sjm85CEsPv0+NG3sxI6fw5ZUEEPcCEf2nF+QieY U8o5YS0fZy3GyCSFl7Y4ZPAufU3VZnkqiuFVkZ6QPpC8tuxk1oxT0ENjbUVRTFXWfCI+ winA== X-Gm-Message-State: AMCzsaU6+VvdKDzNzj+bjinRPPvQ4RBan19ZNl+h6v3pbn1mB8sEE3Dh iBhOH+p6UoBwwd5FjYj0BybDYsD81SewupDnoh8+1A== X-Google-Smtp-Source: ABhQp+T2tTpq9WXA50VIv3QTiQxq4vticRmFoRjL50oSxRkvpjwyKnVwJB9yp3BDBo3fYqNDV+SBoime4YR6+Yg0+xg= X-Received: by 10.36.16.193 with SMTP id 184mr2378620ity.30.1508421798667; Thu, 19 Oct 2017 07:03:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.155.231 with HTTP; Thu, 19 Oct 2017 07:02:58 -0700 (PDT) In-Reply-To: References: <5ee27dec-9c91-603c-6d24-ce806e753bda@selasky.org> From: Dmitry Vyukov Date: Thu, 19 Oct 2017 16:02:58 +0200 Message-ID: Subject: Re: syzkaller for freebsd To: Hans Petter Selasky , freebsd-hackers@freebsd.org, syzkaller Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Thu, 19 Oct 2017 16:48:12 +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:03:20 -0000 On Thu, Oct 19, 2017 at 4:02 PM, Dmitry Vyukov wrote: > On Thu, Oct 19, 2017 at 3:39 PM, Hans Petter Selasky wrote: >> On 10/19/17 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. I see that FreeBSD https://wiki.freebsd.org/IdeasPage >>> mentions syzkaller/KASAN, so I am reaching out to you share our >>> progress and discuss potential collaboration. Our main focus will >>> probably stay around Linux/Fuchsia and we don't have any experience >>> around FreeBSD kernel (e.g. implementing code coverage support and >>> even building). But if there is an active interest on FreeBSD >>> community side, we are ready to collaborate. >>> >>> So, I was able to run syzkaller in full setup (including VM >>> management, console output monitoring, etc) and outlined the process >>> here: >>> https://github.com/google/syzkaller/blob/master/docs/freebsd.md >>> >> >> Hi, >> >> Does this also include IOCTLs ? +mailing lists > Do you mean syzkaller in general? Or current freebsd descriptions? > syzkaller supports ioctls in general, we have 500+ for linux. FreeBSD > descriptions don't have ioctls as of now.