2017-03-04 02:02:02 +08:00
|
|
|
// RUN: %clang_analyze_cc1 -triple x86_64-apple-darwin10 %s -o /dev/null -analyzer-checker=core -analyzer-list-enabled-checkers > %t 2>&1
|
2016-08-08 21:41:04 +08:00
|
|
|
// RUN: FileCheck --input-file=%t %s
|
|
|
|
|
|
|
|
// CHECK: OVERVIEW: Clang Static Analyzer Enabled Checkers List
|
|
|
|
// CHECK: core.CallAndMessage
|
|
|
|
// CHECK: core.DivideZero
|
|
|
|
// CHECK: core.DynamicTypePropagation
|
|
|
|
// CHECK: core.NonNullParamChecker
|
|
|
|
// CHECK: core.NullDereference
|
|
|
|
// CHECK: core.StackAddressEscape
|
|
|
|
// CHECK: core.UndefinedBinaryOperatorResult
|
|
|
|
// CHECK: core.VLASize
|
|
|
|
// CHECK: core.builtin.BuiltinFunctions
|
|
|
|
// CHECK: core.builtin.NoReturnFunctions
|
|
|
|
// CHECK: core.uninitialized.ArraySubscript
|
|
|
|
// CHECK: core.uninitialized.Assign
|
|
|
|
// CHECK: core.uninitialized.Branch
|
|
|
|
// CHECK: core.uninitialized.CapturedBlockVariable
|
|
|
|
// CHECK: core.uninitialized.UndefReturn
|
|
|
|
|