From owner-freebsd-current@freebsd.org Tue Oct 24 09:31:31 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 E77FCE467EE for ; Tue, 24 Oct 2017 09:31:31 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (xvm-110-62.dc2.ghst.net [46.226.110.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "theravensnest.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 889B077C55; Tue, 24 Oct 2017 09:31:30 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from [192.168.1.65] (host86-138-54-151.range86-138.btcentralplus.com [86.138.54.151]) (authenticated bits=0) by theravensnest.org (8.15.2/8.15.2) with ESMTPSA id v9O9VQUu077551 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 24 Oct 2017 09:31:27 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: d60e724c-75b0-4b63-9702-f4a9d2bf6793: Host host86-138-54-151.range86-138.btcentralplus.com [86.138.54.151] claimed to be [192.168.1.65] Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: libfuzzer support From: David Chisnall In-Reply-To: <20171024092949.GB34891@home.opsec.eu> Date: Tue, 24 Oct 2017 10:31:21 +0100 Cc: Michael Tuexen , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <1EFB3A70-094B-4EC3-BE50-66071FE44C65@FreeBSD.org> References: <93FB13F4-CA2D-4AF7-A8F6-F97B38B7D1A0@freebsd.org> <20171024092949.GB34891@home.opsec.eu> To: Kurt Jaeger X-Mailer: Apple Mail (2.3273) 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:31:32 -0000 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. 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 spend = much time with it. David