Skip to content

Commit 8217ea7

Browse files
committed
Adding new checkers to profiles and assigning severities
1 parent b64e79e commit 8217ea7

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

config/labels/analyzers/clang-tidy.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,13 @@
204204
"profile:sensitive",
205205
"severity:LOW"
206206
],
207+
"bugprone-casting-through-void": [
208+
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/casting-through-void.html",
209+
"profile:extreme",
210+
"profile:sensitive",
211+
"severity:MEDIUM"
212+
],
213+
207214
"bugprone-compare-pointer-to-member-virtual-function": [
208215
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/compare-pointer-to-member-virtual-function.html",
209216
"profile:default",
@@ -6164,11 +6171,22 @@
61646171
"profile:extreme",
61656172
"severity:LOW"
61666173
],
6174+
"modernize-use-starts-ends-with": [
6175+
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-starts-ends-with.html",
6176+
"profile:extreme",
6177+
"severity:LOW"
6178+
],
61676179
"modernize-use-std-print": [
61686180
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-std-print.html",
61696181
"profile:extreme",
61706182
"severity:LOW"
61716183
],
6184+
"modernize-use-std-numbers": [
6185+
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-std-numbers.html",
6186+
"profile:extreme",
6187+
"severity:LOW"
6188+
],
6189+
61726190
"modernize-use-trailing-return-type": [
61736191
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html",
61746192
"profile:extreme",

config/labels/analyzers/clangsa.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,16 @@
809809
"osx.coreFoundation.containers.PointerSizedValues": [
810810
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#osx-corefoundation-containers-pointersizedvalues-c"
811811
],
812+
"security.cert.env.InvalidPtr": [
813+
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#security-cert-env-invalidptr",
814+
"profile:default",
815+
"profile:sensitive",
816+
"profile:extreme",
817+
"profile:security",
818+
"severity:MEDIUM",
819+
"sei-cert:env31-c",
820+
"sei-cert:env34-c"
821+
],
812822
"security.FloatLoopCounter": [
813823
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#security-floatloopcounter-c",
814824
"guideline:sei-cert",
@@ -914,6 +924,13 @@
914924
"profile:extreme",
915925
"profile:sensitive"
916926
],
927+
"unix.Errno": [
928+
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#unix-errno-c",
929+
"profile:sensitive",
930+
"profile:extreme",
931+
"severity:HIGH"
932+
],
933+
917934
"unix.Malloc": [
918935
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#unix-malloc-c",
919936
"guideline:sei-cert",

0 commit comments

Comments
 (0)