Dyninst::OperandParser Struct Reference

Inheritance diagram for Dyninst::OperandParser:
Dyninst::ppcOperandParser Dyninst::x86OperandParser

Public Types

typedef qi::rule
< string::const_iterator,
ArgTree::ptr(),
ascii::space_type > 
ArgTreeRule

Public Member Functions

ArgTree::ptr getReg (std::string name)
ArgTree::ptr newConstant (const signed long &i)
ArgTree::ptr newDeref (ArgTree::ptr p)
ArgTree::ptr newSegment (ArgTree::ptr a, ArgTree::ptr b)
ArgTree::ptr identity (ArgTree::ptr p)
ArgTree::ptr newDerefAdd (ArgTree::ptr a, ArgTree::ptr b)
ArgTree::ptr newBaseIndexScale (ArgTree::ptr base, ArgTree::ptr index, int scale)
ArgTree::ptr newAdd (ArgTree::ptr a, ArgTree::ptr b)
ArgTree::ptr newRegister (const std::vector< char > &v)

Data Fields

std::map< std::string,
Dyninst::MachRegister
register_names

Detailed Description

Definition at line 28 of file SystemTap.C.


Member Typedef Documentation

typedef qi::rule<string::const_iterator, ArgTree::ptr(), ascii::space_type> Dyninst::OperandParser::ArgTreeRule

Definition at line 29 of file SystemTap.C.


Member Function Documentation

ArgTree::ptr OperandParser::getReg ( std::string  name  ) 

Definition at line 343 of file SystemTap.C.

References Dyninst::ArgTree::createRegister(), and register_names.

Referenced by newRegister().

ArgTree::ptr OperandParser::identity ( ArgTree::ptr  p  ) 
ArgTree::ptr OperandParser::newAdd ( ArgTree::ptr  a,
ArgTree::ptr  b 
)

Definition at line 375 of file SystemTap.C.

References Dyninst::ArgTree::createAdd().

ArgTree::ptr OperandParser::newBaseIndexScale ( ArgTree::ptr  base,
ArgTree::ptr  index,
int  scale 
)
ArgTree::ptr OperandParser::newConstant ( const signed long &  i  ) 
ArgTree::ptr OperandParser::newDeref ( ArgTree::ptr  p  ) 

Definition at line 355 of file SystemTap.C.

References Dyninst::ArgTree::createDeref().

Referenced by Dyninst::x86OperandParser::x86OperandParser().

ArgTree::ptr OperandParser::newDerefAdd ( ArgTree::ptr  a,
ArgTree::ptr  b 
)
ArgTree::ptr OperandParser::newRegister ( const std::vector< char > &  v  ) 
ArgTree::ptr OperandParser::newSegment ( ArgTree::ptr  a,
ArgTree::ptr  b 
)

Field Documentation


The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1