The ddpi_elf_set_elf operation assigns the ELF
object to the given Ddpi_Elf object.
Prototype
int ddpi_elf_set_elf(
Ddpi_Elf d_elf,
Elf* elf,
Ddpi_Error* error);
Parameters
- d_elf
- Input. This accepts a Ddpi_Elf object.
- elf
- Input. This accepts the ELF object that will be set in the Ddpi_Elf object.
- error
- See The libddpi error parameter.
Return values
- DW_DLV_OK
- Returned upon successful assignment of the error object to the given ELF
object.
- DW_DLV_NO_ENTRY
- Never returned.
- DW_DLV_ERROR
- This value is returned if an error occurs in the parameters.