db, comparison: store return range comparisons in the database
commit5991a6c59a651ff9f1b854a9d9114bcd8c78db1e
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Jun 2013 07:57:59 +0000 (12 10:57 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Jun 2013 07:57:59 +0000 (12 10:57 +0300)
tree7ee8fdd86caa2efa63d2837bc9e422b303675e19
parentda551d77ad62946b3dc701b27895333f5666b0ef
db, comparison: store return range comparisons in the database

This stores the relationship information in the database.  It doesn't work
very well yet, in terms of recognizing relationships in the kernel source.

What it does is that at the beginning of the function it stores all the
original values.  Then at the end of the function it compares the return
value to each parameter until it finds a relationship.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch.h
smatch_comparison.c
smatch_db.c