ddpi_elf_get_owner operation

The ddpi_elf_get_owner operation returns the owner of the Ddpi_Elf object.

Prototype

int ddpi_elf_get_owner(             
      Ddpi_Elf            elf,   
      Ddpi_Access*        ret_owner,
      Ddpi_Error*         error);                     

Parameters

access
Input. This accepts a Ddpi_Elf object.
ret_owner
Output. This returns the Ddpi_Access object.
error
See The libddpi error parameter.

Return values

DW_DLV_OK
Returned upon successful return of the ELF object owner.
DW_DLV_NO_ENTRY
Never returned.
DW_DLV_ERROR
This value is returned if:
  • access is NULL.
  • The ELF descriptor within the Ddpi_Elf object is NULL.
  • The Ddpi_Info object associated with access is NULL.
  • ret_owner is NULL
  • An error occurs during memory deallocation