*new* stored_conditions: make a list of known true/false conditions
commit73be803b89b0987db9fb016404f108fbd32dfa57
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Feb 2014 09:37:50 +0000 (11 12:37 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Feb 2014 09:37:50 +0000 (11 12:37 +0300)
tree8cfbe0393d39273cf5d25eec96f77ae0668bb28c
parent3b2862b6e69d2412848c3999d9a69f1524c39c32
*new* stored_conditions: make a list of known true/false conditions

This is different from smatch_implied.c because it doesn't know the
values of anything.  It just knows that some condition is true or false
and which variables affect it.  If any of the variables are modified then
the condition is no longer known.

This code will be useful for finding duplicate conditions or maybe for
improving smatch_implied.c.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Makefile
check_list.h
smatch_stored_conditions.c [new file with mode: 0644]