diff options
| author | Alexander Taylor <alex@vector35.com> | 2024-09-18 18:35:36 -0400 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2024-09-24 14:41:49 -0400 |
| commit | d10089d466a93df0f0c703f36dac4e9407009677 (patch) | |
| tree | a2b65d45621bf2db3620f29d3665c42ab7d996f9 | |
| parent | af29e041217e9582b8b81e458e8db458de5a8049 (diff) | |
Get current stack base offset.
Required for showing this to the user while they are modifying the
current stack base offset.
| -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 433410de..7eabdd61 100644 --- a/ui/stackview.h +++ b/ui/stackview.h @@ -281,6 +281,9 @@ class BINARYNINJAUIAPI StackView : public QAbstractScrollArea, public View //! Set the base offset to a register (or clear on nullopt) void setBaseRegister(ArchitectureRef arch, std::optional<std::string> regName); + //! Get the base offset + int64_t getBaseOffset(FunctionRef func); + //! Set the base offset to a constant (or clear on nullopt) void setBaseOffset(FunctionRef func, std::optional<int64_t> offset); |
