Hugal31 / yara-rust

Rust bindings for VirusTotal/Yara
Apache License 2.0
70 stars 30 forks source link

feat: add CouldNotReadProcessMemory error #100

Closed vthib closed 1 year ago

vthib commented 1 year ago

Handle the ERROR_COULD_NOT_READ_PROCESS_MEMORY error from YARA. This error can happen quite often when using the scan_process method, so mapping it is a nice QoL, instead of having to match on Error::Unknown(47).

Hugal31 commented 1 year ago

LGTM, thanks!