cppcheck - sfeed_tests - sfeed tests and RSS and Atom files | |
git clone git://git.codemadness.org/sfeed_tests | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
cppcheck (18412B) | |
--- | |
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yah… | |
3 <id>tag:github.com,2008:https://github.com/danmar/cppcheck/releases</i… | |
4 <link type="text/html" rel="alternate" href="https://github.com/danmar… | |
5 <link type="application/atom+xml" rel="self" href="https://github.com/… | |
6 <title>Release notes from cppcheck</title> | |
7 <updated>2020-06-13T16:08:37Z</updated> | |
8 <entry> | |
9 <id>tag:github.com,2008:Repository/143131/2.1</id> | |
10 <updated>2020-06-13T16:30:19Z</updated> | |
11 <link rel="alternate" type="text/html" href="https://github.com/danm… | |
12 <title>Cppcheck-2.1</title> | |
13 <content type="html"><p>This is a minor release.</p> | |
14 <p>We have tweaked build scripts.</p> | |
15 <ul> | |
16 <li>When you use USE_Z3=yes, we will handle new versions of z3 bet… | |
17 <li>The cmake scripts was updated.</li> | |
18 </ul> | |
19 <p>There was a couple of bug fixes.</p> | |
20 <p>New check:</p> | |
21 <ul> | |
22 <li>for "expression % 1" the result is always 0.</li&… | |
23 </ul></content> | |
24 <author> | |
25 <name>danmar</name> | |
26 </author> | |
27 <media:thumbnail height="30" width="30" url="https://avatars2.github… | |
28 </entry> | |
29 <entry> | |
30 <id>tag:github.com,2008:Repository/143131/2.0</id> | |
31 <updated>2020-05-10T12:08:10Z</updated> | |
32 <link rel="alternate" type="text/html" href="https://github.com/danm… | |
33 <title>Cppcheck-2.0</title> | |
34 <content type="html"><h1>Overview</h1> | |
35 <p>The command line is not changed drastically. Your old cppcheck … | |
36 <p>Compiling: There is a new dependency Z3. When compiling with th… | |
37 <p>Improved clang-tidy integration</p> | |
38 <p>Several fixes to;</p> | |
39 <ul> | |
40 <li>improve parsing</li> | |
41 <li>detect more bugs with existing checks</li> | |
42 <li>fix false alarms</li> | |
43 </ul> | |
44 <h2>Clang import</h2> | |
45 <p>Clang is a C/C++ compiler that has a very robust and well made … | |
46 <p>Cppcheck will always use its internal parser by default. Howeve… | |
47 <p>It is recommended that you use the default internal Cppcheck pa… | |
48 <h2>Bug hunting</h2> | |
49 <p>There is a new "soundy" analysis in Cppcheck that sho… | |
50 <p>This new "soundy" analysis is not intended to replace… | |
51 <p>We have added 1 checker and that checks for division by zero:&l… | |
52 <ul> | |
53 <li>It detects all "integer division by zero" bugs in th… | |
54 <li>It detects all "division by zero" bugs in the ITC te… | |
55 <li>There was 28 division by zero CVEs published in 2019 for C/C++… | |
56 </ul> | |
57 <p>You can read more about this analysis in the "Bug hunting&… | |
58 <author> | |
59 <name>danmar</name> | |
60 </author> | |
61 <media:thumbnail height="30" width="30" url="https://avatars2.github… | |
62 </entry> | |
63 <entry> | |
64 <id>tag:github.com,2008:Repository/143131/1.90</id> | |
65 <updated>2019-12-21T16:54:05Z</updated> | |
66 <link rel="alternate" type="text/html" href="https://github.com/danm… | |
67 <title>Cppcheck-1.90</title> | |
68 <content type="html"><p>New check:</p> | |
69 <ul> | |
70 <li>alias to vector element invalid after vector is changed</li… | |
71 </ul> | |
72 <p>Improved checking:</p> | |
73 <ul> | |
74 <li>improved value flow analysis for struct members</li> | |
75 <li>improved value flow analysis for pointer alias</li> | |
76 </ul> | |
77 <p>CERT:</p> | |
78 <ul> | |
79 <li>Added ENV33-C: Do not call system()</li> | |
80 </ul> | |
81 <p>MISRA:</p> | |
82 <ul> | |
83 <li>Added rule 2.7</li> | |
84 <li>Added rule 3.2</li> | |
85 <li>Added rule 4.2</li> | |
86 <li>Added rule 14.2</li> | |
87 <li>Added rule 21.1</li> | |
88 <li>Added rule 21.12</li> | |
89 </ul></content> | |
90 <author> | |
91 <name>danmar</name> | |
92 </author> | |
93 <media:thumbnail height="30" width="30" url="https://avatars2.github… | |
94 </entry> | |
95 <entry> | |
96 <id>tag:github.com,2008:Repository/143131/1.89</id> | |
97 <updated>2019-09-01T13:18:06Z</updated> | |
98 <link rel="alternate" type="text/html" href="https://github.com/danm… | |
99 <title>Cppcheck-1.89</title> | |
100 <content type="html"><p>Command line:</p> | |
101 <ul> | |
102 <li>The default warning message format was changed. The new format… | |
103 </ul> | |
104 <p>Compiling:</p> | |
105 <ul> | |
106 <li>From now on, use FILESDIR instead of CFGDIR to specify the pat… | |
107 </ul> | |
108 <p>Improved checking:</p> | |
109 <ul> | |
110 <li>improved value flow analysis for pointer aliases</li> | |
111 <li>improved checking for uninitialized variables/structs</li&g… | |
112 <li>better checking of smart pointers</li> | |
113 <li>better checking of global variables</li> | |
114 <li>Added Cppcheck annotations <strong>cppcheck_low</stro… | |
115 <li>shadow variables; warn when argument is shadowed</li> | |
116 <li>warn if local reference variable can be const</li> | |
117 </ul> | |
118 <p>CERT:</p> | |
119 <ul> | |
120 <li>Added API01-C: Avoid laying out strings in memory directly bef… | |
121 <li>Added MSC24-C: Do not use deprecated or obsolescent functions&… | |
122 <li>Added STR11-C: Do not specify the bound of a character array i… | |
123 </ul> | |
124 <p>MISRA:</p> | |
125 <ul> | |
126 <li>Added rule 17.2</li> | |
127 <li>Added rule 18.4</li> | |
128 <li>Added rule 18.7</li> | |
129 </ul> | |
130 <p>GUI:</p> | |
131 <ul> | |
132 <li>Minor tweaks</li> | |
133 </ul></content> | |
134 <author> | |
135 <name>danmar</name> | |
136 </author> | |
137 <media:thumbnail height="30" width="30" url="https://avatars2.github… | |
138 </entry> | |
139 <entry> | |
140 <id>tag:github.com,2008:Repository/143131/1.88</id> | |
141 <updated>2019-06-29T08:38:14Z</updated> | |
142 <link rel="alternate" type="text/html" href="https://github.com/danm… | |
143 <title>Cppcheck-1.88</title> | |
144 <content type="html"><p>New checks:</p> | |
145 <ul> | |
146 <li>Comparing pointers that point to different objects</li> | |
147 <li>Address of local variable 'x' is accessed at non-zero … | |
148 <li>STL usage: unnecessary search before insertion</li> | |
149 <li>Duplicate expression for condition and assignment: if (x==3) x… | |
150 </ul> | |
151 <p>Added --library configuration files for:</p> | |
152 <ul> | |
153 <li>cppunit</li> | |
154 <li>libcerror</li> | |
155 <li>nspr</li> | |
156 <li>opengl</li> | |
157 <li>sqlite3</li> | |
158 </ul> | |
159 <p>Better handling of C++14 and C++17</p> | |
160 <p>Command line:</p> | |
161 <ul> | |
162 <li>New command line option --addon used to run addons directly fr… | |
163 <li>Some advanced options are only available in GUI: | |
164 <ul> | |
165 <li>remove unused declarations in header files to speedup analysis… | |
166 <li>remove unused templates to speedup analysis</li> | |
167 <li>when checking visual studio project, only check 1 configuratio… | |
168 <li>max whole-program-analysis call stack depth<br> | |
169 To get these features in command line tool, create a GUI project file an… | |
170 </ul> | |
171 </li> | |
172 </ul> | |
173 <p>GUI:</p> | |
174 <ul> | |
175 <li>started implementing theme support</li> | |
176 </ul> | |
177 <p>Makefile:<br> | |
178 Please use MATCHCOMPILER=yes instead of SRCDIR=build when compiling to e… | |
179 <p>Cert:</p> | |
180 <ul> | |
181 <li>add check exp15-c</li> | |
182 <li>add check str03-c</li> | |
183 <li>add check str05-c</li> | |
184 <li>add check str07-c</li> | |
185 </ul> | |
186 <p>Misra:</p> | |
187 <ul> | |
188 <li>Add check 17.7</li> | |
189 <li>Add check 20.7</li> | |
190 <li>Add check 20.10</li> | |
191 </ul></content> | |
192 <author> | |
193 <name>danmar</name> | |
194 </author> | |
195 <media:thumbnail height="30" width="30" url="https://avatars2.github… | |
196 </entry> | |
197 <entry> | |
198 <id>tag:github.com,2008:Repository/143131/1.87</id> | |
199 <updated>2019-02-09T11:54:27Z</updated> | |
200 <link rel="alternate" type="text/html" href="https://github.com/danm… | |
201 <title>Cppcheck-1.87</title> | |
202 <content type="html"><p>Command line interface:</p> | |
203 <ul> | |
204 <li>--project can now import Cppcheck GUI projects.</li> | |
205 </ul> | |
206 <p>New checks:</p> | |
207 <ul> | |
208 <li>Condition is always true when array address is compared with 0… | |
209 <li>function argument expression calculation has known result (#88… | |
210 </ul> | |
211 <p>Improvements:</p> | |
212 <ul> | |
213 <li>Better lifetime checking (using pointer/reference that points … | |
214 <li>Improved whole program analysis</li> | |
215 <li>Better handling of language extension var@address.</li> | |
216 <li>Many improvements in parser to handle templates, type aliases,… | |
217 </ul> | |
218 <p>Configuration:</p> | |
219 <ul> | |
220 <li>new configuration for boost</li> | |
221 <li>much better wxwidgets configuration</li> | |
222 </ul> | |
223 <p>Addons:</p> | |
224 <ul> | |
225 <li>New addon for checking naming conventions. Naming conventions … | |
226 </ul> | |
227 <p>Performance:<br> | |
228 According to daca@home Cppcheck-1.87 is in average 10% faster than Cppch… | |
229 <author> | |
230 <name>danmar</name> | |
231 </author> | |
232 <media:thumbnail height="30" width="30" url="https://avatars2.github… | |
233 </entry> | |
234 <entry> | |
235 <id>tag:github.com,2008:Repository/143131/1.86</id> | |
236 <updated>2018-12-08T10:18:28Z</updated> | |
237 <link rel="alternate" type="text/html" href="https://github.com/danm… | |
238 <title>Cppcheck-1.86</title> | |
239 <content type="html"><p>General:</p> | |
240 <ul> | |
241 <li>Many fixes in the template simplifier</li> | |
242 <li>Several fixes in the abstract syntax tree.</li> | |
243 </ul> | |
244 <p>Checking improvements:</p> | |
245 <ul> | |
246 <li>New check: passing address of char to function that expects a … | |
247 <li>New check: shadow variables</li> | |
248 <li>Improved lifetime checking</li> | |
249 <li>Improved STL iterators checking</li> | |
250 <li>Improved data flow analysis</li> | |
251 </ul> | |
252 <p>New libraries:</p> | |
253 <ul> | |
254 <li>zlib</li> | |
255 <li>googletest</li> | |
256 </ul> | |
257 <p>Addons:</p> | |
258 <ul> | |
259 <li>misra.py: Fixes for suppressions and exclusions</li> | |
260 <li>namingng.py: New addon to check naming conventions. Rules are … | |
261 </ul></content> | |
262 <author> | |
263 <name>danmar</name> | |
264 </author> | |
265 <media:thumbnail height="30" width="30" url="https://avatars2.github… | |
266 </entry> | |
267 <entry> | |
268 <id>tag:github.com,2008:Repository/143131/1.85</id> | |
269 <updated>2018-10-14T17:34:15Z</updated> | |
270 <link rel="alternate" type="text/html" href="https://github.com/danm… | |
271 <title>Cppcheck-1.85</title> | |
272 <content type="html"><p>General:</p> | |
273 <ul> | |
274 <li>We are modernizing the Cppcheck code. Support for MSVC 2010 an… | |
275 <li>According to "daca@home" (<a href="http://cp… | |
276 <ul> | |
277 <li>There are fewer crashes.</li> | |
278 <li>Cppcheck-1.85 is ~25% slower than Cppcheck-1.84</li> | |
279 </ul> | |
280 </li> | |
281 </ul> | |
282 <p>Checking improvements:</p> | |
283 <ul> | |
284 <li>New check: Suggest STL algorithms instead of hard-coded for lo… | |
285 <li>New check: Warn about ineffective algorithms (same iterator pa… | |
286 <li>New check: Mismatching iterators used together in operators<… | |
287 <li>Container (STL/Qt/WxWidgets/etc) access out of bounds</li&g… | |
288 <li>Improved the checkers that warns about same/opposite expressio… | |
289 <ul> | |
290 <li>logical conjunctions</li> | |
291 <li>identical/opposite inner expressions</li> | |
292 <li>same expressions around operator</li> | |
293 <li>etc</li> | |
294 </ul> | |
295 </li> | |
296 <li>Variable scope: warn about references also</li> | |
297 </ul> | |
298 <p>Graphical user interface:</p> | |
299 <ul> | |
300 <li>You can specify undefines in the project file dialog</li> | |
301 <li>Fixed configuration of suppressions</li> | |
302 <li>Windows: Fixed issue of wrong/no theme being applied to UI ele… | |
303 </ul> | |
304 <p>Misra:</p> | |
305 <ul> | |
306 <li>support per file excludes from cppcheck</li> | |
307 <li>support per file suppressions from cppcheck</li> | |
308 <li>summary will now summarize results for all files again</li&… | |
309 <li>a few false positives were fixed</li> | |
310 </ul></content> | |
311 <author> | |
312 <name>danmar</name> | |
313 </author> | |
314 <media:thumbnail height="30" width="30" url="https://avatars2.github… | |
315 </entry> | |
316 <entry> | |
317 <id>tag:github.com,2008:Repository/143131/1.84</id> | |
318 <updated>2018-06-12T10:54:33Z</updated> | |
319 <link rel="alternate" type="text/html" href="https://github.com/danm… | |
320 <title>Cppcheck-1.84</title> | |
321 <content type="html"><p>New checks:</p> | |
322 <ul> | |
323 <li>Same rhs expression used in consecutive assignments</li> | |
324 <li>Added more misra checkers</li> | |
325 <li>Function overrides base class function but is not marked with … | |
326 </ul> | |
327 <p>Improved checks:</p> | |
328 <ul> | |
329 <li>Identical inner condition</li> | |
330 <li>Opposite expressions</li> | |
331 <li>Call to virtual function in constructor or destructor</li&g… | |
332 <li>Variable not initialized by private constructor</li> | |
333 <li>A class that has dynamic allocation needs copy constructor, as… | |
334 </ul> | |
335 <p>Misc:</p> | |
336 <ul> | |
337 <li>Various performance optimisations</li> | |
338 <li>Better support for C++17</li> | |
339 <li>--template=gcc format has been updated to match gcc output bet… | |
340 <li>We added a --template-location that can be used to format mult… | |
341 <li>Update --template so the piece of code with the warning can be… | |
342 <li>Symbol-based suppressions</li> | |
343 <li>XML based suppressions format</li> | |
344 </ul> | |
345 <p>Addons:</p> | |
346 <ul> | |
347 <li>cert.py: Attempting to cast away const</li> | |
348 <li>misc.py: String concatenation in array initialization</li&g… | |
349 <li>misc.py: Passing struct to ellipsis function</li> | |
350 <li>misc.py: Function overrides base class function but is not mar… | |
351 </ul> | |
352 <p>Compiling: We dropped support for some old compilers. From now … | |
353 <author> | |
354 <name>danmar</name> | |
355 </author> | |
356 <media:thumbnail height="30" width="30" url="https://avatars2.github… | |
357 </entry> | |
358 <entry> | |
359 <id>tag:github.com,2008:Repository/143131/1.83</id> | |
360 <updated>2018-04-02T08:25:36Z</updated> | |
361 <link rel="alternate" type="text/html" href="https://github.com/danm… | |
362 <title>1.83</title> | |
363 <content type="html"><p>Command line:</p> | |
364 <ul> | |
365 <li>fixes in parser</li> | |
366 <li>Improved loading of platform files.</li> | |
367 </ul> | |
368 <p>GUI:</p> | |
369 <ul> | |
370 <li>few minor improvements in user interface</li> | |
371 <li>Code preview</li> | |
372 <li>Added MISRA addon integration</li> | |
373 <li>Platform can be selected in project settings</li> | |
374 <li>Fixed issue when loading xml results file</li> | |
375 </ul> | |
376 <p>Addons:</p> | |
377 <ul> | |
378 <li>We are now officially releasing our MISRA addon. So far it sup… | |
379 </ul></content> | |
380 <author> | |
381 <name>danmar</name> | |
382 </author> | |
383 <media:thumbnail height="30" width="30" url="https://avatars2.github… | |
384 </entry> | |
385 </feed> |