cutter/src/analthread.cpp

19 lines
380 B
C++
Raw Normal View History

#include "analthread.h"
#include <QDebug>
#include "mainwindow.h"
2017-03-30 21:26:30 +00:00
AnalThread::AnalThread(MainWindow *w, QWidget *parent) :
QThread(parent)
{
// Radare core found in:
2017-03-30 21:26:30 +00:00
this->w = w;
//this->level = 2;
}
// run() will be called when a thread starts
void AnalThread::run()
{
//qDebug() << "Anal level: " << this->level;
2017-03-30 21:26:30 +00:00
this->w->core->analyze(this->level);
}