Re: Designated initializers, struct randomization and addressing?

From: Stephen Hemminger
Date: Wed Jan 04 2017 - 11:57:31 EST


On Tue, 3 Jan 2017 22:35:26 -0800
Kees Cook <keescook@xxxxxxxxxxxx> wrote:

> For randstruct and constify, the automatic selection is done on
> structures with only function pointers. (Additional structures can be
> added via a compiler attribute marking.)
>
> See is_pure_ops_struct():

Is there anyway to use this plugin to identify pure_ops structures not already marked as const?