mirror of
https://github.com/VirusTotal/yara.git
synced 2026-10-11 22:49:58 +00:00
Implement scanner API.
A new set of functions yr_scanner_* has been added to the API. The purpose of these functions is providing a way for using the same YR_RULES object with different sets of values for external variables. With the existing yr_rules_scan_* functions all clients sharing a YR_RULES object were forced to use the same set of values for externals variables, because the external variables were associated to the YR_RULES object. With the new API each client can create a separate YR_SCANNER to be used with the same YR_RULES object. Each YR_SCANNER can have its own set of external variables. The existing API keeps working as usual.
This commit is contained in:
@@ -217,6 +217,7 @@
|
||||
<ClCompile Include="..\..\..\libyara\re_lexer.c" />
|
||||
<ClCompile Include="..\..\..\libyara\rules.c" />
|
||||
<ClCompile Include="..\..\..\libyara\scan.c" />
|
||||
<ClCompile Include="..\..\..\libyara\scanner.c" />
|
||||
<ClCompile Include="..\..\..\libyara\sizedstr.c" />
|
||||
<ClCompile Include="..\..\..\libyara\stream.c" />
|
||||
<ClCompile Include="..\..\..\libyara\strutils.c" />
|
||||
|
||||
Reference in New Issue
Block a user