tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

KASSERT and clang static analyzer



Hi,

I'm trying clang static analyzer.
It seems to assume that KASSERT(a != 0) => test what happens if a == 0 in the rest of the function
any idea how to convince it to stop doing that?

example output: http://i.imgur.com/AqTm9mq.png
I'm building kernel with 'scan-build make -j20'

Thanks.


Home | Main Index | Thread Index | Old Index