Function's command queue implemented, flow control scanning starts to
work.
This commit is contained in:
@@ -11,14 +11,12 @@ struct IDcc {
|
||||
static IDcc *get();
|
||||
virtual void BaseInit()=0;
|
||||
virtual void Init(QObject *tgt)=0;
|
||||
virtual PtrFunction GetCurFuncHandle()=0;
|
||||
virtual void analysis_Once()=0;
|
||||
virtual bool load(QString name)=0; // load and preprocess -> find entry point
|
||||
virtual void prtout_asm(IStructuredTextTarget *,int level=0)=0;
|
||||
virtual void prtout_cpp(IStructuredTextTarget *,int level=0)=0;
|
||||
virtual void prtout_asm(PtrFunction f,IStructuredTextTarget *,int level=0)=0;
|
||||
virtual void prtout_cpp(PtrFunction f,IStructuredTextTarget *,int level=0)=0;
|
||||
virtual size_t getFuncCount()=0;
|
||||
virtual const lFunction &validFunctions() const =0;
|
||||
virtual void SetCurFunc_by_Name(QString )=0;
|
||||
virtual QDir installDir()=0;
|
||||
virtual QDir dataDir(QString kind)=0;
|
||||
};
|
||||
|
||||
@@ -148,9 +148,12 @@ public:
|
||||
|
||||
bool addCommand(Command *cmd);
|
||||
bool addCommand(PtrFunction f, Command *cmd); // Add function level command
|
||||
bool hasCommands(const PtrFunction &f);
|
||||
CommandStream *functionCommands(const PtrFunction &f);
|
||||
void dumpAllErrors();
|
||||
void setLoader(DosLoader *ins);
|
||||
void processCommands(int count=1);
|
||||
void processFunctionCommands(const PtrFunction & func, int count);
|
||||
public slots:
|
||||
void onCommandStreamFinished(bool state);
|
||||
signals:
|
||||
|
||||
Reference in New Issue
Block a user