Index: build/config/sanitizers/sanitizers.gni |
diff --git a/build/config/sanitizers/sanitizers.gni b/build/config/sanitizers/sanitizers.gni |
index 2a91c3de95cde056e4dd66ce8a76574b65d56218..6feef783ad90f6cbc25fa4f27f425b646765af1a 100644 |
--- a/build/config/sanitizers/sanitizers.gni |
+++ b/build/config/sanitizers/sanitizers.gni |
@@ -62,6 +62,11 @@ declare_args() { |
# https://crbug.com/626794 |
use_cfi_cast = false |
+ # Enable checks for indirect function calls via a function pointer. |
+ # TODO(pcc): remove this when we're ready to add these checks by default. |
+ # https://crbug.com/701919 |
+ use_cfi_icall = false |
+ |
# By default, Control Flow Integrity will crash the program if it detects a |
# violation. Set this to true to print detailed diagnostics instead. |
use_cfi_diag = false |