Skip to content

Commit 0331ecc

Browse files
committed
Updating clangsa sei cert mapping for clang 18
- The association of SEI CERT C and C++ Coding Standard Rules are updated for the Clang Static Analyzer version 18. - All alpha checkers were removed from the SEI Cert profile - All sei cert checkers were added to the security profile
1 parent 15088df commit 0331ecc

File tree

3 files changed

+99
-34
lines changed

3 files changed

+99
-34
lines changed

analyzer/tests/functional/cmdline/test_cmdline.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ def test_checkers_guideline(self):
152152
'--guideline', 'sei-cert']
153153
_, out, _ = run_cmd(checkers_cmd)
154154

155-
self.assertNotIn('readability', out)
156155
self.assertIn('cert-str34-c', out)
157156

158157
checkers_cmd = [env.codechecker_cmd(), 'checkers',
@@ -170,8 +169,7 @@ def test_checkers_guideline(self):
170169

171170
for checker in out:
172171
self.assertTrue(checker['name'].endswith('sizeof-expression') or
173-
checker['name'].endswith('SizeofPtr') or
174-
checker['name'].endswith('CastSize') or
172+
checker['name'].endswith('Malloc') or
175173
checker['name'].endswith('MallocSizeof'))
176174

177175
checkers_cmd = [env.codechecker_cmd(), 'checkers', '--guideline']

0 commit comments

Comments
 (0)