* [RFC] More checking with sparse 0/4
@ 2006-12-28 9:23 Christopher Li
0 siblings, 0 replies; only message in thread
From: Christopher Li @ 2006-12-28 9:23 UTC (permalink / raw)
To: linux-sparse; +Cc: Linus Torvalds, Josh Triplett, Dan Carpenter
Hi,
I have been play with sparse to add more Stanford checker style
of checking. The paper is "Checking System Rules Using System-
Specific, Programmer-Written Compiler Extensions" by Dawson Engler
etc.
Unlike the Stanford checker and smatch, this checker is working on
the linearization level instead of AST level. Linearization code
can be very convenient (when it works) to trace the data flow because
pseudo is in SSA form. There is define/user chain to avoid scan
every instruction.
I write the demo of checking null pointer and irq checking. It is mostly
an example.
The checking seems very fast. It adds about 10 seconds to the whole
make C=1 run. We might able to add it to stander sparse checking.
The some of the patch I send it to the list before. I post it again
to make it easy for the people who want to try it out.
As always, comments and suggestions are welcome.
Chris
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-28 9:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-28 9:23 [RFC] More checking with sparse 0/4 Christopher Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).