#pragma once #include #include #include namespace hex::plugin::builtin { namespace prv { class Provider; } struct FoundString { u64 offset; size_t size; }; class ViewStrings : public View { public: explicit ViewStrings(); ~ViewStrings() override; void drawContent() override; private: bool m_searching = false; bool m_regex = false; bool m_pattern_parsed = false; std::vector m_foundStrings; std::vector m_filterIndices; int m_minimumLength = 5; std::string m_filter; std::string m_selectedString; std::string m_demangledName; void searchStrings(); void createStringContextMenu(const FoundString &foundString); }; }