states: introduce helper functions to preserve and restore everything
commit527aed2b698ad3a4dacacf9d44e837b547db0985
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 18 Feb 2013 07:07:34 +0000 (18 10:07 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 18 Feb 2013 07:07:34 +0000 (18 10:07 +0300)
tree603a437c870688f2c9358b18894b6eb0f4afd15e
parent6d45b3e9d4a23a4ab5112af4e03bcf02fa3526a3
states: introduce helper functions to preserve and restore everything

When I'm processing inline functions, I want to to save all the states,
set everything to zero, and then restore it to the original condition.
Everything I'm interested in will be saved in the In-Memory database.

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