The ddpi_elf_get_user_area operation returns a
pointer to the user area for the Ddpi_Elf object.
Description
Do not deallocate the pointer.
It is not a copy.
Prototype
int ddpi_elf_get_user_area(
Ddpi_Elf elf,
Dwarf_Ptr* ret_user_area,
Ddpi_Error* error);
Parameters
- elf
- Input. This accepts a Ddpi_Elf object.
- ret_user_area
- Output. This returns the user area of the Ddpi_Elf object.
- error
- See The libddpi error parameter.
Return values
- DW_DLV_OK
- Returned upon successful return of the pointer to the user area.
- DW_DLV_NO_ENTRY
- Never returned.
- DW_DLV_ERROR
- This value is returned if:
- elf is NULL.
- The Ddpi_Access or Ddpi_Info object associated with elf is
NULL.