Re: [PATCH v5 5/5] Add sancov plugin
From: Dmitry Vyukov
Date: Tue Mar 08 2016 - 05:55:03 EST
On Mon, Mar 7, 2016 at 10:07 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> On Sun, Mar 6, 2016 at 3:07 PM, Emese Revfy <re.emese@xxxxxxxxx> 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.