mtag: add string information
commit3bc671b6e7acbc82f7b111ba31209d90405e44ef
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 31 Aug 2018 20:49:08 +0000 (31 23:49 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 31 Aug 2018 20:49:08 +0000 (31 23:49 +0300)
treeec40ff2c847b92004b78124cac55846deb3e1c2b
parent15a49936f8437b887a15a8334b939b70c3ce3a99
mtag: add string information

This code isn't totally perfect, but if I don't commit it now, then I'm
going to just end up forgetting what's involved...

Basically we store a string in mtag_data and we have an mtag which points
to it.  This is only used to calculate strlen() for known strings, but
eventually it will be used more often.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch.h
smatch_db.c
smatch_expressions.c
smatch_extra.h
smatch_math.c
smatch_mtag.c
smatch_strings.c