function_hooks: introduce early add_function_hook_early()
commitbe600087028dfc56a10737d684e6b5c8ab45bae3
authorDan Carpenter <error27@gmail.com>
Thu, 23 Feb 2023 10:54:41 +0000 (23 13:54 +0300)
committerDan Carpenter <error27@gmail.com>
Thu, 23 Feb 2023 10:54:41 +0000 (23 13:54 +0300)
treed3d496f9587a943a67d150f161ebe2bbec6213f7
parent42e9dbb8758abe5ff622b3f5514646b7fc798c36
function_hooks: introduce early add_function_hook_early()

Introduce add_function_hook_early() and a matching
add_function_param_key_hook_early() which is for param/key pairs.  This
is called before the return states are processed so we can access the
caller information.

Signed-off-by: Dan Carpenter <error27@gmail.com>
smatch.h
smatch_function_hooks.c