VirusTotal / yara-x

A rewrite of YARA in Rust.
https://virustotal.github.io/yara-x/
BSD 3-Clause "New" or "Revised" License
568 stars 46 forks source link

Can't compile compiled_rule.yar with YARA-X at python #150

Open HydraDragonAntivirus opened 4 days ago

HydraDragonAntivirus commented 4 days ago

Can't compile compiled_rule.yar with YARA-X at python https://github.com/HydraDragonAntivirus/HydraDragonAntivirus/tree/main/yara

HydraDragonAntivirus commented 3 days ago
Error compiling YARA rule: error[syntax_error]: code is too complex or large ion: any of them} ^ parser aborted here
   = note: reduce the number of nested parenthesis or the size of your source code

Error: YARA rule compilation failed.

plusvic commented 3 days ago

That's a limitation in the current parser, but I'm working on a new version of the parser that removes this limitation.

HydraDragonAntivirus commented 3 days ago

Previously I got another issue but after changed the syntax I solved old magic issue. I guess this old issue related with old version of yara-x.