Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(config): Apply "no alpha checker in production profiles" invariant from label-tool #4292

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 8 additions & 104 deletions config/labels/analyzers/clangsa.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,326 +3,230 @@
"labels": {
"alpha.clone.CloneChecker": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-clone-clonechecker-c-c-objc",
"profile:extreme",
"severity:LOW"
],
"alpha.core.BoolAssignment": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-boolassignment-objc",
"profile:extreme",
"profile:sensitive",
"severity:LOW"
],
"alpha.core.C11Lock": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-c11lock",
"profile:extreme",
"severity:HIGH"
],
"alpha.core.CallAndMessageUnInitRefArg": [
"doc_url:https://releases.llvm.org/18.1.1/tools/clang/docs/analyzer/checkers.html#alpha-core-callandmessageuninitrefarg-c-c-objc",
"profile:extreme",
"severity:HIGH"
],
"alpha.core.CastSize": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-castsize-c",
"profile:extreme",
"profile:sensitive",
"severity:LOW"
],
"alpha.core.CastToStruct": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-casttostruct-c-c",
"profile:extreme",
"severity:LOW"
],
"alpha.core.Conversion": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-conversion-c-c-objc",
"profile:extreme",
"profile:sensitive",
"severity:LOW"
],
"alpha.core.DynamicTypeChecker": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-dynamictypechecker-objc",
"profile:extreme",
"profile:sensitive"
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-dynamictypechecker-objc"
],
"alpha.core.FixedAddr": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-fixedaddr-c",
"profile:extreme",
"severity:LOW"
],
"alpha.core.IdenticalExpr": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-identicalexpr-c-c",
"profile:extreme",
"severity:LOW"
],
"alpha.core.PointerArithm": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-pointerarithm-c",
"profile:extreme",
"severity:LOW"
],
"alpha.core.PointerSub": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-pointersub-c",
"profile:extreme",
"severity:LOW"
],
"alpha.core.PthreadLockBase": [
"profile:extreme"
],
"alpha.core.PthreadLockBase": [],
"alpha.core.SizeofPtr": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-sizeofptr-c",
"profile:extreme",
"profile:sensitive",
"severity:LOW"
],
"alpha.core.StackAddressAsyncEscape": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-stackaddressasyncescape-c",
"profile:extreme",
"severity:HIGH"
],
"alpha.core.StdVariant": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-stdvariant-c"
],
"alpha.core.TestAfterDivZero": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-testafterdivzero-c",
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"alpha.cplusplus.ArrayDelete": [
"doc_url:https://releases.llvm.org/18.1.1/tools/clang/docs/analyzer/checkers.html#alpha-cplusplus-arraydelete-c",
"profile:extreme",
"profile:sensitive",
"severity:HIGH"
],
"alpha.cplusplus.ContainerModeling": [
"profile:extreme",
"profile:sensitive"
],
"alpha.cplusplus.ContainerModeling": [],
"alpha.cplusplus.DeleteWithNonVirtualDtor": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-cplusplus-deletewithnonvirtualdtor-c",
"profile:extreme",
"profile:sensitive",
"severity:HIGH"
],
"alpha.cplusplus.EnumCastOutOfRange": [
"doc_url:https://releases.llvm.org/17.0.1/tools/clang/docs/analyzer/checkers.html#alpha-cplusplus-enumcastoutofrange-c",
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"alpha.cplusplus.InvalidatedIterator": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-cplusplus-invalidatediterator-c",
"profile:extreme",
"profile:sensitive",
"severity:HIGH"
],
"alpha.cplusplus.IteratorModeling": [
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"alpha.cplusplus.IteratorRange": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-cplusplus-iteratorrange-c",
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"alpha.cplusplus.MismatchedIterator": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-cplusplus-mismatchediterator-c",
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"alpha.cplusplus.MisusedMovedObject": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-cplusplus-misusedmovedobject-c"
],
"alpha.cplusplus.PlacementNew": [
"profile:extreme",
"profile:sensitive",
"severity:HIGH"
],
"alpha.cplusplus.STLAlgorithmModeling": [
"profile:extreme",
"profile:sensitive"
],
"alpha.cplusplus.STLAlgorithmModeling": [],
"alpha.cplusplus.SmartPtr": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-cplusplus-smartptr-c",
"profile:extreme",
"profile:sensitive",
"severity:HIGH"
],
"alpha.cplusplus.UninitializedObject": [
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"alpha.deadcode.UnreachableCode": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-deadcode-unreachablecode-c-c",
"profile:extreme",
"severity:LOW"
],
"alpha.fuchsia.Lock": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-fuchsia-lock",
"profile:extreme"
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-fuchsia-lock"
],
"alpha.llvm.Conventions": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-llvm-conventions",
"profile:extreme",
"severity:LOW"
],
"alpha.nondeterminism.PointerIteration": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-nondeterminism-pointeriteration-c",
"profile:extreme",
"severity:MEDIUM"
],
"alpha.nondeterminism.PointerSorting": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-nondeterminism-pointersorting-c",
"profile:extreme",
"severity:MEDIUM"
],
"alpha.osx.cocoa.DirectIvarAssignment": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-osx-cocoa-directivarassignment-objc",
"profile:extreme",
"severity:LOW"
],
"alpha.osx.cocoa.DirectIvarAssignmentForAnnotatedFunctions": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-osx-cocoa-directivarassignmentforannotatedfunctions-objc",
"profile:extreme",
"severity:LOW"
],
"alpha.osx.cocoa.InstanceVariableInvalidation": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-osx-cocoa-instancevariableinvalidation-objc",
"profile:extreme",
"severity:LOW"
],
"alpha.osx.cocoa.IvarInvalidationModeling": [
"profile:extreme"
],
"alpha.osx.cocoa.IvarInvalidationModeling": [],
"alpha.osx.cocoa.MissingInvalidationMethod": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-osx-cocoa-missinginvalidationmethod-objc",
"profile:extreme",
"severity:LOW"
],
"alpha.osx.cocoa.localizability.PluralMisuseChecker": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-osx-cocoa-localizability-pluralmisusechecker-objc",
"profile:extreme",
"severity:LOW"
],
"alpha.security.ArrayBound": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-arraybound-c",
"profile:extreme",
"severity:HIGH"
],
"alpha.security.ArrayBoundV2": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-arrayboundv2-c",
"profile:extreme",
"severity:HIGH"
],
"alpha.security.MallocOverflow": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-mallocoverflow-c",
"profile:extreme",
"severity:HIGH"
],
"alpha.security.MmapWriteExec": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-mmapwriteexec-c",
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"alpha.security.ReturnPtrRange": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-returnptrrange-c",
"profile:extreme",
"profile:sensitive",
"severity:HIGH"
],
"alpha.security.cert.env.InvalidPtr": [
"doc_url:https://releases.llvm.org/17.0.1/tools/clang/docs/analyzer/checkers.html#alpha-security-cert-env-invalidptr",
"profile:default",
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"alpha.security.cert.pos.34c": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-cert-pos-34c",
"profile:default",
"profile:extreme",
"profile:sensitive",
"severity:HIGH"
],
"alpha.security.taint.TaintPropagation": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-taint-taintpropagation-c-c",
"profile:extreme",
"profile:sensitive",
"severity:HIGH"
],
"alpha.unix.BlockInCriticalSection": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-unix-blockincriticalsection-c",
"profile:extreme",
"profile:sensitive",
"severity:LOW"
],
"alpha.unix.Chroot": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-unix-chroot-c",
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"alpha.unix.Errno": [
"doc_url:https://releases.llvm.org/17.0.1/tools/clang/docs/analyzer/checkers.html#alpha-unix-errno-c",
"profile:extreme",
"profile:sensitive",
"severity:HIGH"
],
"alpha.unix.PthreadLock": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-unix-pthreadlock-c",
"profile:extreme",
"profile:sensitive",
"severity:HIGH"
],
"alpha.unix.SimpleStream": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-unix-simplestream-c",
"profile:extreme",
"severity:MEDIUM"
],
"alpha.unix.StdCLibraryFunctionArgs": [
"doc_url:https://releases.llvm.org/16.0.0/tools/clang/docs/analyzer/checkers.html#alpha-unix-stdclibraryfunctionargs",
"profile:extreme",
"severity:HIGH"
],
"alpha.unix.Stream": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-unix-stream-c",
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"alpha.unix.cstring.BufferOverlap": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-unix-cstring-bufferoverlap-c",
"profile:extreme",
"severity:HIGH"
],
"alpha.unix.cstring.NotNullTerminated": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-unix-cstring-notnullterminated-c",
"profile:extreme",
"profile:sensitive",
"severity:HIGH"
],
"alpha.unix.cstring.OutOfBounds": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-unix-cstring-outofbounds-c",
"profile:extreme",
"profile:sensitive",
"severity:HIGH"
],
"alpha.unix.cstring.UninitializedRead": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-unix-cstring-uninitializedread-c",
"profile:extreme",
"severity:HIGH"
],
"alpha.webkit.UncountedCallArgsChecker": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-webkit-uncountedcallargschecker",
"profile:extreme"
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-webkit-uncountedcallargschecker"
],
"alpha.webkit.UncountedLocalVarsChecker": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-webkit-uncountedlocalvarschecker",
"profile:extreme"
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-webkit-uncountedlocalvarschecker"
],
"core.BitwiseShift": [
"doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#core-bitwiseshift-c-c",
Expand Down
Loading