diff options
| author | Peter LaFosse <peter@vector35.com> | 2023-06-13 12:22:27 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2023-06-13 12:22:27 -0400 |
| commit | 7118c3ecdcbc9148c82aae824a0036762f3040c7 (patch) | |
| tree | c3ba831daf6412cb10d86eae7f0af162790ee44b | |
| parent | 125ab15cc32b3806bed35347be1578faf64675f3 (diff) | |
add FlowGraphWidget::addressForCall helper API
| -rw-r--r-- | ui/flowgraphwidget.h | 1 | ||||
| -rw-r--r-- | ui/linearview.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h index 08e45aa6..2344e2e9 100644 --- a/ui/flowgraphwidget.h +++ b/ui/flowgraphwidget.h @@ -201,6 +201,7 @@ class BINARYNINJAUIAPI FlowGraphWidget : void selectAll(); void selectNone(); void navigateToHighlightedToken(); + std::optional<uint64_t> addressForCall(); uint64_t getTokenAddress(); diff --git a/ui/linearview.h b/ui/linearview.h index 8a379bf1..9b2093ba 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -376,6 +376,7 @@ private Q_SLOTS: void editInstruction(); void instrEditDoneEvent(); + std::optional<uint64_t> addressForCall(); void setCurrentVariableDeadStoreElimination(BNDeadStoreElimination elimination); @@ -470,7 +471,6 @@ public: bool singleFunctionView() const { return m_singleFunctionView; } void setSingleFunctionView(bool singleFunctionView); - std::optional<uint64_t> addressForCall(); static void registerActions(); |
