ui: Added to matched yara rules

This commit is contained in:
WerWolv
2022-02-02 21:08:46 +01:00
parent df1d302bcb
commit ba68f463e5
4 changed files with 14 additions and 6 deletions

View File

@@ -116,7 +116,8 @@ namespace hex::plugin::builtin {
this->m_memoryEditor.HoverFn = [](const ImU8 *data, size_t off) {
bool tooltipShown = false;
off += ImHexApi::Provider::get()->getBaseAddress();
auto provider = ImHexApi::Provider::get();
off += provider->getBaseAddress() + provider->getCurrentPageAddress();
for (const auto &[id, highlight] : ImHexApi::HexEditor::getHighlights()) {
auto &region = highlight.getRegion();