yarac
Compile YARA rule source files into a binary format for faster loading. tldr-pages
On several platforms
Several platforms
Compile a specific rule file
yarac path/to/rule.yar path/to/rule.binIdentifyCompile multiple rule files into a single binary
yarac path/to/rule1.yar path/to/rule2.yar ... path/to/rules.binIdentifyDefine an external variable during compilation
yarac -d identifier=value path/to/rule.yar path/to/rule.binIdentifyDisable warnings during compilation
yarac --no-warnings path/to/rule.yar path/to/rule.binIdentifyFail compilation on any warnings (do not use along with --no-warnings)
yarac --fail-on-warnings path/to/rule.yar path/to/rule.binIdentify