pub fn predecode(code: &[u8]) -> Vec<Insn>Expand description
Decode code into an instruction array.
A byte that is not a valid opcode stops the walk, and the instructions up to that point are kept: running off the end of a function is a normal return, so the truncation can never be reached by a well-formed program and it keeps a corrupted blob from being a panic in the decoder.