Skip to content

Commit

Permalink
Uplifting label file for clang 13
Browse files Browse the repository at this point in the history
Added labels for new checkers in clang13
for clang static analyzer and clang tidy.
  • Loading branch information
dkrupp committed Nov 11, 2021
1 parent 85dd52d commit 2a93119
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 8 deletions.
55 changes: 51 additions & 4 deletions config/labels/analyzers/clang-tidy.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,7 @@
],
"bugprone-exception-escape": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone-exception-escape.html",
"guideline:sei-cert",
"profile:extreme",
"profile:security",
"profile:sensitive",
"guideline:sei-cert",
"sei-cert:dcl57-cpp",
"sei-cert:err55-cpp",
"sei-cert:msc53-cpp",
Expand Down Expand Up @@ -522,6 +519,15 @@
"sei-cert:oop54-cpp",
"severity:MEDIUM"
],
"bugprone-unhandled-exception-at-new": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone-unhandled-exception-at-new.html",
"guideline:sei-cert",
"profile:extreme",
"profile:security",
"profile:sensitive",
"sei-cert:err51-cpp",
"severity:MEDIUM"
],
"bugprone-unused-raii": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone-unused-raii.html",
"profile:default",
Expand Down Expand Up @@ -673,6 +679,15 @@
"sei-cert:err61-cpp",
"severity:HIGH"
],
"cert-err33-c": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cert-err33-c.html",
"guideline:sei-cert",
"profile:extreme",
"profile:security",
"profile:sensitive",
"sei-cert:err33-c",
"severity:MEDIUM"
],
"cert-err34-c": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cert-err34-c.html",
"guideline:sei-cert",
Expand Down Expand Up @@ -846,6 +861,15 @@
"sei-cert:pos44-c",
"severity:MEDIUM"
],
"cert-pos47-c": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cert-pos47-c.html",
"severity:MEDIUM",
"sei-cert:pos47-c",
"profile:default",
"profile:sensitive",
"profile:security",
"profile:extreme"
],
"cert-sig30-c": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cert-sig30-c.html",
"profile:extreme",
Expand Down Expand Up @@ -4541,6 +4565,15 @@
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/concurrency-mt-unsafe.html",
"severity:MEDIUM"
],
"concurrency-thread-canceltype-asynchronous": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/concurrency-thread-canceltype-asynchronous.html",
"severity:MEDIUM",
"sei-cert:pos47-c",
"profile:default",
"profile:sensitive",
"profile:security",
"profile:extreme"
],
"cppcoreguidelines-avoid-c-arrays": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines-avoid-c-arrays.html",
"profile:extreme",
Expand Down Expand Up @@ -4681,6 +4714,13 @@
"profile:sensitive",
"severity:LOW"
],
"cppcoreguidelines-virtual-class-destructor": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines-virtual-class-destructor.html",
"profile:default",
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"darwin-avoid-spinlock": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/darwin-avoid-spinlock.html"
],
Expand Down Expand Up @@ -5645,6 +5685,13 @@
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability-container-size-empty.html",
"severity:STYLE"
],
"readability-container-data-pointer": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability-data-pointer.html",
"severity:STYLE",
"profile:default",
"profile:sensitive",
"profile:extreme"
],
"readability-convert-member-functions-to-static": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability-convert-member-functions-to-static.html",
"severity:STYLE"
Expand Down
25 changes: 21 additions & 4 deletions config/labels/analyzers/clangsa.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,21 @@
],
"alpha.security.cert.pos.34c": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-cert-pos-34c",
"profile:default",
"profile:sensitive",
"profile:security",
"profile:extreme",
"severity:high",
"sei-cert:pos34-c"

],
"alpha.security.cert.env.InvalidPtr": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-cert-env-invalidptr",
"profile:default",
"profile:sensitive",
"profile:extreme",
"profile:security"
"profile:security",
"severity:MEDIUM"
],
"alpha.security.taint.TaintPropagation": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-taint-taintpropagation-c-c",
Expand Down Expand Up @@ -306,9 +319,6 @@
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-webkit-uncountedlocalvarschecker",
"profile:extreme"
],
"altera-struct-pack-align": [
"severity:LOW"
],
"apiModeling.StdCLibraryFunctions": [
"profile:default",
"profile:extreme",
Expand Down Expand Up @@ -563,6 +573,13 @@
"profile:extreme",
"profile:sensitive"
],
"cplusplus.StringChecker": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-stringchecker-c",
"profile:default",
"profile:extreme",
"profile:sensitive",
"severity:HIGH"
],
"cplusplus.VirtualCallModeling": [
"profile:default",
"profile:extreme",
Expand Down

0 comments on commit 2a93119

Please sign in to comment.