Sami Tolvanen 4ecfca8989 arm64: implement function_nocfi
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.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210408182843.1754385-13-samitolvanen@google.com
2021-04-08 16:04:22 -07:00
..
2021-02-27 08:29:02 -08:00
2021-03-26 11:19:38 -07:00
2021-04-08 16:04:22 -07:00
2021-02-27 08:29:02 -08:00
2021-02-27 08:29:02 -08:00
2021-02-27 08:29:02 -08:00
2021-02-27 08:29:02 -08:00
2021-02-27 08:29:02 -08:00
2021-04-01 21:37:08 -07:00
2021-02-27 08:29:02 -08:00
2021-02-27 08:29:02 -08:00
2021-04-02 15:34:17 -07:00
2021-04-08 16:04:20 -07:00