diff options
| author | Glenn Smith <glenn@vector35.com> | 2024-05-08 17:03:42 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2024-05-08 17:03:42 -0400 |
| commit | 7806681792158827908432430454031547770521 (patch) | |
| tree | 9f329ca064a56c4a678654a0b90f4bcc6bc05a9f /ui/stackview.h | |
| parent | 9355626405982962404231299703688263783871 (diff) | |
Stack view: Make constant base offset per-function
Diffstat (limited to 'ui/stackview.h')
| -rw-r--r-- | ui/stackview.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/stackview.h b/ui/stackview.h index d198ff4d..4837f9b3 100644 --- a/ui/stackview.h +++ b/ui/stackview.h @@ -199,8 +199,6 @@ class BINARYNINJAUIAPI StackView : public QAbstractScrollArea, public View size_t m_tokenIndex; bool m_needFirstFocus; - std::optional<int64_t> m_baseOffset; - //! Bind and register all stack view actions. void setupActions(); @@ -283,7 +281,7 @@ class BINARYNINJAUIAPI StackView : public QAbstractScrollArea, public View void setBaseRegister(ArchitectureRef arch, std::optional<std::string> regName); //! Set the base offset to a constant (or clear on nullopt) - void setBaseOffset(std::optional<int64_t> offset); + void setBaseOffset(FunctionRef func, std::optional<int64_t> offset); //! Override the default event handler so we can have nice tooltips. bool event(QEvent* event) override; |
