Re: [RFC][PATCH 6/6] objtool: Add IBT validation / fixups

Andrew Cooper
2022-02-16T00:57:55Z

On 11/02/2022 13:38, Peter Zijlstra wrote:
> Now, this setup provides:
>
> - minimal size (please yell if there's a smaller option I missed;
> s/ud2/int3/ ?)

It's probably best not to overload int3.  #BP is already has magic
properties, and what happens if someone wants to breakpoint one of these?

I'll make my usual into suggestion for 64bit builds.

ud2 is the sensible approach, with a caveat that whatever is hiding here
should have metadata.

~Andrew