Re: [PATCH] x86/ibt: Implement FineIBT

From: Joao Moreira
Date: Tue Oct 18 2022 - 16:17:41 EST



Tangent: why are these nop instead of 0xcc? These bytes aren't executed
ever are they?

Because that's what the compiler gets us through -fpatchable-function-entry.

Is it useful to get the compiler to emit 0xcc with -fpatchable-function-entry under any circumstance? I can probably change that quickly if needed/useful.