From 814eb27110668a4e12314466ff6fc04882e6d79e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Amatria=20Barral?= Date: Thu, 22 Jan 2026 08:44:44 +0100 Subject: [PATCH 1/4] Align column title --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d39ddaf..fc4785b 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ designed to demonstrate: ## Checks -| ID | Title | Category | CWE | ISO/IEC 24772-8 | SEI CERT C |SEI CERT C++ | C | Fortran | C++ | AutoFix | +| ID | Title | Category | CWE | ISO/IEC 24772-8 | SEI CERT C | SEI CERT C++ | C | Fortran | C++ | AutoFix | |:------------------------ |:-----------------------------------------------------------------------------------------------------------:|:--------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------:|:-:|:-------:|:---:|:-------:| | [PWR001](Checks/PWR001/) | Pass global variables as function arguments | correctness, modernization, security | [CWE-1108](https://cwe.mitre.org/data/definitions/1108.html) | | [DCL19-C](https://wiki.sei.cmu.edu/confluence/display/c/DCL19-C.+Minimize+the+scope+of+variables+and+functions) | | ✓ | ✓ | ✓ | | | [PWR002](Checks/PWR002/) | Declare scalar variables in the smallest possible scope | correctness, security | [CWE-1126](https://cwe.mitre.org/data/definitions/1126.html) | | [DCL19-C](https://wiki.sei.cmu.edu/confluence/display/c/DCL19-C.+Minimize+the+scope+of+variables+and+functions) | | ✓ | | ✓ | | From 28e2112e7d45f5686ea3f9fc08bb5decf067bfb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Amatria=20Barral?= Date: Thu, 22 Jan 2026 08:46:59 +0100 Subject: [PATCH 2/4] Add a missing period --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fc4785b..7ae15c9 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ designed to demonstrate: | [RMK016](Checks/RMK016/) | Tune compiler optimization flags to avoid potential changes in floating point precision | correctness, security | [CWE-189](https://cwe.mitre.org/data/definitions/189.html) | | [FLP01-C](https://wiki.sei.cmu.edu/confluence/display/c/FLP01-C.+Take+care+in+rearranging+floating-point+expressions) | | ✓ | ✓ | ✓ | | **CWE**, **ISO/IEC 24772-8**, and **SEI CERT C**: Map checks in the Open Catalog -to major security standards to clarify their relevance to software security +to major security standards to clarify their relevance to software security. **AutoFix**: Denotes tools that support automatic correction of the corresponding check. Readers are encouraged to report additional tools with From 49108bbeb63acde7dad20eb245449a8a867315e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Amatria=20Barral?= Date: Thu, 22 Jan 2026 08:46:29 +0100 Subject: [PATCH 3/4] Add `SEI CERT C++` to the table legend --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7ae15c9..550bbcc 100644 --- a/README.md +++ b/README.md @@ -121,8 +121,9 @@ designed to demonstrate: | [RMK015](Checks/RMK015/) | Tune compiler optimization flags to increase the speed of the code | optimization | | | | | ✓ | ✓ | ✓ | | | [RMK016](Checks/RMK016/) | Tune compiler optimization flags to avoid potential changes in floating point precision | correctness, security | [CWE-189](https://cwe.mitre.org/data/definitions/189.html) | | [FLP01-C](https://wiki.sei.cmu.edu/confluence/display/c/FLP01-C.+Take+care+in+rearranging+floating-point+expressions) | | ✓ | ✓ | ✓ | | -**CWE**, **ISO/IEC 24772-8**, and **SEI CERT C**: Map checks in the Open Catalog -to major security standards to clarify their relevance to software security. +**CWE**, **ISO/IEC 24772-8**, **SEI CERT C**, and **SEI CERT C++**: Map checks +in the Open Catalog to major security standards to clarify their relevance to +software security. **AutoFix**: Denotes tools that support automatic correction of the corresponding check. Readers are encouraged to report additional tools with From 9fccd7104e345502b57bbf374d986771ba8afcfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Amatria=20Barral?= Date: Thu, 22 Jan 2026 08:50:19 +0100 Subject: [PATCH 4/4] Add `SEI CERT C++` table filter --- src/scripts/custom.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/scripts/custom.js b/src/scripts/custom.js index 91d05d0..e431594 100644 --- a/src/scripts/custom.js +++ b/src/scripts/custom.js @@ -77,6 +77,7 @@ const createDataTable = async () => { { 'label': 'CWE', 'searchValue': 'cwe' }, { 'label': 'ISO/IEC 24772-8', 'searchValue': 'iso' }, { 'label': 'SEI CERT C', 'searchValue': 'sei' }, + { 'label': 'SEI CERT C++', 'searchValue': 'sei-cpp' }, ].map(({ label, searchValue }) => ({ 'text': label, 'attr': { @@ -90,8 +91,9 @@ const createDataTable = async () => { // CWE), show only rows where the corresponding column is // non-empty. Otherwise, filter by category using an exact match // in column 2 - if (['cwe', 'iso', 'sei'].includes(searchValue)) { - let columnIdx = {'cwe': 3, 'iso': 4, 'sei': 5}[searchValue]; + if (['cwe', 'iso', 'sei', 'sei-cpp'].includes(searchValue)) { + let columnIdx = + { 'cwe': 3, 'iso': 4, 'sei': 5, 'sei-cpp': 6 }[searchValue]; dataTable.column(columnIdx).search( '^(?!\\s*$).+', /* regex = */true, /* smart = */ false); } else {