mtag: introduce get_mtag_addr_sval()
commita82e7864f788abef5dba9d4b13f5f03fcf937b1c
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 31 Jul 2018 11:34:51 +0000 (31 14:34 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 31 Jul 2018 13:19:42 +0000 (31 16:19 +0300)
tree2597dd1da87b82309ec01d13fa1c3e9cda555d96
parent1e2a03ab0c508444fc81349651909fd023fa1be9
mtag: introduce get_mtag_addr_sval()

This just moves code around.  We use this in get_mtag_rl() which takes
a variable, and looks up the mtag and offset and finds what is stored
there.  We should be using it to store the data in the DB as well.

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