The ddpi_elf_set_csect_addrs operation assigns the high and low addresses to the CSECT of the ELF object.
ddpi_elf_set_csect_addrs should be used for contiguous CUs only. These values help to determine the owning CU of a given address. That is, it is used to determine which CU to load, if there are multiple CUs.
An address of (Dwarf_Addr)-1 is considered a bad address. csect_low_addr points to the beginning of the object. csect_high_addr points to the last byte in the object. csect_low_addr and csect_high_addr are not guaranteed to enclose all control blocks. If they are set to a non -1 value, they are guaranteed to enclose all executable code for the given CU.
int ddpi_elf_set_csect_addrs(
Ddpi_Elf d_elf,
Dwarf_Addr low_addr,
Dwarf_Addr high_addr,
Ddpi_Error* error);