Added analyzer for detecting recursive/nested mutex read locks. (#10066)

* Added analyzer for detecting recursive/nested mutex read locks.

* Added type assertion checks and removed unused 'iTypes' directory

* Clean up

* Bazel file fixes

* Cleaned up code and added comments.

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
This commit is contained in:
Chase Jeter
2022-01-14 01:12:21 -08:00
committed by GitHub
parent d73794ce72
commit 0ea4b02b8b
11 changed files with 758 additions and 0 deletions

View File

@@ -118,6 +118,13 @@
"tools/analyzers/shadowpredecl/testdata/shadow.go": "Analyzer testdata has to break rules"
}
},
"recursivelock": {
"exclude_files": {
"external/.*": "Third party code",
"rules_go_work-.*": "Third party code",
"tools/analyzers/recursivelock/testdata/.*": "Analyzer testdata has to break rules"
}
},
"nop": {
"exclude_files": {
"external/.*": "Third party code",