ddpi_function_get_die_offset operation

The ddpi_function_get_die_offset operation returns the DIE offset of the function.

Prototype

int ddpi_function_get_die_offset(
   Ddpi_Function         function,
   Dwarf_Off*            ret_offset,
   Ddpi_Error*           error); 

Parameters

function
Input. This accepts the Ddpi_Function object for the function.
ret_offset
Output. This returns the DIE offset for the function.
error
See The libddpi error parameter.

Return values

DW_DLV_OK
This value is returned upon successful completion of the operation.
DW_DLV_NO_ENTRY
This value is never returned.
DW_DLV_ERROR
This value is returned if:
  • function is NULL or invalid.
  • ret_full_name is NULL.