referrerpolicy=no-referrer-when-downgrade
pub unsafe fn execute_artifact(
    compiled_artifact_blob: &[u8],
    executor_params: &ExecutorParams,
    params: &[u8],
) -> Result<Vec<u8>, Error>
Expand description

Executes the given PVF in the form of a compiled artifact and returns the result of execution upon success.

§Safety

The caller must ensure that the compiled artifact passed here was:

  1. produced by prepare,
  2. was not modified,

Failure to adhere to these requirements might lead to crashes and arbitrary code execution.