[asterisk-bugs] [JIRA] (ASTERISK-24917) [patch] clang compilation warnings
Diederik de Groot (JIRA)
noreply at issues.asterisk.org
Sun Mar 29 10:15:34 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225689#comment-225689 ]
Diederik de Groot edited comment on ASTERISK-24917 at 3/29/15 10:14 AM:
------------------------------------------------------------------------
Ran clang's static analyzer (scan-build) which found 819 of potential issues in asterisk-13 revision 433715, some of which are real bugs and of course some are also false positives. Adding both clang and scan-build to a CI environment could be quite helpfull in tracking down these bugs. The scanbuild file is pretty bif (sorry about that), but it includes the branching path that leads up to the bug.
http://asterisk.chan-sccp.net:443/scanbuild-output/2015-03-29-155615-16015-1/
I hope that seeing the quality of the scan-build report, make all the work above worth it. besides the fact that some distributions / OS's are switching to llc + clang completely.
was (Author: dkdegroot):
Ran clang's static analyzer (scan-build) which found 819 of potential issues in asterisk-13 revision 433715, some of which are real bugs and of course some are also false positives. Adding both clang and scan-build to a CI environment could be quite helpfull in tracking down these bugs. The scanbuild file is pretty bif (sorry about that), but it includes the branching path that leads up to the bug.
https://reviewboard.asterisk.org/media/uploaded/files/2015/03/29/5417a9e0-0023-4eb2-aa97-5a2659997e68__scanbuild_2015-03-29_r433715.tar.bz2
I hope that seeing the quality of the scan-build report, make all the work above worth it. besides the fact that some distributions / OS's are switching to llc + clang completely.
> [patch] clang compilation warnings
> ----------------------------------
>
> Key: ASTERISK-24917
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24917
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Core/General
> Affects Versions: 11.17.0, 13.2.0
> Environment: clang
> Reporter: Diederik de Groot
> Attachments: make.report
>
>
> clang's static analyzer will throw quite a number warnings / errors during compilation, some of which can be very helpfull in finding corner-case bugs. Will use this issue report to group together a number of reviewboard entries.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list