From dcc0624879506f0b2fe666c6f10044e3b2a34313 Mon Sep 17 00:00:00 2001 From: greensue Date: Sat, 30 Nov 2024 15:47:06 +0800 Subject: [PATCH] Revert:enable cfi Signed-off-by: greensue --- v8_shared/BUILD.gn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v8_shared/BUILD.gn b/v8_shared/BUILD.gn index 260b30fec..c7a19b9b4 100644 --- a/v8_shared/BUILD.gn +++ b/v8_shared/BUILD.gn @@ -263,9 +263,9 @@ v8_enable_builtins_profiling_verbose = false # Enable control-flow integrity features, such as pointer authentication for # ARM64. Enable it by default for simulator builds and when native code # supports it as well. -v8_control_flow_integrity = false - # v8_current_cpu == "arm64" && - # (target_is_simulator || arm_control_flow_integrity != "none") +v8_control_flow_integrity = + v8_current_cpu == "arm64" && + (target_is_simulator || arm_control_flow_integrity != "none") # Enable heap reservation of size 4GB. Only possible for 64bit archs. cppgc_enable_caged_heap = false -- Gitee