miasm
Reverse engineering framework
expression.py File Reference

Classes

class  miasm.expression.expression.DiGraphExpr
 
class  miasm.expression.expression.LocKey
 
class  miasm.expression.expression.ExprWalkBase
 
class  miasm.expression.expression.ExprWalk
 
class  miasm.expression.expression.ExprGetR
 
class  miasm.expression.expression.ExprVisitorBase
 
class  miasm.expression.expression.ExprVisitorCallbackTopToBottom
 
class  miasm.expression.expression.ExprVisitorCallbackBottomToTop
 
class  miasm.expression.expression.ExprVisitorCanonize
 
class  miasm.expression.expression.ExprVisitorContains
 
class  miasm.expression.expression.Expr
 
class  miasm.expression.expression.ExprInt
 
class  miasm.expression.expression.ExprId
 
class  miasm.expression.expression.ExprLoc
 
class  miasm.expression.expression.ExprAssign
 
class  miasm.expression.expression.ExprAff
 
class  miasm.expression.expression.ExprCond
 
class  miasm.expression.expression.ExprMem
 
class  miasm.expression.expression.ExprOp
 
class  miasm.expression.expression.ExprSlice
 
class  miasm.expression.expression.ExprCompose
 

Namespaces

 miasm.expression.expression
 

Functions

def miasm.expression.expression.should_parenthesize_child (child, parent)
 
def miasm.expression.expression.str_protected_child (child, parent)
 
def miasm.expression.expression.is_expr (expr)
 
def miasm.expression.expression.is_associative (expr)
 
def miasm.expression.expression.is_commutative (expr)
 
def miasm.expression.expression.canonize_to_exprloc (locdb, expr)
 
def miasm.expression.expression.is_function_call (expr)
 
def miasm.expression.expression.compare_exprs_compose (expr1, expr2)
 
def miasm.expression.expression.compare_expr_list_compose (l1_e, l2_e)
 
def miasm.expression.expression.compare_expr_list (l1_e, l2_e)
 
def miasm.expression.expression.compare_exprs (expr1, expr2)
 
def miasm.expression.expression.canonize_expr_list (expr_list)
 
def miasm.expression.expression.canonize_expr_list_compose (expr_list)
 
def miasm.expression.expression.ExprInt1 (i)
 
def miasm.expression.expression.ExprInt8 (i)
 
def miasm.expression.expression.ExprInt16 (i)
 
def miasm.expression.expression.ExprInt32 (i)
 
def miasm.expression.expression.ExprInt64 (i)
 
def miasm.expression.expression.ExprInt_from (expr, i)
 
def miasm.expression.expression.get_expr_ids_visit (expr, ids)
 
def miasm.expression.expression.get_expr_locs_visit (expr, locs)
 
def miasm.expression.expression.get_expr_ids (expr)
 
def miasm.expression.expression.get_expr_locs (expr)
 
def miasm.expression.expression.test_set (expr, pattern, tks, result)
 
def miasm.expression.expression.match_expr (expr, pattern, tks, result=None)
 
def miasm.expression.expression.MatchExpr (expr, pattern, tks, result=None)
 
def miasm.expression.expression.get_rw (exprs)
 
def miasm.expression.expression.get_list_rw (exprs, mem_read=False, cst_read=True)
 
def miasm.expression.expression.get_expr_ops (expr)
 
def miasm.expression.expression.get_expr_mem (expr)
 
def miasm.expression.expression.expr_is_equal (op1, op2)
 
def miasm.expression.expression.expr_is_not_equal (op1, op2)
 
def miasm.expression.expression.expr_is_unsigned_greater (op1, op2)
 
def miasm.expression.expression.expr_is_unsigned_greater_or_equal (op1, op2)
 
def miasm.expression.expression.expr_is_unsigned_lower (op1, op2)
 
def miasm.expression.expression.expr_is_unsigned_lower_or_equal (op1, op2)
 
def miasm.expression.expression.expr_is_signed_greater (op1, op2)
 
def miasm.expression.expression.expr_is_signed_greater_or_equal (op1, op2)
 
def miasm.expression.expression.expr_is_signed_lower (op1, op2)
 
def miasm.expression.expression.expr_is_signed_lower_or_equal (op1, op2)
 
def miasm.expression.expression.expr_is_NaN (expr)
 
def miasm.expression.expression.expr_is_infinite (expr)
 
def miasm.expression.expression.expr_is_IEEE754_zero (expr)
 
def miasm.expression.expression.expr_is_IEEE754_denormal (expr)
 
def miasm.expression.expression.expr_is_qNaN (expr)
 
def miasm.expression.expression.expr_is_sNaN (expr)
 
def miasm.expression.expression.expr_is_float_lower (op1, op2)
 
def miasm.expression.expression.expr_is_float_equal (op1, op2)
 

Variables

string miasm.expression.expression.TOK_INF = "<"
 
string miasm.expression.expression.TOK_INF_SIGNED = TOK_INF + "s"
 
string miasm.expression.expression.TOK_INF_UNSIGNED = TOK_INF + "u"
 
string miasm.expression.expression.TOK_INF_EQUAL = "<="
 
string miasm.expression.expression.TOK_INF_EQUAL_SIGNED = TOK_INF_EQUAL + "s"
 
string miasm.expression.expression.TOK_INF_EQUAL_UNSIGNED = TOK_INF_EQUAL + "u"
 
string miasm.expression.expression.TOK_EQUAL = "=="
 
string miasm.expression.expression.TOK_POS = "pos"
 
string miasm.expression.expression.TOK_POS_STRICT = "Spos"
 
int miasm.expression.expression.EXPRINT = 1
 
int miasm.expression.expression.EXPRID = 2
 
int miasm.expression.expression.EXPRLOC = 3
 
int miasm.expression.expression.EXPRASSIGN = 4
 
int miasm.expression.expression.EXPRCOND = 5
 
int miasm.expression.expression.EXPRMEM = 6
 
int miasm.expression.expression.EXPROP = 7
 
int miasm.expression.expression.EXPRSLICE = 8
 
int miasm.expression.expression.EXPRCOMPOSE = 9
 
list miasm.expression.expression.priorities_list
 
 miasm.expression.expression.priorities
 
int miasm.expression.expression.PRIORITY_MAX = len(priorities_list) - 1
 
 miasm.expression.expression.contains_visitor = ExprVisitorContains()
 
 miasm.expression.expression.canonize_visitor = ExprVisitorCanonize()
 
dictionary miasm.expression.expression.EXPR_ORDER_DICT
 
dictionary miasm.expression.expression.size_to_IEEE754_info