On Wed, 22 Apr 2009 22:54:08 +0200, Stefan Reinauer stepan@coresystems.de wrote:
On 22.04.2009 22:50 Uhr, ron minnich wrote:
On Tue, Apr 21, 2009 at 4:41 AM, Joseph Smith joe@settoplinux.org
wrote:
This really sounds like an unitialized variable or a bad pointer.
Wouldn't gcc catch these and error when building?
not always. that's what sparse can be useful for.
ron
BTW: I did a new scanbuild run today: http://www.coresystems.de/~stepan/coreboot-scanbuild/
Patches and bug fixes are welcome.
If anyone succeeds to get sparse running with coreboot, i'll give it a try, too. It didn't work all too well when i tried.
Wow looks like there are alot of bugs in romcc.c !