|
void | SageInterface::addComment (SgAsmStatement *stmt, const std::string &input_string) |
|
SgAsmElfSection * | SageInterface::getSection (SgProject *project, const std::string &name) |
|
SgAsmElfSection * | SageInterface::getSection (SgProject *project, size_t ptr) |
|
SgAsmFunction * | SageInterface::getAsmFunction (SgAsmInstruction *asmInstruction) |
| Traverses AST backwards up the tree along the "parent" edges to the SgAsmFunction. More...
|
|
SgAsmBlock * | SageInterface::getAsmBlock (SgAsmInstruction *asmInstruction) |
| Traverses AST backwards up the tree along the "parent" edges to the SgAsmBlock. More...
|
|
SgAsmInterpretation * | SageInterface::getAsmInterpretation (SgAsmNode *asmNode) |
| Traverses AST backwards up the tree along the "parent" edges to the SgAsmInterpretation. More...
|
|
std::string | SageInterface::generateUniqueName (size_t value, std::map< size_t, int > &usedOffsets, size_t &counter) |
|
size_t | SageInterface::get_value (SgAsmValueExpression *asmValueExpression) |
|
std::string | SageInterface::get_valueString (SgAsmValueExpression *asmValueExpression) |
|
bool | SageInterface::isMovInstruction (SgAsmInstruction *asmInstruction) |
|
bool | SageInterface::isInstructionKind (SgAsmInstruction *asmInstruction, X86InstructionKind instuctionKind) |
|
bool | SageInterface::equivalenceTest (SgNode *x, SgNode *y) |
|
std::vector< SgNode * > | SageInterface::flattenAST (SgNode *node) |
|
std::vector< SgNode * > | SageInterface::matchAST (SgNode *node, std::vector< SgNode * > &listOfNodes, EquivalenceTestFunctionType equivalenceTest) |
|
std::vector< SgNode * > | SageInterface::find (SgNode *astNode, SgNode *target, EquivalenceTestFunctionType equivalenceTest) |
|
bool | SageInterface::isNOP (SgAsmInstruction *asmInstruction) |
| Test an instruction for if it has no side-effect to the state (is so then it is a NOP). This is a more general test than if it is equivelent to the NOP memonic instruction. More...
|
|
bool | SageInterface::isNOP (const std::vector< SgAsmInstruction * > &asmInstructionList) |
| Test a sequence of instructions for it they (as a set) have no side-effects to the state (is so then it is a NOP sequence). More...
|
|
std::vector< std::vector
< SgAsmInstruction * > > | SageInterface::find_NOP_sequences (SgAsmBlock *asmBlock) |
| find sequences of NOP instructions in a SgAsmBlock More...
|
|
void | SageInterface::insertInstruction (SgAsmInstruction *targetInstruction, SgAsmInstruction *newInstruction, bool insertBefore) |
| Support for insertion of instruction relative to a target instruction. More...
|
|
void | SageInterface::insertInstructionBefore (SgAsmInstruction *targetInstruction, SgAsmInstruction *newInstruction) |
| Insert a instruction before a target instruction. More...
|
|
void | SageInterface::removeInstruction (SgAsmStatement *instruction) |
| Remove a instruction. More...
|
|