Yara rule compilation before scan & error handling