Edgeless RT  0.2.0

◆ apply_relocations()

void ert::payload::apply_relocations ( void   start_mainint payload_main(...))

Apply relocations to the payload image.

The main image must call this function before calling the payload's entry point.

Parameters
start_mainThe payload's libc_start_main will be relocated to this function.
Exceptions
logic_errorrelocation failed