testStmtStubs.cpp

Go to the documentation of this file.
00001 #include <iostream>
00002 #include <string>
00003 #include "type.h"
00004 #include "types.h"
00005 #include "cfg.h"
00006 #include "proc.h"
00007 #include "prog.h"
00008 #include "signature.h"
00009 #include "boomerang.h"
00010 #include "pentiumfrontend.h"
00011 
00012 class Prog;
00013 
00014 // util
00015 #include "utilStubs.cpp"
00016 
00017 // basicblock
00018 void BasicBlock::setOutEdge(int i, PBB pNewOutEdge) {}
00019 void BasicBlock::addInEdge(PBB pNewInEdge) {}
00020 
00021 // type
00022 #include "typeStubs.cpp"
00023 
00024 // Prog
00025 Prog::Prog() {}
00026 Prog::~Prog() {}
00027 Prog::Prog(BinaryFile *pBF, FrontEnd *pFE) {}
00028 char *Prog::getStringConstant(ADDRESS uaddr) {return NULL;}
00029 Proc* Prog::findProc(ADDRESS uAddr) const {return NULL;}
00030 void Prog::analyse() {}
00031 void Prog::decompile() {}
00032 void Prog::toSSAform() {}
00033 void Prog::initStatements() {}
00034 UserProc* Prog::getFirstUserProc(std::list<Proc*>::iterator& it) {return 0;}
00035 UserProc* Prog::getNextUserProc(std::list<Proc*>::iterator& it) {return 0;}
00036 
00037 // frontend
00038 void FrontEnd::decode(Prog *prog, ADDRESS a) {}
00039 FrontEnd::FrontEnd(BinaryFile *pBF) {}
00040 PentiumFrontEnd::PentiumFrontEnd(BinaryFile *pBF) : FrontEnd(pBF) {}
00041 PentiumFrontEnd::~PentiumFrontEnd() {}
00042 FrontEnd::~FrontEnd() {}
00043 int FrontEnd::getInst(int addr) {return 0;}
00044 bool PentiumFrontEnd::processProc(ADDRESS uAddr, UserProc* pProc, std::ofstream &os,
00045     bool spec /* = false */, PHELPER helperFunc /* = NULL */) {return false;}
00046 ADDRESS PentiumFrontEnd::getMainEntryPoint( bool &gotMain ) {return 0;}
00047 FrontEnd* FrontEnd::Load(const char *fname) {return 0;}
00048 Prog *FrontEnd::decode() {return 0;}
00049 bool FrontEnd::processProc(ADDRESS uAddr, UserProc* pProc, std::ofstream &os,
00050   bool spec /* = false */, PHELPER helperFunc) {return false;}
00051 
00052 // cfg
00053 PBB Cfg::newBB(std::list<RTL*>* pRtls, BBTYPE bbType, int iNumOutEdges) {return 0;}
00054 void Cfg::print(std::ostream &out, bool withDF) {}
00055 void Cfg::setEntryBB(PBB bb) {}
00056 
00057 //Misc
00058 Boomerang::Boomerang() {}
00059 Boomerang *Boomerang::boomerang = NULL;
00060 
00061 // loader
00062 BinaryFile *BinaryFile::Load( const char *sName ) {return 0;}

Generated on Tue Sep 19 21:18:35 2006 for Boomerang by  doxygen 1.4.6