ddpi_stackstate_set_alloca_base operation

The ddpi_stackstate_set_alloca_base operation assigns the given alloca_base to the Ddpi_StackState initial alloca_base.

Prototype

int ddpi_stackstate_set_alloca_base(
  Ddpi_StackState       stackstate,
  Dwarf_Addr            new_alloca_base,
  Ddpi_Error*           error);

Parameters

stackstate
Input. This accepts the Ddpi_StackState object.
new_alloca_base
Input. This accepts the new alloca_base.
error
See The libddpi error parameter.

Return values

DW_DLV_OK
Returned when the initial alloca_base for the current stack frame has been successfully assigned.
DW_DLV_NO_ENTRY
Never returned.
DW_DLV_ERROR
This value is returned if:
  • stackstate is NULL.
  • The Ddpi_Info object associated with stackstate is NULL.