miasm
Reverse engineering framework
|
Classes | |
class | CondConstraint |
class | CondConstraintNotZero |
class | CondConstraintZero |
class | ConstrainedValues |
class | ExprRandom |
class | Variables_Identifier |
Functions | |
def | parity (a) |
def | merge_sliceto_slice (expr) |
def | is_pure_int (e) |
def | is_int_or_cond_src_int (e) |
def | fast_unify (seq, idfun=None) |
def | get_missing_interval (all_intervals, i_min=0, i_max=32) |
def | expr_cmpu (arg1, arg2) |
def | expr_cmps (arg1, arg2) |
def | possible_values (expr) |
Variables | |
list | op_propag_cst |
ConstrainedValue | |
def miasm.expression.expression_helper.expr_cmps | ( | arg1, | |
arg2 | |||
) |
Returns a one bit long Expression: * 1 if @arg1 is strictly greater than @arg2 (signed) * 0 otherwise.
def miasm.expression.expression_helper.expr_cmpu | ( | arg1, | |
arg2 | |||
) |
Returns a one bit long Expression: * 1 if @arg1 is strictly greater than @arg2 (unsigned) * 0 otherwise.
def miasm.expression.expression_helper.fast_unify | ( | seq, | |
idfun = None |
|||
) |
def miasm.expression.expression_helper.get_missing_interval | ( | all_intervals, | |
i_min = 0 , |
|||
i_max = 32 |
|||
) |
Return a list of missing interval in all_interval @all_interval: list of (int, int) @i_min: int, minimal missing interval bound @i_max: int, maximal missing interval bound
def miasm.expression.expression_helper.is_int_or_cond_src_int | ( | e | ) |
def miasm.expression.expression_helper.is_pure_int | ( | e | ) |
return True if expr is only composed with integers /!\ ExprCond returns True is src1 and src2 are integers
def miasm.expression.expression_helper.merge_sliceto_slice | ( | expr | ) |
Apply basic factorisation on ExprCompose sub components @expr: ExprCompose
def miasm.expression.expression_helper.parity | ( | a | ) |
def miasm.expression.expression_helper.possible_values | ( | expr | ) |
Return possible values for expression @expr, associated with their condition constraint as a ConstrainedValues instance @expr: Expr instance
miasm.expression.expression_helper.ConstrainedValue |