ddpi_stackstate_get_dsa_len operation

The ddpi_stackstate_get_dsa_len operation returns the Ddpi_StackState DSA length.

Prototype

int ddpi_stackstate_get_dsa_len(
  Ddpi_StackState       stackstate,
  Dwarf_Unsigned*       ret_dsa_len,
  Ddpi_Error*           error);

Parameters

stackstate
Input. This accepts the Ddpi_StackState object.
ret_dsa_len
Output. This returns the DSA length.
error
See The libddpi error parameter.

Return values

DW_DLV_OK
Returned when the length of the DSA location of the given state-stack object has been successfully retrieved.
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.
  • ret_dsa_len is NULL.