Skip to main content

link_elf

Function link_elf 

Source
pub fn link_elf(elf_data: &[u8]) -> Result<ProgramBlob, LinkError>
Expand description

Link an RV ELF into a PVM2 [ProgramBlob]. [ProgramBlob::code] holds the raw RV+C+custom-0 bytes, mapped read-only at [CODE_BASE] by the runtime.