mirror of
https://github.com/stellarbear/YaraSharp
synced 2026-06-08 17:36:09 +00:00
24 lines
1014 B
C++
24 lines
1014 B
C++
#pragma once
|
|
|
|
namespace YaraSharp
|
|
{
|
|
public ref class CYaraSharp
|
|
{
|
|
private:
|
|
// Ïðîâåðêà ôàéëîâ
|
|
Dictionary<String^, List<String^>^>^ CheckYaraRules(List<String^>^ FilePathList, Dictionary<String^, Object^>^ ExternalVariables);
|
|
|
|
public:
|
|
// Êîìïèëÿöèÿ ïðàâèë
|
|
CRules^ CompileFromFiles(CCompiler^ Compiler,
|
|
List<String^>^ FilePathList,
|
|
Dictionary<String^, Object^>^ ExternalVariables,
|
|
[Out] Dictionary<String^, List<String^>^>^% CompilationErrors);
|
|
|
|
// Ñêàíèðîâàðíèå
|
|
List<CMatches^>^ ScanFile(String^ Path, CRules^ Rules, Dictionary<String^, Object^>^ ExternalVariables, int Timeout);
|
|
List<CMatches^>^ ScanProcess(int PID, CRules^ Rules, int Timeout, Dictionary<String^, Object^>^ ExternalVariables);
|
|
List<CMatches^>^ ScanMemory(array<uint8_t>^ Buffer, CRules^ Rules, Dictionary<String^, Object^>^ ExternalVariables, int Timeout);
|
|
List<CMatches^>^ ScanMemory(uint8_t* Buffer, int Length, CRules^ Rules, Dictionary<String^, Object^>^ ExternalVariables, int Timeout);
|
|
};
|
|
} |