Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932832AbcCHKy7 (ORCPT ); Tue, 8 Mar 2016 05:54:59 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:38472 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932627AbcCHKyu (ORCPT ); Tue, 8 Mar 2016 05:54:50 -0500 MIME-Version: 1.0 In-Reply-To: References: <20160307000208.1bec3e7dc874489d1b4fcbb4@gmail.com> <20160307000730.5f5b379d0e88b97fc0112c8e@gmail.com> From: Dmitry Vyukov Date: Tue, 8 Mar 2016 11:54:29 +0100 Message-ID: Subject: Re: [PATCH v5 5/5] Add sancov plugin To: Kees Cook Cc: Emese Revfy , linux-kbuild , PaX Team , Brad Spengler , "kernel-hardening@lists.openwall.com" , Michal Marek , Rasmus Villemoes , Fengguang Wu , LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 819 Lines: 15 On Mon, Mar 7, 2016 at 10:07 PM, Kees Cook wrote: > On Sun, Mar 6, 2016 at 3:07 PM, Emese Revfy wrote: >> The sancov gcc plugin inserts a __sanitizer_cov_trace_pc() call >> at the start of basic blocks. >> >> This plugin is a helper plugin for the kcov feature. It supports >> all gcc versions with plugin support (from gcc-4.5 on). >> It is based on the gcc commit "Add fuzzing coverage support" by Dmitry Vyukov >> (https://gcc.gnu.org/viewcvs/gcc?limit_changes=0&view=revision&revision=231296). > > Very cool! Dmitry, is this something you could put to good use? I am using gcc with sancov as a regular pass, so I don't a good use for this right now. Maybe it will help with deployment for Android. I don't know. Though, it will require backporting this plugin support.