mtag: mask out the low bits
commit0de216a552277d57a33a7cb907ebd3599388e241
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 26 Jul 2018 10:30:48 +0000 (26 13:30 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 26 Jul 2018 10:30:48 +0000 (26 13:30 +0300)
treef8eb7fc25088512e1a16bbc2d8d46c77a1636fdf
parent9a593075205a31355e1458b654a1d307c013198f
mtag: mask out the low bits

The low bits are used for the offset.  If the offset is >= 4095 then it's
unknown.  This way it's easier to store a fakey mtag address in a pointer
sval.

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