summaryrefslogtreecommitdiff
path: root/ui/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/util.h')
-rw-r--r--ui/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/util.h b/ui/util.h
index 1123b9c6..cae089b0 100644
--- a/ui/util.h
+++ b/ui/util.h
@@ -176,6 +176,12 @@ bool BINARYNINJAUIAPI showDisassemblyPreview(QWidget* parent, ViewFrame* frame,
const ViewLocation& location);
void BINARYNINJAUIAPI showTextTooltip(QWidget* parent, const QPoint& previewPos, const QString& text);
+// Interpret the hovered token and, if applicable, displays a tooltip or preview. If no token-driven preview matches
+// and `dataflowFallbackAddress` is set, a dataflow-details tooltip is shown for that address.
+void BINARYNINJAUIAPI dispatchTokenHoverPreview(View* view, const QPoint& globalPos, const HighlightTokenState& token,
+ FunctionRef func, uint64_t lineAddr, size_t instrIndex, const std::vector<TagRef>& lineTags,
+ std::optional<uint64_t> dataflowFallbackAddress);
+
bool BINARYNINJAUIAPI isBinaryNinjaDatabase(QFileInfo& info, QFileAccessor& accessor);
PlatformRef BINARYNINJAUIAPI getOrAskForPlatform(QWidget* parent, BinaryViewRef data);