NAME
uwx_get_funcstart() — return start address of current function
SYNOPSIS
#include <uwx.h>
int uwx_get_funcstart(struct uwx_env *env);
DESCRIPTION
uwx_get_funcstart()
is part of the Unwind Express Library for Integrity systems; see
uwx (3X).
uwx_get_funcstart()
returns the starting address of the current function,
as defined by the stack unwind table entry for the current IP (instruction
pointer).
(This may not actually be the main entry point for the function,
since functions are occasionally split into separate regions at
higher levels of optimization.)
Parameters
- env
A pointer to an unwind environment object.
RETURN VALUE
uwx_get_funcstart()
returns
UWX_OK
on success.
See
uwx(3X)
for error codes.
AUTHOR
The Unwind Express Library was developed by Hewlett-Packard.
SEE ALSO
uwx(3X),
uwx_add_to_bsp(3X),
uwx_find_source_info(3X),
uwx_find_symbol(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).