Skip to main content

loader_bytes

Function loader_bytes 

Source
fn loader_bytes(shim: &[u8]) -> Option<Vec<u8>>
Expand description

The loader: a copy of the trampoline shim with the last byte of its role marker rewritten.

§Arguments

  • shim - The trampoline’s file.

§Returns

The copy, or None when the marker is not in the file exactly once.