Wireshark mailing list archives
Re: clang analysis
From: Bill Meier <wmeier () newsguy com>
Date: Tue, 11 May 2010 16:41:16 -0400
Kaul wrote:
On Tue, May 4, 2010 at 10:55 PM, Stephen Fisher <steve () stephen-fisher com>wrote:On Sat, May 01, 2010 at 10:57:51PM +0300, Kaul wrote:I've ran clang static analyser on SVN latest and got the following: Obviously, there's little chance I can fix all of them. I can try fix a few from the dissectors I'm familiar with, though.
Oy Vey! I've just built clang from SVN and now it finds 3354 bugs. Regretfully, its report is not file based - it just shows them one after another, not sorted by file. I'm not even sure how to open a bug on so many files, and it would be quite difficult go through each file and report the bug. The report ( 6 HTMLs, uncompressed) is 1.8MB - should I perhaps zip and file a single bug? I'm almost done with the fixes to packet-ssl.c, but there are so many others... Y.
I did a build using clang a while back and came to the conclusion that I would focus what appeared to be real problems (null-pointer deref, etc) as for me "life was too short" to try to fix all the dead code & etc. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- clang analysis Kaul (May 01)
- Wireshark can not open file David (May 01)
- Re: Wireshark can not open file Stephen Fisher (May 02)
- Re: clang analysis Stephen Fisher (May 04)
- Re: clang analysis Kaul (May 09)
- Re: clang analysis Stephen Fisher (May 09)
- Re: clang analysis Bill Meier (May 11)
- Re: clang analysis Kaul (May 09)
- Wireshark can not open file David (May 01)