diff options
Diffstat (limited to 'ui/util.h')
| -rw-r--r-- | ui/util.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); |
