#include <include/xmlprogparser.h>
Definition at line 46 of file xmlprogparser.h.
Public Member Functions | |
void | handleElementEnd (const char *el) |
void | handleElementStart (const char *el, const char **attr) |
Prog * | parse (const char *filename) |
void | persistToXML (Prog *prog) |
XMLProgParser () | |
Protected Member Functions | |
void | addId (const char **attr, void *x) |
void * | findId (const char *id) |
const char * | getAttr (const char **attr, const char *name) |
int | operFromString (const char *s) |
void | parseChildren (Cluster *c) |
void | parseFile (const char *filename) |
void | persistToXML (std::ostream &out, Statement *stmt) |
void | persistToXML (std::ostream &out, RTL *rtl) |
void | persistToXML (std::ostream &out, BasicBlock *bb) |
void | persistToXML (std::ostream &out, Cfg *cfg) |
void | persistToXML (std::ostream &out, Exp *e) |
void | persistToXML (std::ostream &out, Type *ty) |
void | persistToXML (std::ostream &out, Signature *sig) |
void | persistToXML (std::ostream &out, UserProc *proc) |
void | persistToXML (std::ostream &out, LibProc *proc) |
void | persistToXML (std::ostream &out, Proc *proc) |
void | persistToXML (std::ostream &out, Cluster *c) |
void | persistToXML (std::ostream &out, Global *g) |
Protected Attributes | |
std::map< int, void * > | idToX |
int | phase |
std::list< Context * > | stack |
Static Protected Attributes | |
static _tag | tags [] |
|
Definition at line 49 of file xmlprogparser.h. |
|
Definition at line 212 of file xmlprogparser.cpp. |
|
Definition at line 221 of file xmlprogparser.cpp. |
|
Definition at line 175 of file xmlprogparser.cpp. References NULL. Referenced by addId(). |
|
Definition at line 196 of file xmlprogparser.cpp. References e_unknown, _tag::end_proc, stack, and tags. |
|
Definition at line 183 of file xmlprogparser.cpp. References stack, _tag::start_proc, _tag::tag, and tags. |
|
Definition at line 2197 of file xmlprogparser.cpp. References opNumOf. |
|
Definition at line 2118 of file xmlprogparser.cpp. References Prog::getRootCluster(), NULL, parseChildren(), parseFile(), phase, and stack. Referenced by Boomerang::decompile(), and Boomerang::parseCmd(). |
|
Definition at line 2185 of file xmlprogparser.cpp. References Cluster::children, Cluster::makeDirs(), and parseFile(). Referenced by parse(). |
|
Definition at line 2142 of file xmlprogparser.cpp. References end(), NULL, start(), and text(). Referenced by parse(), and parseChildren(). |
|
Definition at line 2686 of file xmlprogparser.cpp. References StatementList::begin(), BoolAssign::bFloat, StatementList::end(), BoolAssign::jtCond, ReturnStatement::modifieds, Statement::number, Statement::parent, BoolAssign::pCond, persistToXML(), Statement::proc, ReturnStatement::retAddr, ReturnStatement::returns, and BoolAssign::size. |
|
Definition at line 2675 of file xmlprogparser.cpp. References RTL::nativeAddr, persistToXML(), and RTL::stmtList. |
|
|
Definition at line 2578 of file xmlprogparser.cpp. References Cfg::entryBB, Cfg::exitBB, Cfg::lastLabel, Cfg::m_bWellFormed, Cfg::m_listBB, Cfg::Ordering, persistToXML(), and Cfg::revOrdering. |
|
Definition at line 2453 of file xmlprogparser.cpp. References Const::a, Const::conscript, Const::d, RefExp::def, Const::i, Exp::op, operStrings, opFltConst, opFuncConst, opIntConst, opStrConst, Const::p, persistToXML(), Location::proc, FlagDef::rtl, Unary::subExp1, Binary::subExp2, Ternary::subExp3, TypedExp::type, Const::u, and TypeVal::val. |
|
Definition at line 2377 of file xmlprogparser.cpp. References ArrayType::base_type, ArrayType::length, NamedType::name, CompoundType::names, persistToXML(), PointerType::points_to, FuncType::signature, IntegerType::signedness, FloatType::size, IntegerType::size, and CompoundType::types. |
|
Definition at line 2330 of file xmlprogparser.cpp. References CONV_NONE, Signature::conventionName(), Signature::ellipsis, Signature::getConvention(), Signature::getPlatform(), Signature::name, Signature::params, persistToXML(), PLAT_GENERIC, Signature::platformName(), and Signature::preferedName. |
|
Definition at line 2267 of file xmlprogparser.cpp. References Proc::address, Proc::callerSet, Proc::cluster, Proc::m_firstCaller, Proc::m_firstCallerAddr, persistToXML(), Proc::provenTrue, Proc::signature, UserProc::status, and UserProc::theReturnStatement. |
|
Definition at line 2243 of file xmlprogparser.cpp. References Proc::address, Proc::callerSet, Proc::cluster, Proc::m_firstCaller, Proc::m_firstCallerAddr, persistToXML(), Proc::provenTrue, and Proc::signature. |
|
Definition at line 2322 of file xmlprogparser.cpp. References Proc::isLib(), and persistToXML(). |
|
Definition at line 2206 of file xmlprogparser.cpp. References Cluster::children, Cluster::name, and persistToXML(). |
|
Definition at line 2216 of file xmlprogparser.cpp. References Global::nam, persistToXML(), Global::type, and Global::uaddr. |
|
Definition at line 2225 of file xmlprogparser.cpp. References Proc::getCluster(), Prog::getName(), Prog::getPath(), Cluster::getStream(), Prog::globals, Prog::m_iNumberedProc, Prog::m_procs, Prog::m_rootCluster, and Cluster::openStreams(). Referenced by Boomerang::decompile(), Boomerang::parseCmd(), and persistToXML(). |
|
Definition at line 151 of file xmlprogparser.h. |
|
Definition at line 152 of file xmlprogparser.h. Referenced by parse(). |
|
Definition at line 150 of file xmlprogparser.h. Referenced by handleElementEnd(), handleElementStart(), and parse(). |
|
Definition at line 145 of file xmlprogparser.h. Referenced by handleElementEnd(), and handleElementStart(). |