From 63740679d61ff715175b9f31858d2fe9767efa41 Mon Sep 17 00:00:00 2001 From: Daniel Krupp Date: Tue, 6 Apr 2021 15:21:49 +0200 Subject: [PATCH] Removing noisy checkers from the sei-cert guideline --- config/checker_guideline_map.json | 12 +++--------- config/checker_profile_map.json | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/config/checker_guideline_map.json b/config/checker_guideline_map.json index 9858758af6..2e8a403248 100644 --- a/config/checker_guideline_map.json +++ b/config/checker_guideline_map.json @@ -6,9 +6,6 @@ "alpha.core.CastSize": { "sei-cert": ["mem35-c", "str38-c"] }, - "alpha.core.CastToStruct": { - "sei-cert": ["exp36-c"] - }, "alpha.core.Conversion": { "sei-cert": ["flp36-c", "int30-c"] }, @@ -24,12 +21,6 @@ "alpha.cplusplus.DeleteWithNonVirtualDtor": { "sei-cert": ["oop52-cpp"] }, - "alpha.cplusplus.InvalidatedIterator": { - "sei-cert": ["ctr51-cpp"] - }, - "alpha.cplusplus.PlacementNew": { - "sei-cert": ["mem54-cpp"] - }, "alpha.security.ArrayBound": { "sei-cert": ["arr37-c", "dcl38-c", "msc37-c", "pos30-c"] }, @@ -214,6 +205,9 @@ "cplusplus.NewDeleteLeaks": { "sei-cert": ["exp62-cpp", "mem51-cpp"] }, + "cplusplus.PlacementNew": { + "sei-cert": ["mem54-cpp"] + }, "cppcoreguidelines-pro-type-const-cast": { "sei-cert": ["exp55-cpp"] }, diff --git a/config/checker_profile_map.json b/config/checker_profile_map.json index e0b67e7723..6d2615436c 100644 --- a/config/checker_profile_map.json +++ b/config/checker_profile_map.json @@ -70,7 +70,7 @@ "alpha.core.PointerArithm", "alpha.core.Conversion", "alpha.core.CastToStruct", - "alpha.cplusplus.PlacementNew", + "cplusplus.PlacementNew", "option.cplusplus.VirtualCall", "alpha.unix.Chroot", "alpha.security",