X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.hxx;h=a0ba231884b485ab53319196d050eab385009451;hp=adfe71e47a3fc0803b23245bca3498e95dc8cc5b;hb=d51782798930575415d53300340ede3a004f1661;hpb=0f91922e40640e00f1208aee5d8c968a698c5d31 diff --git a/src/gui/Mainwindow.hxx b/src/gui/Mainwindow.hxx index adfe71e..a0ba231 100644 --- a/src/gui/Mainwindow.hxx +++ b/src/gui/Mainwindow.hxx @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -6,13 +7,16 @@ #include #include "disassembler/Disassembler.hxx" +#include "widgets/BasicBlockWidget.hxx" class Mainwindow : public QMainWindow { Q_OBJECT public: - Mainwindow(); + Mainwindow(const std::string& filename = ""); private: - void populateSymbolInformation(const std::string& sym); + void openBinary(const std::string& filename); + + void populateSymbolInformation(Function * fun); QTextEdit *textEdit; QPushButton *quitButton; @@ -27,6 +31,7 @@ private: QAction *openAction; std::shared_ptr disassembler; + std::map blocks; private slots: void quit(); void open();