[][src]Function asm_lsp::x86_parser::populate_instructions

pub fn populate_instructions(xml_contents: &str) -> Result<Vec<Instruction>>

Parse the provided XML contents and return a vector of all the instrucitons based on that. If parsing fails, the appropriate error will be returned instead.

Current function assumes that the XML file is already read and that it's been given a reference to its contents (&str).