<html><head><meta http-equiv="Content-Type" content="text/html charset=gb18030"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Good catch. I'll fix this soon...sorry!</div><div><br></div><div>Jordan</div><div><br></div><br><div><div>On May 30, 2013, at 0:33 , ÁúÐÐÌìÏ <<a href="mailto:hunterguo@vip.qq.com">hunterguo@vip.qq.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>i write a new checker named <a href="http://test.NewChecker.it">test.NewChecker.it</a> 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>_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev<br></blockquote></div><br></body></html>