diff options
author | Arve Hjønnevåg <arve@android.com> | 2024-03-15 12:37:39 -0700 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2024-03-18 11:42:03 -0700 |
commit | 289076187cff0f65dbb4046f9a6f29def7bf89df (patch) | |
tree | a67914db240bda60184916e35ee30d88efc78f4a | |
parent | 9743882e1476a70f4278c7d2c55d70ea5f987ecf (diff) | |
download | common-289076187cff0f65dbb4046f9a6f29def7bf89df.tar.gz |
top: main: Disable kcfi in addition to cfi for .ctors
Allows switching from cfi to kcfi.
Bug: 304585390
Change-Id: Ie7928e9d621946c12905362d03bf6eedcfd83746
-rw-r--r-- | top/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ extern void kernel_init(void); /* constructors inserted by clang for global C++ objects currently do not have * CFI type info, so we have to disable this check until this is fixed */ -__attribute__((no_sanitize("cfi"))) +__attribute__((no_sanitize("cfi", "kcfi"))) static void call_constructors(void) { void (**ctor)(void); |