|
|
HP-UX Reference > Uuwx_find_symbol(3X)Integrity Systems OnlyHP-UX 11i Version 2: December 2007 Update |
|
NAMEuwx_find_symbol() — obtain symbolic information from ELF files SYNOPSIS#include <uwx.h> int uwx_find_symbol( struct uwx_env *env, struct uwx_symbol_cache **cachep, char *mod, uint64_t relip, char **funcp, uint64_t *offsetp ); DESCRIPTIONuwx_find_symbol() is part of the Unwind Express Library for Integrity systems; see uwx(3X). uwx_find_symbol() obtains symbolic information for a given IP (instruction pointer) from the symbol tables in the ELF object file, if available. To use this interface, the name of the load module and the relative offset of the IP from the beginning of that module's text segment must be known. See dlmodinfo(3C) and dlgetname(3C) for information on obtaining information about load modules. This entry point is provided for cases where an application may wish to perform a quick stack unwind operation, saving only the IP values in an array, then later produce a symbolic report. It may also be used independently of any stack unwind operation (note that an unwind environment object must be provided, but it does not need to have a current context). For obtaining source information while unwinding, see uwx_get_sym_info(3X) and uwx_get_source_info(3X). This entry point returns a subset of the information returned by uwx_find_source_info(). Parameters
SEE ALSOdlgetname(3C), dlmodinfo(3C), uwx(3X), uwx_add_to_bsp(3X), uwx_find_source_info(3X), uwx_free(3X), uwx_get_abi_context_code(3X), uwx_get_funcstart(3X), uwx_get_module_info(3X), uwx_get_nat(3X), uwx_get_reg(3X), uwx_get_source_info(3X), uwx_get_sym_info(3X), uwx_init(3X), uwx_init_context(3X), uwx_register_alloc_cb(3X), uwx_register_callbacks(3X), uwx_release_symbol_cache(3X), uwx_self_do_context_frame(3X), uwx_self_free_info(3X), uwx_self_init_context(3X), uwx_self_init_info(3X), uwx_set_nofr(3X), uwx_set_remote(3X), uwx_step(3X), uwx_step_inline(3X). |
|