Hugal31 / yara-rust

Rust bindings for VirusTotal/Yara
Apache License 2.0
73 stars 29 forks source link

fix: add base offset for scanning memory chunks #95

Closed tankbusta closed 1 year ago

tankbusta commented 1 year ago

This is needed to calculate the offset of a match when using iterators over blocks.

See base at https://yara.readthedocs.io/en/v4.2.3/capi.html?highlight=YR_RULES#c.YR_MATCH

tankbusta commented 1 year ago

Noticed this failed due to a lint issue which I just resolved!