From 88833c4256517df042d72136e6ad332e88a7b53e Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Tue, 21 Apr 2026 21:26:47 -0700 Subject: Add a hover preview for extern symbols that includes type information A new preview type is added for extern symbols that includes the external library name, if known, the symbol type, and any call type override that is applied at the hovered callsite. Previously, hovering an extern symbol would display a hex preview of the synthetic extern section which was of limited value. --- ui/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/util.h') diff --git a/ui/util.h b/ui/util.h index cae089b0..9f5365ca 100644 --- a/ui/util.h +++ b/ui/util.h @@ -175,6 +175,8 @@ void BINARYNINJAUIAPI showHexPreview(QWidget* parent, ViewFrame* frame, const QP bool BINARYNINJAUIAPI showDisassemblyPreview(QWidget* parent, ViewFrame* frame, const QPoint& previewPos,BinaryViewRef data, FunctionRef func, const ViewLocation& location); void BINARYNINJAUIAPI showTextTooltip(QWidget* parent, const QPoint& previewPos, const QString& text); +void BINARYNINJAUIAPI showTokenTooltip(QWidget* parent, const QPoint& previewPos, + const std::vector>& lines); // 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. -- cgit v1.3.1