Dyninst::ArgTree Class Reference

#include <SystemTap.h>

Data Structures

union  op_data_t

Public Types

enum  op_type_t {
  Register, Constant, Add, Multiply,
  Dereference, Segment
}
typedef boost::shared_ptr
< ArgTree
ptr

Public Member Functions

void print (FILE *f)

Static Public Member Functions

static ArgTree::ptr createConstant (const signed long &v)
static ArgTree::ptr createRegister (Dyninst::MachRegister r)
static ArgTree::ptr createDeref (ArgTree::ptr sub)
static ArgTree::ptr createSegment (ArgTree::ptr l, ArgTree::ptr r)
static ArgTree::ptr createAdd (ArgTree::ptr l, ArgTree::ptr r)
static ArgTree::ptr createMultiply (ArgTree::ptr l, ArgTree::ptr r)

Data Fields

op_type_t op_type
op_data_t op_data
ArgTree::ptr lchild
ArgTree::ptr rchild

Private Member Functions

 ArgTree ()

Detailed Description

Definition at line 12 of file SystemTap.h.


Member Typedef Documentation

typedef boost::shared_ptr<ArgTree> Dyninst::ArgTree::ptr

Definition at line 16 of file SystemTap.h.


Member Enumeration Documentation

Enumerator:
Register 
Constant 
Add 
Multiply 
Dereference 
Segment 

Definition at line 17 of file SystemTap.h.


Constructor & Destructor Documentation

Dyninst::ArgTree::ArgTree (  )  [inline, private]

Definition at line 14 of file SystemTap.h.


Member Function Documentation

ArgTree::ptr ArgTree::createAdd ( ArgTree::ptr  l,
ArgTree::ptr  r 
) [static]
ArgTree::ptr ArgTree::createConstant ( const signed long &  v  )  [static]
ArgTree::ptr ArgTree::createDeref ( ArgTree::ptr  sub  )  [static]

Definition at line 562 of file SystemTap.C.

References Dereference.

Referenced by Dyninst::OperandParser::newDeref(), and Dyninst::OperandParser::newDerefAdd().

ArgTree::ptr ArgTree::createMultiply ( ArgTree::ptr  l,
ArgTree::ptr  r 
) [static]

Definition at line 588 of file SystemTap.C.

References Multiply.

Referenced by Dyninst::OperandParser::newBaseIndexScale().

ArgTree::ptr ArgTree::createRegister ( Dyninst::MachRegister  r  )  [static]

Definition at line 555 of file SystemTap.C.

References Register.

Referenced by Dyninst::OperandParser::getReg().

ArgTree::ptr ArgTree::createSegment ( ArgTree::ptr  l,
ArgTree::ptr  r 
) [static]

Definition at line 570 of file SystemTap.C.

References Segment.

Referenced by Dyninst::OperandParser::newSegment().

void ArgTree::print ( FILE *  f  ) 

Field Documentation

Definition at line 31 of file SystemTap.h.

Referenced by print().

Definition at line 30 of file SystemTap.h.

Referenced by print().

Definition at line 29 of file SystemTap.h.

Referenced by print().

Definition at line 32 of file SystemTap.h.

Referenced by print().


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

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1