diff options
Diffstat (limited to 'ui/assembledialog.h')
| -rw-r--r-- | ui/assembledialog.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/assembledialog.h b/ui/assembledialog.h index 8d1f1c45..7db619a2 100644 --- a/ui/assembledialog.h +++ b/ui/assembledialog.h @@ -12,16 +12,20 @@ class BINARYNINJAUIAPI AssembleDialog: public QDialog BinaryViewRef m_view; uint64_t m_addr; + size_t m_length; QComboBox* m_archSelection; + ArchitectureRef m_fixedArch; DialogTextEdit* m_code; BinaryNinja::DataBuffer m_bytes; bool m_setDefault; public: - AssembleDialog(QWidget* parent, BinaryViewRef data, uint64_t addr, ArchitectureRef prefArch = NULL, const QString& code = ""); + AssembleDialog(QWidget* parent, BinaryViewRef data, uint64_t addr, ArchitectureRef prefArch = NULL, + const QString& code = "", bool fixedArch = false); ArchitectureRef getArchitecture(); const BinaryNinja::DataBuffer& getBytes() const { return m_bytes; } + void setLength(size_t len) { m_length = len; } private Q_SLOTS: void saveOnFinish(int result); |
