From f19835dbf0afafdb446567d950de3000f0c0c4ad Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 10 Apr 2023 01:54:41 +0300 Subject: [PATCH] Add the DEBUG_ALIGN_RODATA check for ARM --- kconfig_hardened_check/checks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kconfig_hardened_check/checks.py b/kconfig_hardened_check/checks.py index af4c6e2..c087bbc 100644 --- a/kconfig_hardened_check/checks.py +++ b/kconfig_hardened_check/checks.py @@ -135,6 +135,7 @@ def add_kconfig_checks(l, arch): l += [KconfigCheck('self_protection', 'defconfig', 'CPU_SW_DOMAIN_PAN', 'y')] l += [KconfigCheck('self_protection', 'defconfig', 'HARDEN_BRANCH_PREDICTOR', 'y')] l += [KconfigCheck('self_protection', 'defconfig', 'HARDEN_BRANCH_HISTORY', 'y')] + l += [KconfigCheck('self_protection', 'defconfig', 'DEBUG_ALIGN_RODATA', 'y')] # 'self_protection', 'kspp' l += [KconfigCheck('self_protection', 'kspp', 'BUG_ON_DATA_CORRUPTION', 'y')] -- 2.31.1