diff options
| author | Mark Rowe <mark@vector35.com> | 2026-04-21 21:26:47 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2026-04-23 19:03:17 -0700 |
| commit | 88833c4256517df042d72136e6ad332e88a7b53e (patch) | |
| tree | 773c2bc28d4d9e6710b2f1e869688fca1d0e0f42 /ui/util.h | |
| parent | e508e8f4a240ea870ca47060ebb3b7e9d7091e14 (diff) | |
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.
Diffstat (limited to 'ui/util.h')
| -rw-r--r-- | ui/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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<std::vector<BinaryNinja::InstructionTextToken>>& 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. |
