1
0
mirror of synced 2024-11-30 18:34:29 +01:00
ImHex/plugins/builtin/include/content/views/view_yara.hpp

29 lines
477 B
C++
Raw Normal View History

#pragma once
#include <hex.hpp>
#include <imgui.h>
#include <hex/ui/view.hpp>
#include <hex/api/task.hpp>
2021-12-07 22:47:41 +01:00
namespace hex::plugin::builtin {
class ViewYara : public View {
public:
ViewYara();
~ViewYara() override;
void drawContent() override;
private:
u32 m_selectedRule = 0;
TaskHolder m_matcherTask;
std::vector<std::string> m_consoleMessages;
void applyRules();
void clearResult();
};
}