summaryrefslogtreecommitdiff
path: root/ui/stackview.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/stackview.h')
-rw-r--r--ui/stackview.h3
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);