diff options
| author | Glenn Smith <glenn@vector35.com> | 2024-05-07 19:55:30 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2024-05-07 19:55:30 -0400 |
| commit | 9589986617465884691200589124370729603921 (patch) | |
| tree | 6c1615c290214a8584a30bb5a496bb20e1f84ec2 /ui/stackview.h | |
| parent | 1188642195069045033870938648783893831544 (diff) | |
Stack view: Make the base offsets work with the "create variable" dialog
Diffstat (limited to 'ui/stackview.h')
| -rw-r--r-- | ui/stackview.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/stackview.h b/ui/stackview.h index 6202a8fb..12a8b87a 100644 --- a/ui/stackview.h +++ b/ui/stackview.h @@ -275,6 +275,9 @@ class BINARYNINJAUIAPI StackView : public QAbstractScrollArea, public View //! Override the default event handler so we can have nice tooltips. bool event(QEvent* event) override; + //! Get the current base name/offset using the currently selected base register + std::pair<std::string, int64_t> calculateBaseOffset() const; + BinaryViewRef getData() override; uint64_t getCurrentOffset() override; bool canCopyAddress() override { return false; }; |
