2016-10-26 04:41:42 +00:00
|
|
|
#ifndef DISASSEMBLERMETADATADIALOG_H
|
|
|
|
#define DISASSEMBLERMETADATADIALOG_H
|
|
|
|
|
|
|
|
#include "binaryfilemetadata.h"
|
2016-10-26 07:23:33 +00:00
|
|
|
#include "EntryPoints.h"
|
2016-10-26 04:41:42 +00:00
|
|
|
#include "EntryPointModel.h"
|
2016-10-26 07:23:33 +00:00
|
|
|
#include "AssemblerSymbolModel.h"
|
|
|
|
#include "AssemblerSymbols.h"
|
2016-10-26 04:41:42 +00:00
|
|
|
#include "LocationInfoDialog.h"
|
|
|
|
|
|
|
|
#include <QDialog>
|
2017-06-29 05:21:45 +00:00
|
|
|
#include <QItemSelection>
|
2016-10-26 04:41:42 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class DisassemblerMetadataDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class DisassemblerMetadataDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2016-10-26 21:44:22 +00:00
|
|
|
explicit DisassemblerMetadataDialog(BinaryFileMetadata *bfm, QWidget *parent = 0);
|
2016-10-26 04:41:42 +00:00
|
|
|
~DisassemblerMetadataDialog();
|
|
|
|
|
2016-10-26 07:23:33 +00:00
|
|
|
protected:
|
|
|
|
void showEvent(QShowEvent *);
|
|
|
|
|
2016-10-26 04:41:42 +00:00
|
|
|
protected slots:
|
|
|
|
void handleExitButton();
|
|
|
|
void handleProcessButton();
|
|
|
|
|
|
|
|
void handleAddEntryPointButton();
|
|
|
|
void handleRemoveEntryPointButton();
|
|
|
|
|
|
|
|
void handleAddSymbolButton();
|
|
|
|
void handleRemoveSymbolButton();
|
|
|
|
|
2017-06-29 05:21:45 +00:00
|
|
|
void handleEntryPointSelectionChanged(QItemSelection selected, QItemSelection deselected);
|
|
|
|
void handleSymbolSelectionChanged(QItemSelection selected, QItemSelection deselected);
|
|
|
|
|
2016-10-26 04:41:42 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::DisassemblerMetadataDialog *ui;
|
|
|
|
|
|
|
|
BinaryFileMetadata *m_bfm;
|
|
|
|
|
|
|
|
EntryPointModel *m_epmodel;
|
|
|
|
|
2016-10-26 07:23:33 +00:00
|
|
|
AssemblerSymbolModel *m_asmodel;
|
|
|
|
|
2016-10-26 04:41:42 +00:00
|
|
|
bool m_isRelocatable;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // DISASSEMBLERMETADATADIALOG_H
|