Re: [PATCH v5 12/18] arm64: implement function_nocfi

2021-04-06 Thread Sami Tolvanen
On Tue, Apr 6, 2021 at 4:37 AM Mark Rutland wrote: > > On Thu, Apr 01, 2021 at 04:32:10PM -0700, Sami Tolvanen wrote: > > With CONFIG_CFI_CLANG, the compiler replaces function addresses in > > instrumented C code with jump table addresses. This change implements > > the function_nocfi() macro,

Re: [PATCH v5 12/18] arm64: implement function_nocfi

2021-04-06 Thread Mark Rutland
On Thu, Apr 01, 2021 at 04:32:10PM -0700, Sami Tolvanen wrote: > With CONFIG_CFI_CLANG, the compiler replaces function addresses in > instrumented C code with jump table addresses. This change implements > the function_nocfi() macro, which returns the actual function address > instead. > >