From: Alexander Popov Date: Sun, 9 Apr 2023 22:54:41 +0000 (+0300) Subject: Add the DEBUG_ALIGN_RODATA check for ARM X-Git-Tag: v0.6.6~175 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=f19835dbf0afafdb446567d950de3000f0c0c4ad;p=kconfig-hardened-check.git Add the DEBUG_ALIGN_RODATA check for ARM --- 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')]