Re: [RFC][PATCH 15/16] objtool: Implement noinstr validation

From: Josh Poimboeuf
Date: Mon Mar 16 2020 - 12:30:10 EST


On Mon, Mar 16, 2020 at 11:19:07AM -0500, Josh Poimboeuf wrote:
> > And I was hoping to get vmlinux.o objtool clean, surprisingly there
> > really aren't that many complaints. But the -i thing makes it run
> > significantly faster without duplicating all the bits we've already
> > checked.
>
> My suggestion is that the "-i" option would be hard-coded (for now). So
> nothing extra would get checked.

If that wasn't clear, I mean that for vmlinux.o we'd only do the
instr-checking. For individual .o's we'd do everything else.

--
Josh