-
Notifications
You must be signed in to change notification settings - Fork 3
/
checks.json
1 lines (1 loc) · 18.3 KB
/
checks.json
1
{"enabled":true,"categories":{"abseil":{"enabled":true,"issues":{"abseil-duration-addition":true,"abseil-duration-comparison":true,"abseil-duration-conversion-cast":true,"abseil-duration-division":true,"abseil-duration-factory-float":true,"abseil-duration-factory-scale":true,"abseil-duration-subtraction":true,"abseil-duration-unnecessary-conversion":true,"abseil-faster-strsplit-delimiter":true,"abseil-no-internal-dependencies":true,"abseil-no-namespace":true,"abseil-redundant-strcat-calls":true,"abseil-str-cat-append":true,"abseil-string-find-startswith":true,"abseil-string-find-str-contains":true,"abseil-time-comparison":true,"abseil-time-subtraction":true,"abseil-upgrade-duration-conversions":true}},"altera":{"enabled":true,"issues":{"altera-id-dependent-backward-branch":true,"altera-kernel-name-restriction":true,"altera-single-work-item-barrier":true,"altera-struct-pack-align":true,"altera-unroll-loops":true}},"android":{"enabled":true,"issues":{"android-cloexec-accept":true,"android-cloexec-accept4":true,"android-cloexec-creat":true,"android-cloexec-dup":true,"android-cloexec-epoll-create":true,"android-cloexec-epoll-create1":true,"android-cloexec-fopen":true,"android-cloexec-inotify-init":true,"android-cloexec-inotify-init1":true,"android-cloexec-memfd-create":true,"android-cloexec-open":true,"android-cloexec-pipe":true,"android-cloexec-pipe2":true,"android-cloexec-socket":true,"android-comparison-in-temp-failure-retry":true}},"boost":{"enabled":true,"issues":{"boost-use-to-string":true}},"bugprone":{"enabled":true,"issues":{"bugprone-argument-comment":true,"bugprone-assert-side-effect":true,"bugprone-bad-signal-to-kill-thread":true,"bugprone-bool-pointer-implicit-conversion":true,"bugprone-branch-clone":true,"bugprone-copy-constructor-init":true,"bugprone-dangling-handle":true,"bugprone-dynamic-static-initializers":true,"bugprone-easily-swappable-parameters":true,"bugprone-exception-escape":true,"bugprone-fold-init-type":true,"bugprone-forward-declaration-namespace":true,"bugprone-forwarding-reference-overload":true,"bugprone-implicit-widening-of-multiplication-result":true,"bugprone-inaccurate-erase":true,"bugprone-incorrect-roundings":true,"bugprone-infinite-loop":true,"bugprone-integer-division":true,"bugprone-lambda-function-name":true,"bugprone-macro-parentheses":true,"bugprone-macro-repeated-side-effects":true,"bugprone-misplaced-operator-in-strlen-in-alloc":true,"bugprone-misplaced-pointer-arithmetic-in-alloc":true,"bugprone-misplaced-widening-cast":true,"bugprone-move-forwarding-reference":true,"bugprone-multiple-statement-macro":true,"bugprone-narrowing-conversions":true,"bugprone-no-escape":true,"bugprone-not-null-terminated-result":true,"bugprone-parent-virtual-call":true,"bugprone-posix-return":true,"bugprone-redundant-branch-condition":true,"bugprone-reserved-identifier":true,"bugprone-signal-handler":true,"bugprone-signed-char-misuse":true,"bugprone-sizeof-container":true,"bugprone-sizeof-expression":true,"bugprone-spuriously-wake-up-functions":true,"bugprone-string-constructor":true,"bugprone-string-integer-assignment":true,"bugprone-string-literal-with-embedded-nul":true,"bugprone-suspicious-enum-usage":true,"bugprone-suspicious-include":true,"bugprone-suspicious-memset-usage":true,"bugprone-suspicious-missing-comma":true,"bugprone-suspicious-semicolon":true,"bugprone-suspicious-string-compare":true,"bugprone-swapped-arguments":true,"bugprone-terminating-continue":true,"bugprone-throw-keyword-missing":true,"bugprone-too-small-loop-variable":true,"bugprone-undefined-memory-manipulation":true,"bugprone-undelegated-constructor":true,"bugprone-unhandled-exception-at-new":true,"bugprone-unhandled-self-assignment":true,"bugprone-unused-raii":true,"bugprone-unused-return-value":true,"bugprone-use-after-move":true,"bugprone-virtual-near-miss":true}},"cert":{"enabled":true,"issues":{"cert-con36-c":true,"cert-con54-cpp":true,"cert-dcl03-c":true,"cert-dcl16-c":true,"cert-dcl21-cpp":true,"cert-dcl37-c":true,"cert-dcl50-cpp":true,"cert-dcl51-cpp":true,"cert-dcl54-cpp":true,"cert-dcl58-cpp":true,"cert-dcl59-cpp":true,"cert-env33-c":true,"cert-err09-cpp":true,"cert-err34-c":true,"cert-err52-cpp":true,"cert-err58-cpp":true,"cert-err60-cpp":true,"cert-err61-cpp":true,"cert-fio38-c":true,"cert-flp30-c":true,"cert-mem57-cpp":true,"cert-msc30-c":true,"cert-msc32-c":true,"cert-msc50-cpp":true,"cert-msc51-cpp":true,"cert-oop11-cpp":true,"cert-oop54-cpp":true,"cert-oop57-cpp":true,"cert-oop58-cpp":true,"cert-pos44-c":true,"cert-pos47-c":true,"cert-sig30-c":true,"cert-str34-c":true}},"clang":{"enabled":true,"issues":{"clang-analyzer-apiModeling.StdCLibraryFunctions":true,"clang-analyzer-apiModeling.TrustNonnull":true,"clang-analyzer-apiModeling.google.GTest":true,"clang-analyzer-apiModeling.llvm.CastValue":true,"clang-analyzer-apiModeling.llvm.ReturnValue":true,"clang-analyzer-core.CallAndMessage":true,"clang-analyzer-core.CallAndMessageModeling":true,"clang-analyzer-core.DivideZero":true,"clang-analyzer-core.DynamicTypePropagation":true,"clang-analyzer-core.NonNullParamChecker":true,"clang-analyzer-core.NonnilStringConstants":true,"clang-analyzer-core.NullDereference":true,"clang-analyzer-core.StackAddrEscapeBase":true,"clang-analyzer-core.StackAddressEscape":true,"clang-analyzer-core.UndefinedBinaryOperatorResult":true,"clang-analyzer-core.VLASize":true,"clang-analyzer-core.builtin.BuiltinFunctions":true,"clang-analyzer-core.builtin.NoReturnFunctions":true,"clang-analyzer-core.uninitialized.ArraySubscript":true,"clang-analyzer-core.uninitialized.Assign":true,"clang-analyzer-core.uninitialized.Branch":true,"clang-analyzer-core.uninitialized.CapturedBlockVariable":true,"clang-analyzer-core.uninitialized.UndefReturn":true,"clang-analyzer-cplusplus.InnerPointer":true,"clang-analyzer-cplusplus.Move":true,"clang-analyzer-cplusplus.NewDelete":true,"clang-analyzer-cplusplus.NewDeleteLeaks":true,"clang-analyzer-cplusplus.PlacementNew":true,"clang-analyzer-cplusplus.PureVirtualCall":true,"clang-analyzer-cplusplus.SelfAssignment":true,"clang-analyzer-cplusplus.SmartPtrModeling":true,"clang-analyzer-cplusplus.VirtualCallModeling":true,"clang-analyzer-deadcode.DeadStores":true,"clang-analyzer-fuchsia.HandleChecker":true,"clang-analyzer-nullability.NullPassedToNonnull":true,"clang-analyzer-nullability.NullReturnedFromNonnull":true,"clang-analyzer-nullability.NullabilityBase":true,"clang-analyzer-nullability.NullableDereferenced":true,"clang-analyzer-nullability.NullablePassedToNonnull":true,"clang-analyzer-nullability.NullableReturnedFromNonnull":true,"clang-analyzer-optin.cplusplus.UninitializedObject":true,"clang-analyzer-optin.cplusplus.VirtualCall":true,"clang-analyzer-optin.mpi.MPI-Checker":true,"clang-analyzer-optin.osx.OSObjectCStyleCast":true,"clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker":true,"clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker":true,"clang-analyzer-optin.performance.GCDAntipattern":true,"clang-analyzer-optin.performance.Padding":true,"clang-analyzer-optin.portability.UnixAPI":true,"clang-analyzer-osx.API":true,"clang-analyzer-osx.MIG":true,"clang-analyzer-osx.NSOrCFErrorDerefChecker":true,"clang-analyzer-osx.NumberObjectConversion":true,"clang-analyzer-osx.OSObjectRetainCount":true,"clang-analyzer-osx.ObjCProperty":true,"clang-analyzer-osx.SecKeychainAPI":true,"clang-analyzer-osx.cocoa.AtSync":true,"clang-analyzer-osx.cocoa.AutoreleaseWrite":true,"clang-analyzer-osx.cocoa.ClassRelease":true,"clang-analyzer-osx.cocoa.Dealloc":true,"clang-analyzer-osx.cocoa.IncompatibleMethodTypes":true,"clang-analyzer-osx.cocoa.Loops":true,"clang-analyzer-osx.cocoa.MissingSuperCall":true,"clang-analyzer-osx.cocoa.NSAutoreleasePool":true,"clang-analyzer-osx.cocoa.NSError":true,"clang-analyzer-osx.cocoa.NilArg":true,"clang-analyzer-osx.cocoa.NonNilReturnValue":true,"clang-analyzer-osx.cocoa.ObjCGenerics":true,"clang-analyzer-osx.cocoa.RetainCount":true,"clang-analyzer-osx.cocoa.RetainCountBase":true,"clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak":true,"clang-analyzer-osx.cocoa.SelfInit":true,"clang-analyzer-osx.cocoa.SuperDealloc":true,"clang-analyzer-osx.cocoa.UnusedIvars":true,"clang-analyzer-osx.cocoa.VariadicMethodTypes":true,"clang-analyzer-osx.coreFoundation.CFError":true,"clang-analyzer-osx.coreFoundation.CFNumber":true,"clang-analyzer-osx.coreFoundation.CFRetainRelease":true,"clang-analyzer-osx.coreFoundation.containers.OutOfBounds":true,"clang-analyzer-osx.coreFoundation.containers.PointerSizedValues":true,"clang-analyzer-security.FloatLoopCounter":true,"clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling":true,"clang-analyzer-security.insecureAPI.SecuritySyntaxChecker":true,"clang-analyzer-security.insecureAPI.UncheckedReturn":true,"clang-analyzer-security.insecureAPI.bcmp":true,"clang-analyzer-security.insecureAPI.bcopy":true,"clang-analyzer-security.insecureAPI.bzero":true,"clang-analyzer-security.insecureAPI.decodeValueOfObjCType":true,"clang-analyzer-security.insecureAPI.getpw":true,"clang-analyzer-security.insecureAPI.gets":true,"clang-analyzer-security.insecureAPI.mkstemp":true,"clang-analyzer-security.insecureAPI.mktemp":true,"clang-analyzer-security.insecureAPI.rand":true,"clang-analyzer-security.insecureAPI.strcpy":true,"clang-analyzer-security.insecureAPI.vfork":true,"clang-analyzer-unix.API":true,"clang-analyzer-unix.DynamicMemoryModeling":true,"clang-analyzer-unix.Malloc":true,"clang-analyzer-unix.MallocSizeof":true,"clang-analyzer-unix.MismatchedDeallocator":true,"clang-analyzer-unix.Vfork":true,"clang-analyzer-unix.cstring.BadSizeArg":true,"clang-analyzer-unix.cstring.CStringModeling":true,"clang-analyzer-unix.cstring.NullArg":true,"clang-analyzer-valist.CopyToSelf":true,"clang-analyzer-valist.Uninitialized":true,"clang-analyzer-valist.Unterminated":true,"clang-analyzer-valist.ValistBase":true,"clang-analyzer-webkit.NoUncountedMemberChecker":true,"clang-analyzer-webkit.RefCntblBaseVirtualDtor":true,"clang-analyzer-webkit.UncountedLambdaCapturesChecker":true}},"concurrency":{"enabled":true,"issues":{"concurrency-mt-unsafe":true,"concurrency-thread-canceltype-asynchronous":true}},"cppcoreguidelines":{"enabled":true,"issues":{"cppcoreguidelines-avoid-c-arrays":true,"cppcoreguidelines-avoid-goto":true,"cppcoreguidelines-avoid-magic-numbers":true,"cppcoreguidelines-avoid-non-const-global-variables":true,"cppcoreguidelines-c-copy-assignment-signature":true,"cppcoreguidelines-explicit-virtual-functions":true,"cppcoreguidelines-init-variables":true,"cppcoreguidelines-interfaces-global-init":true,"cppcoreguidelines-macro-usage":true,"cppcoreguidelines-narrowing-conversions":true,"cppcoreguidelines-no-malloc":true,"cppcoreguidelines-non-private-member-variables-in-classes":true,"cppcoreguidelines-owning-memory":true,"cppcoreguidelines-prefer-member-initializer":true,"cppcoreguidelines-pro-bounds-array-to-pointer-decay":true,"cppcoreguidelines-pro-bounds-constant-array-index":true,"cppcoreguidelines-pro-bounds-pointer-arithmetic":true,"cppcoreguidelines-pro-type-const-cast":true,"cppcoreguidelines-pro-type-cstyle-cast":true,"cppcoreguidelines-pro-type-member-init":true,"cppcoreguidelines-pro-type-reinterpret-cast":true,"cppcoreguidelines-pro-type-static-cast-downcast":true,"cppcoreguidelines-pro-type-union-access":true,"cppcoreguidelines-pro-type-vararg":true,"cppcoreguidelines-slicing":true,"cppcoreguidelines-special-member-functions":true}},"darwin":{"enabled":true,"issues":{"darwin-avoid-spinlock":true,"darwin-dispatch-once-nonstatic":true}},"fuchsia":{"enabled":true,"issues":{"fuchsia-default-arguments-calls":true,"fuchsia-default-arguments-declarations":true,"fuchsia-header-anon-namespaces":true,"fuchsia-multiple-inheritance":true,"fuchsia-overloaded-operator":true,"fuchsia-statically-constructed-objects":true,"fuchsia-trailing-return":true,"fuchsia-virtual-inheritance":true}},"google":{"enabled":true,"issues":{"google-build-explicit-make-pair":true,"google-build-namespaces":true,"google-build-using-namespace":true,"google-default-arguments":true,"google-explicit-constructor":true,"google-global-names-in-headers":true,"google-objc-avoid-nsobject-new":true,"google-objc-avoid-throwing-exception":true,"google-objc-function-naming":true,"google-objc-global-variable-declaration":true,"google-readability-avoid-underscore-in-googletest-name":true,"google-readability-braces-around-statements":true,"google-readability-casting":true,"google-readability-function-size":true,"google-readability-namespace-comments":true,"google-readability-todo":true,"google-runtime-int":true,"google-runtime-operator":true,"google-upgrade-googletest-case":true}},"hicpp":{"enabled":true,"issues":{"hicpp-avoid-c-arrays":true,"hicpp-avoid-goto":true,"hicpp-braces-around-statements":true,"hicpp-deprecated-headers":true,"hicpp-exception-baseclass":true,"hicpp-explicit-conversions":true,"hicpp-function-size":true,"hicpp-invalid-access-moved":true,"hicpp-member-init":true,"hicpp-move-const-arg":true,"hicpp-multiway-paths-covered":true,"hicpp-named-parameter":true,"hicpp-new-delete-operators":true,"hicpp-no-array-decay":true,"hicpp-no-assembler":true,"hicpp-no-malloc":true,"hicpp-noexcept-move":true,"hicpp-signed-bitwise":true,"hicpp-special-member-functions":true,"hicpp-static-assert":true,"hicpp-undelegated-constructor":true,"hicpp-uppercase-literal-suffix":true,"hicpp-use-auto":true,"hicpp-use-emplace":true,"hicpp-use-equals-default":true,"hicpp-use-equals-delete":true,"hicpp-use-noexcept":true,"hicpp-use-nullptr":true,"hicpp-use-override":true,"hicpp-vararg":true}},"linuxkernel":{"enabled":true,"issues":{"linuxkernel-must-check-errs":true}},"llvm":{"enabled":true,"issues":{"llvm-else-after-return":true,"llvm-header-guard":true,"llvm-include-order":true,"llvm-namespace-comment":true,"llvm-prefer-isa-or-dyn-cast-in-conditionals":true,"llvm-prefer-register-over-unsigned":true,"llvm-qualified-auto":true,"llvm-twine-local":true}},"llvmlibc":{"enabled":true,"issues":{"llvmlibc-callee-namespace":true,"llvmlibc-implementation-in-namespace":true,"llvmlibc-restrict-system-libc-headers":true}},"misc":{"enabled":true,"issues":{"misc-definitions-in-headers":true,"misc-misplaced-const":true,"misc-new-delete-overloads":true,"misc-no-recursion":true,"misc-non-copyable-objects":true,"misc-non-private-member-variables-in-classes":true,"misc-redundant-expression":true,"misc-static-assert":true,"misc-throw-by-value-catch-by-reference":true,"misc-unconventional-assign-operator":true,"misc-uniqueptr-reset-release":true,"misc-unused-alias-decls":true,"misc-unused-parameters":true,"misc-unused-using-decls":true}},"modernize":{"enabled":true,"issues":{"modernize-avoid-bind":true,"modernize-avoid-c-arrays":true,"modernize-concat-nested-namespaces":true,"modernize-deprecated-headers":true,"modernize-deprecated-ios-base-aliases":true,"modernize-loop-convert":true,"modernize-make-shared":true,"modernize-make-unique":true,"modernize-pass-by-value":true,"modernize-raw-string-literal":true,"modernize-redundant-void-arg":true,"modernize-replace-auto-ptr":true,"modernize-replace-disallow-copy-and-assign-macro":true,"modernize-replace-random-shuffle":true,"modernize-return-braced-init-list":true,"modernize-shrink-to-fit":true,"modernize-unary-static-assert":true,"modernize-use-auto":true,"modernize-use-bool-literals":true,"modernize-use-default-member-init":true,"modernize-use-emplace":true,"modernize-use-equals-default":true,"modernize-use-equals-delete":true,"modernize-use-nodiscard":true,"modernize-use-noexcept":true,"modernize-use-nullptr":true,"modernize-use-override":true,"modernize-use-trailing-return-type":true,"modernize-use-transparent-functors":true,"modernize-use-uncaught-exceptions":true,"modernize-use-using":true}},"mpi":{"enabled":true,"issues":{"mpi-buffer-deref":true,"mpi-type-mismatch":true}},"objc":{"enabled":true,"issues":{"objc-avoid-nserror-init":true,"objc-dealloc-in-category":true,"objc-forbidden-subclassing":true,"objc-missing-hash":true,"objc-nsinvocation-argument-lifetime":true,"objc-property-declaration":true,"objc-super-self":true}},"openmp":{"enabled":true,"issues":{"openmp-exception-escape":true,"openmp-use-default-none":true}},"performance":{"enabled":true,"issues":{"performance-faster-string-find":true,"performance-for-range-copy":true,"performance-implicit-conversion-in-loop":true,"performance-inefficient-algorithm":true,"performance-inefficient-string-concatenation":true,"performance-inefficient-vector-operation":true,"performance-move-const-arg":true,"performance-move-constructor-init":true,"performance-no-automatic-move":true,"performance-no-int-to-ptr":true,"performance-noexcept-move-constructor":true,"performance-trivially-destructible":true,"performance-type-promotion-in-math-fn":true,"performance-unnecessary-copy-initialization":true,"performance-unnecessary-value-param":true}},"portability":{"enabled":true,"issues":{"portability-restrict-system-includes":true,"portability-simd-intrinsics":true}},"readability":{"enabled":true,"issues":{"readability-avoid-const-params-in-decls":true,"readability-braces-around-statements":true,"readability-const-return-type":true,"readability-container-size-empty":true,"readability-convert-member-functions-to-static":true,"readability-delete-null-pointer":true,"readability-else-after-return":true,"readability-function-cognitive-complexity":true,"readability-function-size":true,"readability-identifier-naming":true,"readability-implicit-bool-conversion":true,"readability-inconsistent-declaration-parameter-name":true,"readability-isolate-declaration":true,"readability-magic-numbers":true,"readability-make-member-function-const":true,"readability-misleading-indentation":true,"readability-misplaced-array-index":true,"readability-named-parameter":true,"readability-non-const-parameter":true,"readability-qualified-auto":true,"readability-redundant-access-specifiers":true,"readability-redundant-control-flow":true,"readability-redundant-declaration":true,"readability-redundant-function-ptr-dereference":true,"readability-redundant-member-init":true,"readability-redundant-preprocessor":true,"readability-redundant-smartptr-get":true,"readability-redundant-string-cstr":true,"readability-redundant-string-init":true,"readability-simplify-boolean-expr":true,"readability-simplify-subscript-expr":true,"readability-static-accessed-through-instance":true,"readability-static-definition-in-anonymous-namespace":true,"readability-string-compare":true,"readability-suspicious-call-argument":true,"readability-uniqueptr-delete-release":true,"readability-uppercase-literal-suffix":true,"readability-use-anyofallof":true}},"zircon":{"enabled":true,"issues":{"zircon-temporary-objects":true}}}}