comparison: store comparisons against functions as in "strchr(p, ',') - p"
commit429f3bbc14f5924ccd5364fbfc8f1b3f5acd2a70
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 28 Aug 2017 10:15:04 +0000 (28 13:15 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 28 Aug 2017 10:15:04 +0000 (28 13:15 +0300)
tree2829466c75e9248d6593b455eff8baeeef861e16
parent5a6e9133742738c079495f40608bc41e079bf51f
comparison: store comparisons against functions as in "strchr(p, ',') - p"

The strchr() function returns a pointer which is greater than the original.
The information is stored in the database already but we didn't have a way
to save comparisons between function calls and variables before.

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