-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check splint errors #119
Comments
So, I've just pushed a few comments that makes it possible to run splint in a correct way on ALL our files (except for test files). This gives over 3000 warnings.
|
Funny enough, it generates no warnings for me. |
Yeah, because I added all the suppressions. As is, it doesn't warn for me either - you have to remove the suppressions in |
So, yeah @olabini I still get a lot of parsing errors. And I get prepoc errors:
When I add the flag -preproc, it runs. But still gets into parsing errors. This may be another 'cannot fix for MAC'. |
So, I sort of scroll on the warnings printed, and this one repeats a lot:
It is related to: http://c-faq.com/aryptr/aryptrparam.html |
We decided around the 'manifest arrays' to change them to arrays everywhere and then define in the documentation of which size. |
So, most of the above comments are not relevant anymore.
|
Why
A library should use a static analyzer.
Issues reported:
in list.c
in tlv.c
The text was updated successfully, but these errors were encountered: