5 echo "Usage $0 <function>"
9 get_function_pointers
()
16 ptrs
=$
(echo "select ptr from function_ptr where function = '$func';" | sqlite3 smatch_db.sqlite
)
18 echo "select * from caller_info where function = '$ptr';" | sqlite3 smatch_db.sqlite
25 if [ "$func" = "" ] ; then
29 echo "select * from caller_info where function = '$func';" | sqlite3 smatch_db.sqlite
30 get_function_pointers
$func