<div>i write a new checker named test.NewChecker.it works in cmd:<b style="font-family: monospace; font-size: small; line-height: 18px;">clang -cc1 -analyze -analyzer-checker=</b>test.NewChecker<b style="font-family: monospace; font-size: small; line-height: 18px;"> test.c</b></div><div><font face="monospace" size="2"><span style="line-height: 18px;"><b>but cmd:</b></span></font><span style="line-height: 1.5;">./scan-build --use-analyzer=/Users/tester/workspace/WeixinTest/clang/release3.2/build/Release+Asserts/bin/clang -o ~/Documents -enable-checker test.NewChecker xcodebuild -workspace /Users/tester/workspace/WeixinTest/workspace/PropMemFun/PropMemFun.xcodeproj/project.xcworkspace -scheme PropMemFun -sdk iphoneos6.1 build </span></div><div>not work</div><div>it seems that <span style="line-height: 1.5;">-enable-checker</span><span style="line-height: 1.5;">  does not work because </span>$Options->{"CCC_ANALYZER_ANALYSIS"} is not used <span style="line-height: 1.5;">.the code:</span></div><div><span style="line-height: 1.5;"><div> my $OutputDir = $Options->{"OUTPUT_DIR"};</div><div>    my $CLANG = $Options->{"CLANG"};</div><div>    push @$Args,</div><div>        "RUN_CLANG_STATIC_ANALYZER=YES",</div><div>        "CLANG_ANALYZER_OUTPUT=plist-html",</div><div>        "CLANG_ANALYZER_EXEC=$CLANG",</div><div>        "CLANG_ANALYZER_OUTPUT_DIR=$OutputDir";</div><div>    return (system(@$Args) >> 8);</div><div><br></div><div><br></div></span></div><div>my question is :how can I enable alpha/debug checker or my own checker</div>