db: introduce return_state_to_var_sym()
commit1283419ad6f89e8586411c8afbc023d140b22ee3
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 17 Jun 2013 13:56:01 +0000 (17 16:56 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 17 Jun 2013 13:56:01 +0000 (17 16:56 +0300)
tree4b02e357baa02e23ed637a69cbd9c0e5462da2cb
parentb285f7e5df795d9388cf6ea9080217edad8f26bb
db: introduce return_state_to_var_sym()

This function is sort of like get_variable_from_key() except that it can
also handle param -1 (the return value).  So you just take the information
from the database and you get the var-sym combo that you care about.

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