constraints: don't store signed vs unsigned
commitcc70bbd760ba56e0c37616b8ae41a29fe8f310d3
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 13 Nov 2017 20:11:36 +0000 (13 23:11 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 13 Nov 2017 20:11:36 +0000 (13 23:11 +0300)
tree9a43a9f8ee57c5a4fbe6106d981618de3c41b90a
parent6e25292d0a97bf1b71e33ed775f75f32afae946f
constraints: don't store signed vs unsigned

In the DB, we don't store the sign vs unsigned and it's sort of complicated
to add it.  And this is array index stuff and we have a separate check
which looks for underflows so that's a bit covered already.

So let's strip out the signed vs unsigned bits so that if a comparison is
unsigned, it still fits the requirements.

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