avast / yarang

Alternative YARA scanning engine
MIT License
66 stars 6 forks source link

Scanning Directories #4

Open anotherbridge opened 1 year ago

anotherbridge commented 1 year ago

Is it possible to scan a directory recursively using yarang?

When I'm running yarang with a ruleset and give a directory I'm getting the following response:

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

What I've been doing so far is searching for all files within a directory and it's subdirectories and then execute yarang on each of them. I would be interested on how you did your run against the 10 TB of data.