NAME
uwx_add_to_bsp() — backing store pointer arithmetic
SYNOPSIS
#include <uwx.h>
uint64_t uwx_add_to_bsp(
uint64_t bsp,
int nslots);
DESCRIPTION
uwx_add_to_bsp()
is part of the Unwind Express Library for Integrity systems; see
uwx(3X).
uwx_add_to_bsp()
adjusts a backing store pointer
(bsp)
forward or backward the given number of slots,
taking into account the NaT collections that are placed into the backing store
at every 64th slot.
The adjusted
bsp
is computed as the original
bsp
plus
sizeof(uint64_t) *
nslots,
plus an adjustment for any intervening NaT collections.
Parameters
- bsp
The original backing store pointer.
- nslots
The number of slots forward (positive) or backward (negative) to adjust the
bsp.
RETURN VALUE
uwx_add_to_bsp()
returns the adjusted backing store pointer.
AUTHOR
The Unwind Express Library was developed by Hewlett-Packard.
SEE ALSO
uwx(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).