miasm
Reverse engineering framework
access_c.MyExprToAccessC Class Reference
Inheritance diagram for access_c.MyExprToAccessC:
Collaboration diagram for access_c.MyExprToAccessC:

Public Member Functions

def reduce_compose (self, node, **kwargs)
 
- Public Member Functions inherited from miasm.core.objc.ExprToAccessC
def __init__ (self, expr_types, types_mngr, enforce_strict_access=True)
 
def updt_expr_types (self, expr_types)
 
def cgen_access (self, cgenobj, base_type, offset, deref, lvl=0)
 
def reduce_known_expr (self, node, ctxt, **kwargs)
 
def reduce_int (self, node, **kwargs)
 
def get_solo_type (self, node)
 
def reduce_op (self, node, lvl=0, **kwargs)
 
def reduce_mem (self, node, lvl=0, **kwargs)
 
def get_accesses (self, expr, expr_context=None)
 
- Public Member Functions inherited from miasm.expression.expression_reduce.ExprReducer
def expr2node (self, expr)
 
def reduce (self, expr, **kwargs)
 
def categorize (self, node, lvl=0, **kwargs)
 
def apply_rules (self, node, lvl=0, **kwargs)
 

Static Public Attributes

 reduction_rules = ExprToAccessC.reduction_rules + [reduce_compose]
 
- Static Public Attributes inherited from miasm.core.objc.ExprToAccessC
list reduction_rules
 
- Static Public Attributes inherited from miasm.expression.expression_reduce.ExprReducer
list reduction_rules = []
 
bool allow_none_result = False
 

Additional Inherited Members

- Public Attributes inherited from miasm.core.objc.ExprToAccessC
 expr_types
 
 types_mngr
 
 enforce_strict_access
 

Detailed Description

Custom ExprToAccessC to complete expression traduction to C

Member Function Documentation

◆ reduce_compose()

def access_c.MyExprToAccessC.reduce_compose (   self,
  node,
**  kwargs 
)
Custom reduction rule: {XXX, 0} -> XXX

Member Data Documentation

◆ reduction_rules

access_c.MyExprToAccessC.reduction_rules = ExprToAccessC.reduction_rules + [reduce_compose]
static

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