On 10/5/06, Michael Stefaniuc <mstefani@xxxxxxxxxx> wrote:
Hello Dan, Dan Carpenter wrote: > Work on smatch is going ahead. I have one real life check is working > and I've added a patched up the core code quite a bit. great work! What about the old smatch.pm and perl scripts? Will i be still able to use those or would i have to port them over? I'm still using the old smatch on checking Wine. bye michael
They'll have to be ported I'm afraid. Rewrites are a pain, but it's worth it because now it's easier to install, it's easier to use, and it runs a bajillion times faster. Using sparse also buys us a bunch of features for free, for example if you have 'i' defined in two different scopes with sparse handles that. Another example is compound conditions. The old code was confused by stuff like: if (a && a->foo() || a && a->bar()) there wasn't a good way to deal with that with the old way. Which checks do you use most? I'll port those first... regards, dan carpenter - To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html