miasm
Reverse engineering framework
miasm.arch.mep.regs Namespace Reference

Variables

 exception_flags = ExprId("exception_flags", 32)
 
 exception_flags_init = ExprId("exception_flags_init", 32)
 
 is_repeat_end = ExprId("is_repeat_end", 32)
 
 is_repeat_end_init = ExprId("is_repeat_end_init", 32)
 
 last_addr = ExprId("last_addr", 32)
 
 last_addr_init = ExprId("last_addr_init", 32)
 
 take_jmp = ExprId("take_jmp", 32)
 
 take_jmp_init = ExprId("take_jmp_init", 32)
 
 in_erepeat = ExprId("in_erepeat", 32)
 
 in_erepeat_init = ExprId("take_jmp_init", 32)
 
list gpr_names = ["R%d" % r for r in range(13)]
 
 gpr_exprs
 
 gpr_inits
 
 gpr_infos
 
 TP = gpr_exprs[13]
 
 GP = gpr_exprs[14]
 
 SP = gpr_exprs[15]
 
list csr_names
 
 csr_exprs
 
 csr_inits
 
 csr_infos
 
 PC = csr_exprs[0]
 
 LP = csr_exprs[1]
 
 SAR = csr_exprs[2]
 
 RPB = csr_exprs[4]
 
 RPE = csr_exprs[5]
 
 RPC = csr_exprs[6]
 
list copro_gpr_names = ["C%d" % r for r in range(32)]
 
 copro_gpr_exprs
 
 copro_gpr_inits
 
 copro_gpr_infos
 
 all_regs_ids
 
 all_regs_ids_init
 
 all_regs_ids_no_alias = all_regs_ids[:]
 
 all_regs_ids_byname = dict([(x.name, x) for x in all_regs_ids])
 
 float_st0 = ExprId("float_st0", 64)
 
 float_st1 = ExprId("float_st1", 64)
 
 float_st2 = ExprId("float_st2", 64)
 
 float_st3 = ExprId("float_st3", 64)
 
 float_st4 = ExprId("float_st4", 64)
 
 float_st5 = ExprId("float_st5", 64)
 
 float_st6 = ExprId("float_st6", 64)
 
 float_st7 = ExprId("float_st7", 64)
 
list regs_flt_expr
 
 regs_init = dict()
 

Variable Documentation

◆ all_regs_ids

miasm.arch.mep.regs.all_regs_ids
Initial value:
1 = gpr_exprs + csr_exprs + copro_gpr_exprs + [
2  exception_flags, take_jmp, last_addr, is_repeat_end,
3  in_erepeat
4 ]

◆ all_regs_ids_byname

miasm.arch.mep.regs.all_regs_ids_byname = dict([(x.name, x) for x in all_regs_ids])

◆ all_regs_ids_init

miasm.arch.mep.regs.all_regs_ids_init
Initial value:
1 = gpr_inits + csr_inits + copro_gpr_inits + [
2  exception_flags_init, take_jmp_init, last_addr_init, is_repeat_end_init,
3  in_erepeat_init
4 ]

◆ all_regs_ids_no_alias

miasm.arch.mep.regs.all_regs_ids_no_alias = all_regs_ids[:]

◆ copro_gpr_exprs

miasm.arch.mep.regs.copro_gpr_exprs

◆ copro_gpr_infos

miasm.arch.mep.regs.copro_gpr_infos

◆ copro_gpr_inits

miasm.arch.mep.regs.copro_gpr_inits

◆ copro_gpr_names

list miasm.arch.mep.regs.copro_gpr_names = ["C%d" % r for r in range(32)]

◆ csr_exprs

miasm.arch.mep.regs.csr_exprs

◆ csr_infos

miasm.arch.mep.regs.csr_infos

◆ csr_inits

miasm.arch.mep.regs.csr_inits

◆ csr_names

list miasm.arch.mep.regs.csr_names
Initial value:
1 = ["PC", "LP", "SAR", "S3", "RPB", "RPE", "RPC", "HI", "LO",
2  "S9", "S10", "S11", "MB0", "ME0", "MB1", "ME1", "PSW",
3  "ID", "TMP", "EPC", "EXC", "CFG", "S22", "NPC", "DBG",
4  "DEPC", "OPT", "RCFG", "CCFG", "S29", "S30", "S31", "S32"]

◆ exception_flags

miasm.arch.mep.regs.exception_flags = ExprId("exception_flags", 32)

◆ exception_flags_init

miasm.arch.mep.regs.exception_flags_init = ExprId("exception_flags_init", 32)

◆ float_st0

miasm.arch.mep.regs.float_st0 = ExprId("float_st0", 64)

◆ float_st1

miasm.arch.mep.regs.float_st1 = ExprId("float_st1", 64)

◆ float_st2

miasm.arch.mep.regs.float_st2 = ExprId("float_st2", 64)

◆ float_st3

miasm.arch.mep.regs.float_st3 = ExprId("float_st3", 64)

◆ float_st4

miasm.arch.mep.regs.float_st4 = ExprId("float_st4", 64)

◆ float_st5

miasm.arch.mep.regs.float_st5 = ExprId("float_st5", 64)

◆ float_st6

miasm.arch.mep.regs.float_st6 = ExprId("float_st6", 64)

◆ float_st7

miasm.arch.mep.regs.float_st7 = ExprId("float_st7", 64)

◆ GP

miasm.arch.mep.regs.GP = gpr_exprs[14]

◆ gpr_exprs

miasm.arch.mep.regs.gpr_exprs

◆ gpr_infos

miasm.arch.mep.regs.gpr_infos

◆ gpr_inits

miasm.arch.mep.regs.gpr_inits

◆ gpr_names

list miasm.arch.mep.regs.gpr_names = ["R%d" % r for r in range(13)]

◆ in_erepeat

miasm.arch.mep.regs.in_erepeat = ExprId("in_erepeat", 32)

◆ in_erepeat_init

miasm.arch.mep.regs.in_erepeat_init = ExprId("take_jmp_init", 32)

◆ is_repeat_end

miasm.arch.mep.regs.is_repeat_end = ExprId("is_repeat_end", 32)

◆ is_repeat_end_init

miasm.arch.mep.regs.is_repeat_end_init = ExprId("is_repeat_end_init", 32)

◆ last_addr

miasm.arch.mep.regs.last_addr = ExprId("last_addr", 32)

◆ last_addr_init

miasm.arch.mep.regs.last_addr_init = ExprId("last_addr_init", 32)

◆ LP

miasm.arch.mep.regs.LP = csr_exprs[1]

◆ PC

miasm.arch.mep.regs.PC = csr_exprs[0]

◆ regs_flt_expr

list miasm.arch.mep.regs.regs_flt_expr
Initial value:
1 = [float_st0, float_st1, float_st2, float_st3,
2  float_st4, float_st5, float_st6, float_st7]

◆ regs_init

miasm.arch.mep.regs.regs_init = dict()

◆ RPB

miasm.arch.mep.regs.RPB = csr_exprs[4]

◆ RPC

miasm.arch.mep.regs.RPC = csr_exprs[6]

◆ RPE

miasm.arch.mep.regs.RPE = csr_exprs[5]

◆ SAR

miasm.arch.mep.regs.SAR = csr_exprs[2]

◆ SP

miasm.arch.mep.regs.SP = gpr_exprs[15]

◆ take_jmp

miasm.arch.mep.regs.take_jmp = ExprId("take_jmp", 32)

◆ take_jmp_init

miasm.arch.mep.regs.take_jmp_init = ExprId("take_jmp_init", 32)

◆ TP

miasm.arch.mep.regs.TP = gpr_exprs[13]