2008-05-28 08:14:38 Splint with uClinux possible?
Nico van Leeuwen (NETHERLANDS)
Message: 56343
Is it possible to run splint as static code checker on a uClinux program? I'm wondering how it handles the system header files, splint gives me many errors/warnings about those header files. Is it possible to avoid checking of the headerfiles?
Does anyone here have experience with splint together with uclinux?
TranslateQuoteReplyEditDelete
2008-05-28 11:53:05 Re: Splint with uClinux possible?
Mike Frysinger (UNITED STATES)
Message: 56358
splint doesnt execute a compiler, so it doesnt really matter if your target is Blackfin or anything else
the documentation suggests you should be using the -systemdirs option if your system headers arent in the normal /usr/include location
QuoteReplyEditDelete
2008-05-29 02:48:05 Re: Splint with uClinux possible?
Nico van Leeuwen (NETHERLANDS)
Message: 56387
That is true but it seems to parse all the included headerfiles. That's what I don't want it to do, because I don't want to style the code of the distribution. I just want to check my own code.
You have used splint with uClinux? I think I need some user experiences to know how to set up things.
Thanks for your reply.
TranslateQuoteReplyEditDelete
2008-05-29 11:46:44 Re: Splint with uClinux possible?
Mike Frysinger (UNITED STATES)
Message: 56415
the documentation already tells you how to handle that:
If -systemdirerrors is set, no errors are reported for files in system directories.
but i dont use splint at all ... i heard about it when you asked about it
the fact you're using it on code you intend to compile for the Blackfin really doesnt matter