avast/yaramod

Unreferenced strings are parsed without error

stepanek-m opened this issue · 0 comments

Defining a string and than not using it in condition causes error in YARA, but yaramod parses it without error.
Example:

rule a {
    strings:
        $a = "abc"
    condition:
        true
}