Closed antime closed 1 month ago
For reference for future users landing here: this is because you must use the --compiled-rules
option (or -C
) to tell the scan
command that the input is not a source file, but a binary file with compiled rules. Otherwise, it will try to read the binary file as a source file.
When i compile the rules and use the compiled rules to scan a file, one erroe occured with invalid UTF-8 character. But use the original rule scan the same file, it is normal.