summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2025-07-12 11:27:50 -0400
committerBrian Potchik <brian@vector35.com>2025-07-12 11:27:50 -0400
commit7df26f84bb6907853fc155fd15ffcc144384d560 (patch)
tree02fbf39381ebb9e05b488f910862a01b42fdaecb
parent7a6f1553a1a4c621ffac81edaa859fb36cce95b7 (diff)
Enhance MemoryRegionDialog with comprehensive region type support.
-rw-r--r--ui/memorymap.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/ui/memorymap.h b/ui/memorymap.h
index 9fdab8be..35d79443 100644
--- a/ui/memorymap.h
+++ b/ui/memorymap.h
@@ -46,8 +46,23 @@ class BINARYNINJAUIAPI MemoryRegionDialog : public QDialog
QPushButton* m_cancelButton;
QLineEdit* m_nameField;
QLineEdit* m_startField;
- QLineEdit* m_endField;
- QLabel* m_contentsLabel;
+ QLineEdit* m_lengthField;
+ QLineEdit* m_sourceOffsetField;
+ QLineEdit* m_sourceLengthField;
+ QLineEdit* m_patternField;
+ QLineEdit* m_fillByteField;
+ QCheckBox* m_flagRead;
+ QCheckBox* m_flagWrite;
+ QCheckBox* m_flagExec;
+ QComboBox* m_sourceSelection;
+ QLabel* m_fileContentsLabel;
+ QLabel* m_lengthLabel;
+ QLabel* m_sourceOffsetLabel;
+ QLabel* m_sourceLengthLabel;
+ QLabel* m_fileLabel;
+ QLabel* m_fileLabelText;
+ QLabel* m_patternLabel;
+ QLabel* m_fillByteLabel;
BinaryViewRef m_data;
SegmentRef m_segment;
@@ -115,8 +130,8 @@ enum class SegmentColumn : int {
DATA_OFFSET,
DATA_LENGTH,
FLAGS,
- SOURCE,
REGION,
+ SOURCE,
COLUMN_COUNT,
};