ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SageBuilderAsm Namespace Reference

Functions

SgAsmx86Instructionbuildx86Instruction (X86InstructionKind kind)
 
SgAsmx86Instructionbuildx86Instruction (X86InstructionKind kind, SgAsmExpression *operand)
 
SgAsmx86Instructionbuildx86Instruction (X86InstructionKind kind, SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmx86Instructionbuildx86Instruction (X86InstructionKind kind, SgAsmOperandList *operands)
 
SgAsmOperandListbuildSgAsmOperandList ()
 
SgAsmOperandListbuildSgAsmOperandList (SgAsmExpression *operand)
 
SgAsmOperandListbuildSgAsmOperandList (SgAsmExpression *lhs=NULL, SgAsmExpression *rhs=NULL)
 
SgAsmx86RegisterReferenceExpressionbuildSgAsmx86RegisterReferenceExpression (const RegisterDescriptor &)
 
SgAsmArmRegisterReferenceExpressionbuildSgAsmArmRegisterReferenceExpression (const RegisterDescriptor &)
 
SgAsmMipsRegisterReferenceExpressionbuildSgAsmMipsRegisterReferenceExpression (const RegisterDescriptor &)
 
SgAsmPowerpcRegisterReferenceExpressionbuildSgAsmPowerpcRegisterReferenceExpression (const RegisterDescriptor &)
 
template<class T >
T * buildAsmUnaryExpression (SgAsmExpression *operand=NULL)
 
template<class T >
T * buildAsmBinaryExpression (SgAsmExpression *lhs=NULL, SgAsmExpression *rhs=NULL)
 
SgAsmIntegerValueExpressionbuildAsmQWordValue (uint64_t val)
 
SgAsmBinarySubtractbuildAsmSubtract (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryAddPreupdatebuildAsmAddPreupdate (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinarySubtractPreupdatebuildAsmSubtractPreupdate (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryAddPostupdatebuildAsmAddPostupdate (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinarySubtractPostupdatebuildAsmSubtractPostupdate (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryMultiplybuildAsmMul (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryLslbuildAsmLsl (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryLsrbuildAsmLsr (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryAsrbuildAsmAsr (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryRorbuildAsmRor (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmUnaryRrxbuildAsmRrx (SgAsmExpression *lhs)
 
SgAsmUnaryArmSpecialRegisterListbuildAsmArmSpecialRegisterList (SgAsmExpression *lhs)
 
SgAsmExprListExpbuildAsmExprListExp ()
 
SgAsmIntegerValueExpressionbuildAsmDWordValue (uint32_t val)
 
SgAsmIntegerValueExpressionbuildAsmByteValue (uint8_t val)
 
SgAsmIntegerValueExpressionbuildAsmWordValue (uint16_t val)
 
SgAsmMemoryReferenceExpressionbuildAsmMemoryReferenceExpression (SgAsmExpression *addr, SgAsmExpression *segment=NULL, SgAsmType *t=NULL)
 
SgAsmBinaryAddbuildAsmAddExpression (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmTypeBytebuildAsmTypeByte ()
 
SgAsmTypeWordbuildAsmTypeWord ()
 
SgAsmTypeDoubleWordbuildAsmTypeDoubleWord ()
 
SgAsmTypeQuadWordbuildAsmTypeQuadWord ()
 
SgAsmTypeSingleFloatbuildAsmTypeSingleFloat ()
 
SgAsmTypeDoubleFloatbuildAsmTypeDoubleFloat ()
 
SgAsmType128bitFloatbuildAsmType128bitFloat ()
 
SgAsmType80bitFloatbuildAsmType80bitFloat ()
 
SgAsmTypeDoubleQuadWordbuildAsmTypeDoubleQuadWord ()
 
SgAsmTypeVectorbuildAsmTypeVector ()
 
SgAsmInstructionbuildMultibyteNopInstruction (int n)
 
SgAsmIntegerValueExpressionmakeByteValue (uint8_t val)
 
SgAsmIntegerValueExpressionmakeWordValue (uint16_t val)
 
SgAsmIntegerValueExpressionmakeDWordValue (uint32_t val)
 
SgAsmIntegerValueExpressionmakeQWordValue (uint64_t val)
 
SgAsmMemoryReferenceExpressionmakeMemoryReference (SgAsmExpression *addr, SgAsmExpression *segment=NULL, SgAsmType *t=NULL)
 
SgAsmBinaryAddmakeAdd (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinarySubtractmakeSubtract (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryAddPreupdatemakeAddPreupdate (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinarySubtractPreupdatemakeSubtractPreupdate (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryAddPostupdatemakeAddPostupdate (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinarySubtractPostupdatemakeSubtractPostupdate (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryMultiplymakeMul (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryLslmakeLsl (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryLsrmakeLsr (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryAsrmakeAsr (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmBinaryRormakeRor (SgAsmExpression *lhs, SgAsmExpression *rhs)
 
SgAsmUnaryRrxmakeRrx (SgAsmExpression *lhs)
 
SgAsmUnaryArmSpecialRegisterListmakeArmSpecialRegisterList (SgAsmExpression *lhs)
 
SgAsmExprListExpmakeExprListExp ()
 
template<typename Insn >
Insn * appendOperand (Insn *insn, SgAsmExpression *op)
 

Function Documentation

SgAsmx86Instruction* SageBuilderAsm::buildx86Instruction ( X86InstructionKind  kind)
SgAsmx86Instruction* SageBuilderAsm::buildx86Instruction ( X86InstructionKind  kind,
SgAsmExpression operand 
)
SgAsmx86Instruction* SageBuilderAsm::buildx86Instruction ( X86InstructionKind  kind,
SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmx86Instruction* SageBuilderAsm::buildx86Instruction ( X86InstructionKind  kind,
SgAsmOperandList operands 
)
SgAsmOperandList* SageBuilderAsm::buildSgAsmOperandList ( )
SgAsmOperandList* SageBuilderAsm::buildSgAsmOperandList ( SgAsmExpression operand)
SgAsmOperandList* SageBuilderAsm::buildSgAsmOperandList ( SgAsmExpression lhs = NULL,
SgAsmExpression rhs = NULL 
)
SgAsmx86RegisterReferenceExpression* SageBuilderAsm::buildSgAsmx86RegisterReferenceExpression ( const RegisterDescriptor )
SgAsmArmRegisterReferenceExpression* SageBuilderAsm::buildSgAsmArmRegisterReferenceExpression ( const RegisterDescriptor )
SgAsmMipsRegisterReferenceExpression* SageBuilderAsm::buildSgAsmMipsRegisterReferenceExpression ( const RegisterDescriptor )
SgAsmPowerpcRegisterReferenceExpression* SageBuilderAsm::buildSgAsmPowerpcRegisterReferenceExpression ( const RegisterDescriptor )
template<class T >
T* SageBuilderAsm::buildAsmUnaryExpression ( SgAsmExpression operand = NULL)
template<class T >
T* SageBuilderAsm::buildAsmBinaryExpression ( SgAsmExpression lhs = NULL,
SgAsmExpression rhs = NULL 
)
SgAsmIntegerValueExpression* SageBuilderAsm::buildAsmQWordValue ( uint64_t  val)
SgAsmBinarySubtract* SageBuilderAsm::buildAsmSubtract ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmBinaryAddPreupdate* SageBuilderAsm::buildAsmAddPreupdate ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmBinarySubtractPreupdate* SageBuilderAsm::buildAsmSubtractPreupdate ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmBinaryAddPostupdate* SageBuilderAsm::buildAsmAddPostupdate ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmBinarySubtractPostupdate* SageBuilderAsm::buildAsmSubtractPostupdate ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmBinaryMultiply* SageBuilderAsm::buildAsmMul ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmBinaryLsl* SageBuilderAsm::buildAsmLsl ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmBinaryLsr* SageBuilderAsm::buildAsmLsr ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmBinaryAsr* SageBuilderAsm::buildAsmAsr ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmBinaryRor* SageBuilderAsm::buildAsmRor ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmUnaryRrx* SageBuilderAsm::buildAsmRrx ( SgAsmExpression lhs)
SgAsmUnaryArmSpecialRegisterList* SageBuilderAsm::buildAsmArmSpecialRegisterList ( SgAsmExpression lhs)
SgAsmExprListExp* SageBuilderAsm::buildAsmExprListExp ( )
SgAsmIntegerValueExpression* SageBuilderAsm::buildAsmDWordValue ( uint32_t  val)
SgAsmIntegerValueExpression* SageBuilderAsm::buildAsmByteValue ( uint8_t  val)
SgAsmIntegerValueExpression* SageBuilderAsm::buildAsmWordValue ( uint16_t  val)
SgAsmMemoryReferenceExpression* SageBuilderAsm::buildAsmMemoryReferenceExpression ( SgAsmExpression addr,
SgAsmExpression segment = NULL,
SgAsmType t = NULL 
)
SgAsmBinaryAdd* SageBuilderAsm::buildAsmAddExpression ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmTypeByte* SageBuilderAsm::buildAsmTypeByte ( )
SgAsmTypeWord* SageBuilderAsm::buildAsmTypeWord ( )
SgAsmTypeDoubleWord* SageBuilderAsm::buildAsmTypeDoubleWord ( )
SgAsmTypeQuadWord* SageBuilderAsm::buildAsmTypeQuadWord ( )
SgAsmTypeSingleFloat* SageBuilderAsm::buildAsmTypeSingleFloat ( )
SgAsmTypeDoubleFloat* SageBuilderAsm::buildAsmTypeDoubleFloat ( )
SgAsmType128bitFloat* SageBuilderAsm::buildAsmType128bitFloat ( )
SgAsmType80bitFloat* SageBuilderAsm::buildAsmType80bitFloat ( )
SgAsmTypeDoubleQuadWord* SageBuilderAsm::buildAsmTypeDoubleQuadWord ( )
SgAsmTypeVector* SageBuilderAsm::buildAsmTypeVector ( )
SgAsmInstruction* SageBuilderAsm::buildMultibyteNopInstruction ( int  n)
SgAsmBinaryMultiply* SageBuilderAsm::makeMul ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmBinaryLsl* SageBuilderAsm::makeLsl ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmBinaryLsr* SageBuilderAsm::makeLsr ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmBinaryAsr* SageBuilderAsm::makeAsr ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmBinaryRor* SageBuilderAsm::makeRor ( SgAsmExpression lhs,
SgAsmExpression rhs 
)
SgAsmUnaryRrx* SageBuilderAsm::makeRrx ( SgAsmExpression lhs)
SgAsmUnaryArmSpecialRegisterList* SageBuilderAsm::makeArmSpecialRegisterList ( SgAsmExpression lhs)
SgAsmExprListExp* SageBuilderAsm::makeExprListExp ( )
template<typename Insn >
Insn* SageBuilderAsm::appendOperand ( Insn *  insn,
SgAsmExpression op 
)
inline