From owner-freebsd-current@freebsd.org Tue Oct 24 09:46:51 2017 Return-Path: Delivered-To: freebsd-current@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 7FE70E46EC1 for ; Tue, 24 Oct 2017 09:46:51 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 456407C5A8; Tue, 24 Oct 2017 09:46:50 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from nod162.eduroam.kau.se (nod162.eduroam.kau.se [130.243.28.162]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 5AB3A72106C16; Tue, 24 Oct 2017 11:46:48 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.0 \(3445.1.7\)) Subject: Re: libfuzzer support From: Michael Tuexen In-Reply-To: <1EFB3A70-094B-4EC3-BE50-66071FE44C65@FreeBSD.org> Date: Tue, 24 Oct 2017 11:46:46 +0200 Cc: Kurt Jaeger , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <93FB13F4-CA2D-4AF7-A8F6-F97B38B7D1A0@freebsd.org> <20171024092949.GB34891@home.opsec.eu> <1EFB3A70-094B-4EC3-BE50-66071FE44C65@FreeBSD.org> To: David Chisnall X-Mailer: Apple Mail (2.3445.1.7) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2017 09:46:51 -0000 > On 24. Oct 2017, at 11:31, David Chisnall = wrote: >=20 > On 24 Oct 2017, at 10:29, Kurt Jaeger wrote: >>=20 >>>=20 >>> is libfuzzer (see https://llvm.org/docs/LibFuzzer.html) supported on = FreeBSD head? >>> It seems that it is not supported by /usr/bin/clang... >>>=20 >>> Am I wrong and it is supported or is someone working on it? >>=20 >> I searched in the Port devel/llvm50 and it looks like there's no = support >> for libfuzzer right now. >>=20 >> But that would probably(?) be the best place to add it first. >=20 > It=E2=80=99s been a while, but I=E2=80=99m pretty sure I had libFuzzer = working from the upstream sources on FreeBSD. I found AFL (which also = works on FreeBSD out of the box) more useful, so I didn=E2=80=99t=20 Are there plans to enable it for the versions of clang integrated in = FreeBSD? > spend much time with it. Thanks for the hint, will look into it. Best regards Michael >=20 > David >=20