#include #include #include #include #include "content/views/view_yara.hpp" using namespace hex; using namespace hex::plugin::yara; namespace { void registerViews() { ContentRegistry::Views::add(); } } IMHEX_PLUGIN_SETUP("Yara Rules", "WerWolv", "Support for matching Yara rules") { hex::log::debug("Using romfs: '{}'", romfs::name()); for (auto &path : romfs::list("lang")) hex::ContentRegistry::Language::addLocalization(nlohmann::json::parse(romfs::get(path).string())); registerViews(); }