yara: Fixed major memory leak and added include support

This commit is contained in:
WerWolv
2021-09-23 22:57:19 +02:00
parent d9134f7fe1
commit 82ee4ad4ca
2 changed files with 43 additions and 16 deletions

View File

@@ -23,7 +23,7 @@ namespace hex {
bool wholeDataMatch;
};
std::vector<std::string> m_rules;
std::vector<std::pair<std::string, std::string>> m_rules;
std::vector<YaraMatch> m_matches;
u32 m_selectedRule = 0;
bool m_matching = false;