Any routine declared in a priv_
header is not currently available to tools - only the routines in the pub_tool_
header files are part of the core/tool interface.
The pub_tool_debuginfo.h
header is the interface to debug information, and the VG_(get_data_description)
function is the one to use to get information about the variable (if any) associated with an address. Note that your tool will need to call VG_(needs_var_info)
from it's clo_init
routine if it wants variable information to be loaded.
The best place to ask questions about writing tools is probably the valgrind-developers mailing list.