mtag_data: re-write in terms of mtag/offset
commitf53ddb5e636b8a78a1dcf5538478a0374d0673e7
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 18 Mar 2019 14:21:23 +0000 (18 17:21 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 18 Mar 2019 14:21:23 +0000 (18 17:21 +0300)
tree3930640a7532f18dcfd84923d9ff8e2d52af3978
parentc65c08e56b08203804e87d38a464e7a9c8904739
mtag_data: re-write in terms of mtag/offset

I don't like the sval API.  I can see why it seemed like a good API
initially but it turns out more natural to talk about mtags and offsets.

Ideally this shouldn't change run time, but I've swapped the code to use
the duplicate versions of a couple functions so it might expose different
bugs.

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