miasm
Reverse engineering framework
|
Public Member Functions | |
def | __init__ (self) |
def | enable_passes (self, passes) |
def | apply_simp (self, expression) |
def | expr_simp_inner (self, expression) |
def | expr_simp (self, expression) |
def | __call__ (self, expression) |
Public Member Functions inherited from miasm.expression.expression.ExprVisitorCallbackBottomToTop | |
def | __init__ (self, callback) |
def | visit (self, expr, *args, **kwargs) |
def | visit_inner (self, expr, *args, **kwargs) |
Public Attributes | |
expr_simp_cb | |
Public Attributes inherited from miasm.expression.expression.ExprVisitorCallbackBottomToTop | |
cache | |
callback | |
Static Public Attributes | |
dictionary | PASS_COMMONS |
dictionary | PASS_HEAVY = {} |
dictionary | PASS_COND |
dictionary | PASS_HIGH_TO_EXPLICIT |
Wrapper on expression simplification passes. Instance handle passes lists. Available passes lists are: - commons: common passes such as constant folding - heavy : rare passes (for instance, in case of obfuscation)
def miasm.expression.simplifications.ExpressionSimplifier.__init__ | ( | self | ) |
def miasm.expression.simplifications.ExpressionSimplifier.__call__ | ( | self, | |
expression | |||
) |
def miasm.expression.simplifications.ExpressionSimplifier.apply_simp | ( | self, | |
expression | |||
) |
Apply enabled simplifications on expression @expression: Expr instance Return an Expr instance
def miasm.expression.simplifications.ExpressionSimplifier.enable_passes | ( | self, | |
passes | |||
) |
Add passes from @passes @passes: dict(Expr class : list(callback)) Callback signature: Expr callback(ExpressionSimplifier, Expr)
def miasm.expression.simplifications.ExpressionSimplifier.expr_simp | ( | self, | |
expression | |||
) |
def miasm.expression.simplifications.ExpressionSimplifier.expr_simp_inner | ( | self, | |
expression | |||
) |
Apply enabled simplifications on expression and find a stable state @expression: Expr instance Return an Expr instance
miasm.expression.simplifications.ExpressionSimplifier.expr_simp_cb |
|
static |
|
static |
|
static |
|
static |