miasm
Reverse engineering framework
test_chandler.py File Reference

Namespaces

 test_chandler
 

Variables

string test_chandler.text_1
 
string test_chandler.text_2
 
 test_chandler.base_types = CTypeAMD64_unk()
 
 test_chandler.types_ast = CAstTypes()
 
 test_chandler.types_mngr = CTypesManagerNotPacked(types_ast, base_types)
 
 test_chandler.obj = types_mngr.get_objc(type_id)
 
 test_chandler.void_ptr = types_mngr.void_ptr
 
 test_chandler.obj_dummy = types_mngr.get_objc(CTypeId("dummy"))
 
 test_chandler.obj_int = types_mngr.get_objc(CTypeId("int"))
 
 test_chandler.obj_uint = types_mngr.get_objc(CTypeId("unsigned", "int"))
 
 test_chandler.obj_long = types_mngr.get_objc(CTypeId("long"))
 
 test_chandler.obj_array1 = types_mngr.get_objc(CTypeId("array1"))
 
 test_chandler.obj_array2 = types_mngr.get_objc(CTypeId("array2"))
 
 test_chandler.obj_array3 = types_mngr.get_objc(CTypeId("array3"))
 
 test_chandler.obj_array4 = types_mngr.get_objc(CTypeId("array4"))
 
 test_chandler.obj_charint = types_mngr.get_objc(CTypeUnion("char_int"))
 
 test_chandler.obj_test = types_mngr.get_objc(CTypePtr(CTypeId("Test")))
 
 test_chandler.ptr_test = ExprId("ptr_Test", 64)
 
 test_chandler.obj_recurse = types_mngr.get_objc(CTypePtr(CTypeStruct("recurse")))
 
 test_chandler.obj_recurse_bis = types_mngr.get_objc(CTypePtr(CTypeStruct("recurse")))
 
 test_chandler.set_test = set([obj_recurse, obj_recurse_bis])
 
 test_chandler.ptr_recurse = ExprId("ptr_recurse", 64)
 
 test_chandler.obj_test_st = types_mngr.get_objc(CTypeStruct("test_st"))
 
 test_chandler.obj_test_context = types_mngr.get_objc(CTypeStruct("test_context"))
 
dictionary test_chandler.expr_types
 
dictionary test_chandler.c_context
 
list test_chandler.tests
 
 test_chandler.mychandler = CHandler(types_mngr, expr_types=expr_types, C_types=c_context)
 
 test_chandler.exprc2expr = ExprCToExpr(expr_types, types_mngr)
 
 test_chandler.result = set(result)
 
 test_chandler.expr_c = mychandler.expr_to_c(expr)
 
 test_chandler.types = mychandler.expr_to_types(expr)
 
 test_chandler.target_type = mychandler.expr_to_types(expr)
 
 test_chandler.access_c_gen = ExprToAccessC(expr_types, types_mngr)
 
 test_chandler.computed = set()
 
 test_chandler.parsed_expr = mychandler.c_to_expr(out_str)
 
 test_chandler.parsed_type = mychandler.c_to_type(out_str)
 
 test_chandler.ast = parse_access(out_str)
 
 test_chandler.access_c = ast_get_c_access_expr(ast, c_context)
 
 test_chandler.parsed_expr_bis
 
 test_chandler.parsed_type_bis
 
 test_chandler.parsed_expr_3
 
 test_chandler.parsed_type_3
 
 test_chandler.expr_new1 = expr_simp(parsed_expr)
 
 test_chandler.expr_new2 = expr_simp(expr)