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

Variables

list gpregs_str = ['R%d' % r for r in range(0x10)]
 
list gpregs_expr = [ExprId(x, 32) for x in gpregs_str]
 
 gpregs = reg_info(gpregs_str, gpregs_expr)
 
list bgpregs_str = ['R%d_BANK' % r for r in range(0x8)]
 
list bgpregs_expr = [ExprId(x, 32) for x in bgpregs_str]
 
 bgpregs = reg_info(bgpregs_str, bgpregs_expr)
 
list fregs_str = ['FR%d' % r for r in range(0x10)]
 
list fregs_expr = [ExprId(x, 32) for x in fregs_str]
 
 fregs = reg_info(fregs_str, fregs_expr)
 
list dregs_str = ['DR%d' % r for r in range(0x8)]
 
list dregs_expr = [ExprId(x, 32) for x in dregs_str]
 
 dregs = reg_info(dregs_str, dregs_expr)
 
 PC
 
 reg_info_pc
 
 PR
 
 reg_info_pr
 
 R0 = gpregs_expr[0]
 
 reg_info_r0
 
 GBR
 
 reg_info_gbr
 
 SR
 
 reg_info_sr
 
 VBR
 
 reg_info_vbr
 
 SSR
 
 reg_info_ssr
 
 SPC
 
 reg_info_spc
 
 SGR
 
 reg_info_sgr
 
 DBR
 
 reg_info_dbr
 
 MACH
 
 reg_info_mach
 
 MACL
 
 reg_info_macl
 
 FPUL
 
 reg_info_fpul
 
 FR0
 
 reg_info_fr0
 
list R1 = gpregs_expr[1]
 
list R2 = gpregs_expr[2]
 
list R3 = gpregs_expr[3]
 
list R4 = gpregs_expr[4]
 
list R5 = gpregs_expr[5]
 
list R6 = gpregs_expr[6]
 
list R7 = gpregs_expr[7]
 
list R8 = gpregs_expr[8]
 
list R9 = gpregs_expr[9]
 
list R10 = gpregs_expr[10]
 
list R11 = gpregs_expr[11]
 
list R12 = gpregs_expr[12]
 
list R13 = gpregs_expr[13]
 
list R14 = gpregs_expr[14]
 
list R15 = gpregs_expr[15]
 
string reg_zf = 'zf'
 
string reg_nf = 'nf'
 
string reg_of = 'of'
 
string reg_cf = 'cf'
 
 zf = ExprId(reg_zf, size=1)
 
 nf = ExprId(reg_nf, size=1)
 
 of = ExprId(reg_of, size=1)
 
 cf = ExprId(reg_cf, size=1)
 
list all_regs_ids
 
list all_regs_ids_no_alias = all_regs_ids
 
 all_regs_ids_byname = dict([(x.name, x) for x in all_regs_ids])
 
list all_regs_ids_init = [ExprId("%s_init" % x.name, x.size) for x in all_regs_ids]
 
dictionary regs_init = {}
 
list regs_flt_expr = []
 

Variable Documentation

◆ all_regs_ids

list miasm.arch.sh4.regs.all_regs_ids
Initial value:
1 = [
2  R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15,
3  zf, nf, of, cf,
4 
5  PC, PR, R0, GBR, SR, VBR, SSR, SPC,
6  SGR, DBR, MACH, MACL, FPUL, FR0]

◆ all_regs_ids_byname

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

◆ all_regs_ids_init

list miasm.arch.sh4.regs.all_regs_ids_init = [ExprId("%s_init" % x.name, x.size) for x in all_regs_ids]

◆ all_regs_ids_no_alias

list miasm.arch.sh4.regs.all_regs_ids_no_alias = all_regs_ids

◆ bgpregs

miasm.arch.sh4.regs.bgpregs = reg_info(bgpregs_str, bgpregs_expr)

◆ bgpregs_expr

list miasm.arch.sh4.regs.bgpregs_expr = [ExprId(x, 32) for x in bgpregs_str]

◆ bgpregs_str

list miasm.arch.sh4.regs.bgpregs_str = ['R%d_BANK' % r for r in range(0x8)]

◆ cf

miasm.arch.sh4.regs.cf = ExprId(reg_cf, size=1)

◆ DBR

miasm.arch.sh4.regs.DBR

◆ dregs

miasm.arch.sh4.regs.dregs = reg_info(dregs_str, dregs_expr)

◆ dregs_expr

list miasm.arch.sh4.regs.dregs_expr = [ExprId(x, 32) for x in dregs_str]

◆ dregs_str

list miasm.arch.sh4.regs.dregs_str = ['DR%d' % r for r in range(0x8)]

◆ FPUL

miasm.arch.sh4.regs.FPUL

◆ FR0

miasm.arch.sh4.regs.FR0

◆ fregs

miasm.arch.sh4.regs.fregs = reg_info(fregs_str, fregs_expr)

◆ fregs_expr

list miasm.arch.sh4.regs.fregs_expr = [ExprId(x, 32) for x in fregs_str]

◆ fregs_str

list miasm.arch.sh4.regs.fregs_str = ['FR%d' % r for r in range(0x10)]

◆ GBR

miasm.arch.sh4.regs.GBR

◆ gpregs

miasm.arch.sh4.regs.gpregs = reg_info(gpregs_str, gpregs_expr)

◆ gpregs_expr

list miasm.arch.sh4.regs.gpregs_expr = [ExprId(x, 32) for x in gpregs_str]

◆ gpregs_str

list miasm.arch.sh4.regs.gpregs_str = ['R%d' % r for r in range(0x10)]

◆ MACH

miasm.arch.sh4.regs.MACH

◆ MACL

miasm.arch.sh4.regs.MACL

◆ nf

miasm.arch.sh4.regs.nf = ExprId(reg_nf, size=1)

◆ of

miasm.arch.sh4.regs.of = ExprId(reg_of, size=1)

◆ PC

miasm.arch.sh4.regs.PC

◆ PR

miasm.arch.sh4.regs.PR

◆ R0

list miasm.arch.sh4.regs.R0 = gpregs_expr[0]

◆ R1

list miasm.arch.sh4.regs.R1 = gpregs_expr[1]

◆ R10

list miasm.arch.sh4.regs.R10 = gpregs_expr[10]

◆ R11

list miasm.arch.sh4.regs.R11 = gpregs_expr[11]

◆ R12

list miasm.arch.sh4.regs.R12 = gpregs_expr[12]

◆ R13

list miasm.arch.sh4.regs.R13 = gpregs_expr[13]

◆ R14

list miasm.arch.sh4.regs.R14 = gpregs_expr[14]

◆ R15

list miasm.arch.sh4.regs.R15 = gpregs_expr[15]

◆ R2

list miasm.arch.sh4.regs.R2 = gpregs_expr[2]

◆ R3

list miasm.arch.sh4.regs.R3 = gpregs_expr[3]

◆ R4

list miasm.arch.sh4.regs.R4 = gpregs_expr[4]

◆ R5

list miasm.arch.sh4.regs.R5 = gpregs_expr[5]

◆ R6

list miasm.arch.sh4.regs.R6 = gpregs_expr[6]

◆ R7

list miasm.arch.sh4.regs.R7 = gpregs_expr[7]

◆ R8

list miasm.arch.sh4.regs.R8 = gpregs_expr[8]

◆ R9

list miasm.arch.sh4.regs.R9 = gpregs_expr[9]

◆ reg_cf

string miasm.arch.sh4.regs.reg_cf = 'cf'

◆ reg_info_dbr

miasm.arch.sh4.regs.reg_info_dbr

◆ reg_info_fpul

miasm.arch.sh4.regs.reg_info_fpul

◆ reg_info_fr0

miasm.arch.sh4.regs.reg_info_fr0

◆ reg_info_gbr

miasm.arch.sh4.regs.reg_info_gbr

◆ reg_info_mach

miasm.arch.sh4.regs.reg_info_mach

◆ reg_info_macl

miasm.arch.sh4.regs.reg_info_macl

◆ reg_info_pc

miasm.arch.sh4.regs.reg_info_pc

◆ reg_info_pr

miasm.arch.sh4.regs.reg_info_pr

◆ reg_info_r0

miasm.arch.sh4.regs.reg_info_r0

◆ reg_info_sgr

miasm.arch.sh4.regs.reg_info_sgr

◆ reg_info_spc

miasm.arch.sh4.regs.reg_info_spc

◆ reg_info_sr

miasm.arch.sh4.regs.reg_info_sr

◆ reg_info_ssr

miasm.arch.sh4.regs.reg_info_ssr

◆ reg_info_vbr

miasm.arch.sh4.regs.reg_info_vbr

◆ reg_nf

string miasm.arch.sh4.regs.reg_nf = 'nf'

◆ reg_of

string miasm.arch.sh4.regs.reg_of = 'of'

◆ reg_zf

string miasm.arch.sh4.regs.reg_zf = 'zf'

◆ regs_flt_expr

list miasm.arch.sh4.regs.regs_flt_expr = []

◆ regs_init

dictionary miasm.arch.sh4.regs.regs_init = {}

◆ SGR

miasm.arch.sh4.regs.SGR

◆ SPC

miasm.arch.sh4.regs.SPC

◆ SR

miasm.arch.sh4.regs.SR

◆ SSR

miasm.arch.sh4.regs.SSR

◆ VBR

miasm.arch.sh4.regs.VBR

◆ zf

miasm.arch.sh4.regs.zf = ExprId(reg_zf, size=1)