mirror of
https://github.com/stellarbear/YaraSharp
synced 2026-06-08 17:36:09 +00:00
Update README.md
This commit is contained in:
@@ -24,8 +24,8 @@ List<string> ruleFilenames = Directory.GetFiles(@"D:\Test\yara", "*.yar", Search
|
||||
// From yr_initialize() to yr_finalize()
|
||||
using (YSContext context = new YSContext())
|
||||
{
|
||||
// Compiling rules
|
||||
using (YSCompiler compiler = instance.CompileFromFiles(ruleFilenames, externals))
|
||||
// Compiling rules
|
||||
using (YSCompiler compiler = instance.CompileFromFiles(ruleFilenames, externals))
|
||||
{
|
||||
// Get compiled rules
|
||||
YSRules rules = compiler.GetRules();
|
||||
|
||||
Reference in New Issue
Block a user