ROSE 0.11.145.147
Public Member Functions | List of all members
Rose::BinaryAnalysis::SymbolicExpression::ConcatSimplifier Struct Reference

Description

Definition at line 959 of file SymbolicExpression.h.

Inheritance diagram for Rose::BinaryAnalysis::SymbolicExpression::ConcatSimplifier:
Inheritance graph
[legend]
Collaboration diagram for Rose::BinaryAnalysis::SymbolicExpression::ConcatSimplifier:
Collaboration graph
[legend]

Public Member Functions

virtual Ptr fold (Nodes::const_iterator, Nodes::const_iterator) const override
 Constant folding.
 
virtual Ptr rewrite (Interior *, const SmtSolverPtr &) const override
 Rewrite the entire expression to something simpler.
 

Member Function Documentation

◆ fold()

virtual Ptr Rose::BinaryAnalysis::SymbolicExpression::ConcatSimplifier::fold ( Nodes::const_iterator  ,
Nodes::const_iterator   
) const
overridevirtual

Constant folding.

The range begin (inclusive) to end (exclusive) must contain at least two nodes and all of the nodes must be leaf nodes with known values. This method returns a new folded node if folding is possible, or the null pointer if folding is not possible.

Reimplemented from Rose::BinaryAnalysis::SymbolicExpression::Simplifier.

◆ rewrite()

virtual Ptr Rose::BinaryAnalysis::SymbolicExpression::ConcatSimplifier::rewrite ( Interior ,
const SmtSolverPtr  
) const
overridevirtual

Rewrite the entire expression to something simpler.

Returns the new node if the node can be simplified, otherwise returns null.

Reimplemented from Rose::BinaryAnalysis::SymbolicExpression::Simplifier.


The documentation for this struct was generated from the following file: