summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-08-29 20:01:48 -0400
committerMason Reed <mason@vector35.com>2025-09-03 20:02:00 -0400
commit7f4989a475d7cc30f790a977ab5518b05e27306a (patch)
tree4cd3d56cc3714bfd3faea467c5b0aa7551ef8fc5 /ui
parent1febe6f86b3d10f5a3a08bd5c26c117f4438e3dc (diff)
Add disassembly setting for block labels
Diffstat (limited to 'ui')
-rw-r--r--ui/disassemblyview.h2
-rw-r--r--ui/linearview.h1
-rw-r--r--ui/uitypes.h4
3 files changed, 5 insertions, 2 deletions
diff --git a/ui/disassemblyview.h b/ui/disassemblyview.h
index 024ef33e..94d938a6 100644
--- a/ui/disassemblyview.h
+++ b/ui/disassemblyview.h
@@ -78,6 +78,7 @@ class BINARYNINJAUIAPI DisassemblyView : public FlowGraphWidget
void toggleOption(BNDisassemblyOption option);
void setAddressMode(std::optional<BNDisassemblyAddressMode> mode, std::optional<bool> hex, std::optional<bool> withName);
void setCallParamHints(BNDisassemblyCallParameterHints hints);
+ void setBlockLabels(BNDisassemblyBlockLabels labels);
void setDisplayedFileName();
void setAddressBaseOffset(bool toHere);
@@ -142,6 +143,7 @@ class BINARYNINJAUIAPI DisassemblyView : public FlowGraphWidget
std::set<BNDisassemblyOption> m_options;
BNDisassemblyAddressMode m_addressMode;
BNDisassemblyCallParameterHints m_callParamHints;
+ BNDisassemblyBlockLabels m_blockLabels;
DisassemblyContainer* m_container;
SettingsRef m_settings;
std::set<std::string> m_layers;
diff --git a/ui/linearview.h b/ui/linearview.h
index 9ba28407..17ab6764 100644
--- a/ui/linearview.h
+++ b/ui/linearview.h
@@ -511,6 +511,7 @@ public:
void toggleOption(BNDisassemblyOption option);
void setAddressMode(std::optional<BNDisassemblyAddressMode> mode, std::optional<bool> hex, std::optional<bool> withName);
void setCallParamHints(BNDisassemblyCallParameterHints hints);
+ void setBlockLabels(BNDisassemblyBlockLabels labels);
void setDisplayedFileName();
void setAddressBaseOffset(bool toHere);
diff --git a/ui/uitypes.h b/ui/uitypes.h
index b0197adc..476c0d79 100644
--- a/ui/uitypes.h
+++ b/ui/uitypes.h
@@ -6,14 +6,14 @@
// there are changes to the API that affect linking, including new functions,
// new types, modifications to existing functions or types, or new versions
// of the Qt libraries.
-#define BN_CURRENT_UI_ABI_VERSION 10
+#define BN_CURRENT_UI_ABI_VERSION 11
// Minimum ABI version that is supported for loading of plugins. Plugins that
// are linked to an ABI version less than this will not be able to load and
// will require rebuilding. The minimum version is increased when there are
// incompatible changes that break binary compatibility, such as changes to
// existing types or functions, or a new version of Qt.
-#define BN_MINIMUM_UI_ABI_VERSION 9
+#define BN_MINIMUM_UI_ABI_VERSION 11
#ifdef __GNUC__
#ifdef BINARYNINJAUI_LIBRARY