Edgeless RT  0.2.0

◆ ert_get_args_ocall()

oe_result_t ert_get_args_ocall ( ert_args_t retval)

Get pointers to commandline arguments, environment variables, and auxiliary vector from host.

The caller is responsible to securely copy the arrays to enclave memory. This can be done using ert_copy_strings_from_host_to_enclave().

Parameters
[out]retvalPointer to an ert_args_t object that will be filled with pointers to host memory.
Returns
OE_OK if the ocall succeeded