[][src]Function riscv_asm::parse_elf

pub fn parse_elf<'a>(
    elf: &'a Elf,
    buffer: &'a [u8]
) -> Result<Vec<u32>, Box<dyn Error>>

Parse an elf file and return the executable code as u32 words