blob: 423e136f4bf4ba8ce15815f0cd8e0b018230d668 [file] [log] [blame]
Ted Kremenekef35cbc2011-01-27 19:41:08 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3<html>
4<head>
5 <title>Release notes for checker-XXX builds</title>
Benjamin Kramer665a8dc2012-01-15 15:26:07 +00006 <link type="text/css" rel="stylesheet" href="menu.css">
7 <link type="text/css" rel="stylesheet" href="content.css">
Ted Kremenekef35cbc2011-01-27 19:41:08 +00008 <script type="text/javascript" src="scripts/menu.js"></script>
9</head>
10<body>
11
12<div id="page">
13<!--#include virtual="menu.html.incl"-->
14<div id="content">
15
16<h1>Release notes for <tt>checker-XXX</tt> builds</h1>
17
Ted Kremenekd2e70902012-01-25 22:18:04 +000018<h4 id="checker_259">checker-259</h4>
19
20<p><b>built: </b>January 25, 2012<br>
21<b>download:</b> <a href="http://bit.ly/zOWf1P">checker-259.tar.bz2</a></p>
22<p><b>highlights:</b></p>
23
24<ul>
25 <li>Contains a newer version of the analyzer than the one shipped in Xcode 4.2.</li>
26 <li>Significant performance optimizations to reduce memory usage of the analyzer.</li>
27 <li>Tweaks to scan-build to have it work more easily with Xcode projects using Clang.</li>
28 <li>Numerous bug fixes to better support code using ARC.</li>
29</ul>
30
Ted Kremenekbb19cd82011-10-14 04:15:19 +000031<h4 id="checker_258">checker-258</h4>
32
Ted Kremenekd2e70902012-01-25 22:18:04 +000033<p><b>built: </b>October 13, 2011<br>
Ted Kremenekbb19cd82011-10-14 04:15:19 +000034<p><b>highlights:</b></p>
35
36<ul>
37 <li>Contains a newer version of the analyzer than the one shipped in Xcode 4.2.</li>
38 <li>Adds a new security checker for looking at correct uses of the Mac OS KeyChain API.</li>
39 <li>Supports ARC (please file bugs where you see issues)</li>
40 <li>Major under-the-cover changes. This should result in more precise results in some cases, but this is laying the groundwork for major improvements. Please file bugs where you see regressions or issues.</li>
41</ul>
42
Ted Kremenekf30c4cc2011-05-25 16:30:14 +000043<h4 id="checker_257">checker-257</h4>
44
Ted Kremenekd2e70902012-01-25 22:18:04 +000045<p><b>built: </b>May 25, 2011<br>
Ted Kremenekf30c4cc2011-05-25 16:30:14 +000046<p><b>highlights:</b></p>
47
48<ul>
49 <li>The analyzer is now far more aggressive with checking conformance with Core Foundation conventions. Any function that returns a CF type must now obey the Core Foundation naming conventions, or use the <a href="/annotations.html#attr_cf_returns_retained">cf_returns_retained</a> or <a href="/annotations.html#attr_cf_returns_not_retained">cf_returns_not_retained</a> annotations.</li>
50 <li>Fixed a serious regression where the analyzer would not analyze Objective-C methods in class extensions.</li>
51 <li>Misc. bug fixes to improve analyzer precision.
52 </li>
53</ul>
54
Ted Kremenek2d5f2da2011-04-13 21:48:34 +000055<h4 id="checker_256">checker-256</h4>
56
Ted Kremenekd2e70902012-01-25 22:18:04 +000057<p><b>built: </b>April 13, 2011<br>
Ted Kremenek2d5f2da2011-04-13 21:48:34 +000058<p><b>highlights:</b></p>
59
60<ul>
61 <li>Lots of bug fixes and improvements to analyzer precision (fewer false positives, possibly more bugs found).
62 <li>Introductory analysis support for C++ and Objective-C++.
63</ul>
64
65<p>This build contains basic support for C++ and Objective-C++ that is ready to be tried out
66 by general users. It is still in its infancy, but establishes a baseline for things to come. The main hope is that it can find some
67 issues and have a reasonable false positive rate.</p>
68
69<p><b>Please</b> <a href="/filing_bugs.html">file bugs</a> when you see issues of any kind so we can assess
70 where development on C++ analysis support needs to be focused.</p>
71
72<p>To try out C++ analysis support, it should work out of the box using <tt>scan-build</tt>. If you are using this checker build
73 as a replacement to the analyzer bundled with Xcode, first use the <tt>set-xcode-analyzer</tt> script to <a href="/xcode.html">change Xcode to use
74 your version of the analyzer</a>. You will then need to modify one configuration file in Xcode to enable C++ analysis support. This can
75 be done with the following steps:</p>
76
77<ol>
78 <li>Find the clang .xcspec file:
79<pre>$ cd /Developer/Library
80$ find . | grep xcspec | grep Clang
81./Xcode/<b>&lt;SNIP&gt;</b>/Clang LLVM 1.0.xcplugin/Contents/Resources/Clang LLVM 1.0.xcspec
82</pre></li>
83 <li>The exact location of the file may vary depending on your installation of Xcode. Edit that file, and look for the string &quot;--analyze&quot;:
84<pre>
85 SourceFileOption = "--analyze";
86 FileTypes = (
87 "sourcecode.c.c",
88 "sourcecode.c.objc",
89 );
90 ...
91</pre>
92 Change the &quot;FileTypes&quot; entry to:
93<pre>
94 FileTypes = (
95 "sourcecode.c.c",
96 "sourcecode.c.objc",
97 "sourcecode.cpp.cpp",
98 "sourcecode.cpp.objcpp",
99 );
100</pre></li>
101<li>Restart Xcode.</li>
102</ol>
103
Ted Kremeneke6732792011-02-12 03:20:34 +0000104<h4 id="checker_255">checker-255</h4>
105
Ted Kremenekd2e70902012-01-25 22:18:04 +0000106<p><b>built: </b> February 11, 2011<br>
Ted Kremeneke6732792011-02-12 03:20:34 +0000107<p><b>highlights:</b></p>
108
109<ul>
110<li>Mac OS X builds are now Intel <tt>i386</tt> and <tt>x86_64</tt> only (no <tt>ppc</tt> support)</li>
111<li>Turns on new <tt>-init</tt> method checker by default</li>
112<li>Reduces memory usage of analyzer by 10%</li>
113<li>Misc. fixes to reduce false positives on dead stores and idempotent operations.</li>
114</ul>
115
Ted Kremenekef35cbc2011-01-27 19:41:08 +0000116<h4 id="checker_254">checker-254</h4>
117
Ted Kremenekd2e70902012-01-25 22:18:04 +0000118<p><b>built: </b> January 27, 2011<br>
Ted Kremenekef35cbc2011-01-27 19:41:08 +0000119<p><b>highlights:</b></p>
120
121<ul>
122<li>Introduces new <tt>-init</tt> method checker to check if a super class's init method is properly called.</li>
123<li>Objective-C retain/release checker now reasons about calls to property accessor methods (setter/getter).</li>
124<li>Introduces new attribute <a href="annotations.html#attr_ns_consumes_self">ns_consumes_self</a> to educate the Objective-C retain/release checker about custom &quot;init-like&quot; methods that do not follow the standard Cocoa naming conventions.</li>
125<li>Introduces new attributes <a href="annotations.html#attr_ns_consumed">ns_consumed</a> and <a href="annotations.html#attr_cf_consumed">cf_consumed</a> to educate the Objective-C retain/release checker about methods/functions that decrement the reference count of a parameter.</li>
126</ul>
127
128</div>
129</div>
130</body>
131</html>
132