xmlprogparser.cpp File Reference

#include <stdio.h>
#include "expat.h"
#include "type.h"
#include "cluster.h"
#include "prog.h"
#include "proc.h"
#include "rtl.h"
#include "statement.h"
#include "sigenum.h"
#include "signature.h"
#include "xmlprogparser.h"
#include "boomerang.h"
#include "log.h"
#include "frontend.h"

Go to the source code of this file.

Classes

class  Context

Defines

#define TAG(x)   &XMLProgParser::start_ ## x, &XMLProgParser::addToContext_ ## x

Enumerations

enum  xmlElement {
  e_prog, e_procs, e_global, e_cluster,
  e_libproc, e_userproc, e_local, e_symbol,
  e_secondexp, e_proven_true, e_callee, e_caller,
  e_defines, e_signature, e_param, e_return,
  e_rettype, e_prefreturn, e_prefparam, e_cfg,
  e_bb, e_inedge, e_outedge, e_livein,
  e_order, e_revorder, e_rtl, e_stmt,
  e_assign, e_assignment, e_phiassign, e_lhs,
  e_rhs, e_callstmt, e_dest, e_argument,
  e_returnexp, e_returntype, e_returnstmt, e_returns,
  e_modifieds, e_gotostmt, e_branchstmt, e_cond,
  e_casestmt, e_boolasgn, e_type, e_exp,
  e_voidtype, e_integertype, e_pointertype, e_chartype,
  e_namedtype, e_arraytype, e_basetype, e_sizetype,
  e_location, e_unary, e_binary, e_ternary,
  e_const, e_terminal, e_typedexp, e_refexp,
  e_def, e_subexp1, e_subexp2, e_subexp3,
  e_unknown = -1
}

Functions

static void XMLCALL end (void *data, const char *el)
static void XMLCALL start (void *data, const char *el, const char **attr)
static void XMLCALL text (void *data, const char *s, int len)

Variables

char * operStrings []


Define Documentation

#define TAG  )     &XMLProgParser::start_ ## x, &XMLProgParser::addToContext_ ## x
 

Definition at line 52 of file xmlprogparser.cpp.


Enumeration Type Documentation

enum xmlElement
 

Enumerator:
e_prog 
e_procs 
e_global 
e_cluster 
e_libproc 
e_userproc 
e_local 
e_symbol 
e_secondexp 
e_proven_true 
e_callee 
e_caller 
e_defines 
e_signature 
e_param 
e_return 
e_rettype 
e_prefreturn 
e_prefparam 
e_cfg 
e_bb 
e_inedge 
e_outedge 
e_livein 
e_order 
e_revorder 
e_rtl 
e_stmt 
e_assign 
e_assignment 
e_phiassign 
e_lhs 
e_rhs 
e_callstmt 
e_dest 
e_argument 
e_returnexp 
e_returntype 
e_returnstmt 
e_returns 
e_modifieds 
e_gotostmt 
e_branchstmt 
e_cond 
e_casestmt 
e_boolasgn 
e_type 
e_exp 
e_voidtype 
e_integertype 
e_pointertype 
e_chartype 
e_namedtype 
e_arraytype 
e_basetype 
e_sizetype 
e_location 
e_unary 
e_binary 
e_ternary 
e_const 
e_terminal 
e_typedexp 
e_refexp 
e_def 
e_subexp1 
e_subexp2 
e_subexp3 
e_unknown 

Definition at line 37 of file xmlprogparser.cpp.


Function Documentation

static void XMLCALL end void *  data,
const char *  el
[static]
 

Definition at line 157 of file xmlprogparser.cpp.

Referenced by PPCDecoder::decodeInstruction(), DataIntervalMap::isClear(), RefExp::match(), and XMLProgParser::parseFile().

static void XMLCALL start void *  data,
const char *  el,
const char **  attr
[static]
 

Definition at line 151 of file xmlprogparser.cpp.

Referenced by ST20FrontEnd::getMainEntryPoint(), SparcFrontEnd::getMainEntryPoint(), PPCFrontEnd::getMainEntryPoint(), and XMLProgParser::parseFile().

static void XMLCALL text void *  data,
const char *  s,
int  len
[static]
 

Definition at line 163 of file xmlprogparser.cpp.

Referenced by BinaryFileStub::BinaryFileStub(), MainWindow::currentTabTextChanged(), MainWindow::on_actionSave_activated(), MainWindow::on_removeButton_pressed(), and XMLProgParser::parseFile().


Variable Documentation

char* operStrings[]
 

Definition at line 5 of file operstrings.h.


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