You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
YARA controls divisions by zero when parsing the file (e.g. it is not a runtime error). Yaramod parses those expressions without error.
I think that this ticket has low priority and I added it here just for completeness when I was searching for the corner cases where yaramod parser behaves differently from YARA parser.
Note that YARA even evaluates expressions during parsing so it detects error even in cases like
condition:
5 \ (1 - 1)
. I'm not sure if we do this expression evaluation in yaramod, but if we don't do it, it maybe won't worth adding it just for detecting division by zero...
The text was updated successfully, but these errors were encountered:
YARA controls divisions by zero when parsing the file (e.g. it is not a runtime error). Yaramod parses those expressions without error.
I think that this ticket has low priority and I added it here just for completeness when I was searching for the corner cases where yaramod parser behaves differently from YARA parser.
Note that YARA even evaluates expressions during parsing so it detects error even in cases like
. I'm not sure if we do this expression evaluation in yaramod, but if we don't do it, it maybe won't worth adding it just for detecting division by zero...
The text was updated successfully, but these errors were encountered: