mtag: create a reverse mapping from mtag to symbol
commit7bac6adba6fbb69be83c5b51e165992446335693
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 8 May 2023 18:27:08 +0000 (8 21:27 +0300)
committerDan Carpenter <dan.carpenter@linaro.org>
Mon, 8 May 2023 18:27:08 +0000 (8 21:27 +0300)
treee072f4908174f983147e688362a0320fe83df37e
parentc085ecb219ffdd3b3bc543a812e7961836304e5a
mtag: create a reverse mapping from mtag to symbol

How you create an mtag is you take the name of a function and the scope
and hash it.  That gives you a number.  The number is saved in the DB
etc.

But say you have a number and want to look up the function?  Now you can
use the new get_symbol_from_mtag() function.

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