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 9, 2021
1 parent 85dd52d commit 80731eb
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 4 deletions.
47 changes: 47 additions & 0 deletions config/labels/analyzers/clang-tidy.json
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,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 +682,15 @@
"sei-cert:err61-cpp",
"severity:HIGH"
],
"cert-err3c-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 +864,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 +4568,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 +4717,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 +5688,10 @@
"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"
],
"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
23 changes: 19 additions & 4 deletions config/labels/analyzers/clangsa.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,19 @@
],
"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",
"profile:security"
"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:sensitive",
"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 +317,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 +571,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 80731eb

Please sign in to comment.