clang static analysis of leon2
Joel Sherrill
joel at rtems.org
Mon Apr 20 17:28:39 UTC 2020
I could download the report and look through it.
I assume that's the standard output from the analyzer. For prioritization
of looking at issues, it can be helpful if there is a way to group them by
"area" which usually corresponds to the subdirectory. My scan showed
one for a chain method in score/src. I think adding one line of code would
fix that.
But I also saw one in calloc.c which I think would need to be marked as
a false report. calloc() is supposed to return a pointer so it isn't a leak.
Is there a way to tell the analyzer to ignore that specific issue in that
method?
Have you looked through the reports for things that look legitimate
and easy to fix?
I'm unsure of the scope of your GSoC project so not sure other than
to say I looked through it quickly and was able to see the issues reported
after I unzipped the report.
Is the goal to get this integrated into the RTEMS.org buildbot?
--joel
On Mon, Apr 20, 2020 at 12:14 PM suyash singh <suyashsingh234 at gmail.com>
wrote:
> Find the analysis here
> https://drive.google.com/drive/folders/1FL_euXfAtlzezDf0Vwg5-WHM22z8lbFQ
>
> steps here
> https://github.com/suyashsingh234/rtems-notes
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200420/54b3cb88/attachment.html>
More information about the devel
mailing list