Closed GoogleCodeExporter closed 8 years ago
What is the expected output? What do you see instead?
Yara should exit graceful with in a time frame. If there is a match it should
the match. However the yara gets stuck. Even after 100 seconds there is no
output.
Yara 1.7 was used on CentOS.
Original comment by abhishek...@gmail.com
on 14 Jul 2013 at 11:06
The problem here are the regular expressions.
$a1 = /(\x0a)?(public|private|protected|\s+)static [a-zA-Z0-9]+ +[a-zA-Z0-9]+;/
$a2 = /(\x0a)?(public|private|protected|\s+)[a-zA-Z0-9]+ [a-zA-Z0-9]+;/
These regular expressions slow down the scan too much. The new version 2.0 I'm
working on will address these cases and also include a time limit to abort the
scanning if it's taking too long.
Original comment by plus...@gmail.com
on 17 Jul 2013 at 9:44
Original issue reported on code.google.com by
abhishek...@gmail.com
on 14 Jul 2013 at 11:01Attachments: