mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 13:55:26 +00:00
e3e070d094
* remove cutter_win32 * build without compile errors * temporary workaround for sdb problems (now compiles again at least) * totally not a hack to get sdb working seriously, don't do this but it works
37 lines
858 B
C++
37 lines
858 B
C++
#ifndef DISASSEMBLYVIEW_H
|
|
#define DISASSEMBLYVIEW_H
|
|
|
|
#include "cutter.h"
|
|
#include <QDockWidget>
|
|
#include <QTextEdit>
|
|
|
|
class DisassemblyWidget : public QDockWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit DisassemblyWidget(QWidget *parent = nullptr);
|
|
explicit DisassemblyWidget(const QString &title, QWidget *parent = nullptr);
|
|
|
|
signals:
|
|
|
|
public slots:
|
|
void highlightCurrentLine();
|
|
void disasmScrolled();
|
|
void showDisasContextMenu(const QPoint &pt);
|
|
void showXrefsDialog();
|
|
void on_mDisasTextEdit_cursorPositionChanged();
|
|
void on_seekChanged(RVA offset);
|
|
void refreshDisasm();
|
|
void fontsUpdatedSlot();
|
|
|
|
private:
|
|
QTextEdit *mDisasTextEdit;
|
|
|
|
RVA readCurrentDisassemblyOffset();
|
|
bool loadMoreDisassembly();
|
|
void highlightDisasms();
|
|
bool eventFilter(QObject *obj, QEvent *event);
|
|
};
|
|
|
|
#endif // DISASSEMBLYVIEW_H
|