Function boreal_parser::parse

source ·
pub fn parse(input: &str) -> Result<YaraFile, Error>
Expand description

Parse a YARA file.

§Errors

Returns an error if the parsing fails, or if there are trailing data in the file that has not been parsed.