From d10089d466a93df0f0c703f36dac4e9407009677 Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Wed, 18 Sep 2024 18:35:36 -0400 Subject: Get current stack base offset. Required for showing this to the user while they are modifying the current stack base offset. --- ui/stackview.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/stackview.h') 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 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 offset); -- cgit v1.3.1