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

Variables

 exception_flags = ExprId('exception_flags', 32)
 
 interrupt_num = ExprId('interrupt_num', 32)
 
list gpregs32_str = ["W%d" % i for i in range(0x1f)] + ["WSP"]
 
 gpregs32_expr
 
 gpregs32_init
 
 gpregs32_info
 
list gpregs64_str = ["X%d" % i for i in range(0x1E)] + ["LR", "SP"]
 
 gpregs64_expr
 
 gpregs64_init
 
 gpregs64_info
 
list gpregsz32_str = ["W%d" % i for i in range(0x1f)] + ["WZR"]
 
 gpregsz32_expr
 
 gpregsz32_init
 
 gpregsz32_info
 
list gpregsz64_str = ["X%d" % i for i in range(0x1e)] + ["LR", "XZR"]
 
 gpregsz64_expr
 
 gpregsz64_init
 
 gpregsz64_info
 
list cr_str = ["c%d" % i for i in range(0x10)]
 
 cr_expr
 
 cr_init
 
 cr_info
 
list simd08_str = ["B%d" % i for i in range(0x20)]
 
 simd08_expr
 
 simd08_init
 
 simd08_info
 
list simd16_str = ["H%d" % i for i in range(0x20)]
 
 simd16_expr
 
 simd16_init
 
 simd16_info
 
list simd32_str = ["S%d" % i for i in range(0x20)]
 
 simd32_expr
 
 simd32_init
 
 simd32_info
 
list simd64_str = ["D%d" % i for i in range(0x20)]
 
 simd64_expr
 
 simd64_init
 
 simd64_info
 
list simd128_str = ["Q%d" % i for i in range(0x20)]
 
 simd128_expr
 
 simd128_init
 
 simd128_info
 
list sysregs_str
 
 sysregs_expr
 
 sysregs_init
 
 sysregs_info
 
 PC
 
 WZR
 
 XZR
 
 PC_init = ExprId("PC_init", 64)
 
 WZR_init = ExprId("WZR_init", 32)
 
 XZR_init = ExprId("XZR_init", 64)
 
string reg_zf = 'zf'
 
string reg_nf = 'nf'
 
string reg_of = 'of'
 
string reg_cf = 'cf'
 
string reg_df = 'df'
 
string reg_af = 'af'
 
string reg_iff = 'if'
 
string reg_ff = 'ff'
 
string reg_cur_el = 'cur_el'
 
string reg_dit = 'dit'
 
string reg_pan = 'pan'
 
string reg_spsel = 'spsel'
 
string reg_ssbs = 'ssbs'
 
string reg_tco = 'tco'
 
string reg_uao = 'uao'
 
 zf = ExprId(reg_zf, size=1)
 
 nf = ExprId(reg_nf, size=1)
 
 of = ExprId(reg_of, size=1)
 
 cf = ExprId(reg_cf, size=1)
 
 df = ExprId(reg_df, size=1)
 
 af = ExprId(reg_af, size=1)
 
 iff = ExprId(reg_iff, size=1)
 
 ff = ExprId(reg_ff, size=1)
 
 cur_el = ExprId(reg_cur_el, size=2)
 
 dit = ExprId(reg_dit, size=1)
 
 pan = ExprId(reg_pan, size=1)
 
 spsel = ExprId(reg_spsel, size=1)
 
 ssbs = ExprId(reg_ssbs, size=1)
 
 tco = ExprId(reg_tco, size=1)
 
 uao = ExprId(reg_uao, size=1)
 
 zf_init = ExprId("zf_init", size=1)
 
 nf_init = ExprId("nf_init", size=1)
 
 of_init = ExprId("of_init", size=1)
 
 cf_init = ExprId("cf_init", size=1)
 
 df_init = ExprId("df_init", size=1)
 
 af_init = ExprId("af_init", size=1)
 
 iff_init = ExprId("if_init", size=1)
 
 ff_init = ExprId("ff_init", size=1)
 
 cur_el_init = ExprId("cur_el_init", size=2)
 
 dit_init = ExprId("dit_init", size=1)
 
 pan_init = ExprId("pan_init", size=1)
 
 spsel_init = ExprId("spsel_init", size=1)
 
 ssbs_init = ExprId("ssbs_init", size=1)
 
 tco_init = ExprId("tco_init", size=1)
 
 uao_init = ExprId("uao_init", size=1)
 
list all_regs_ids
 
list all_regs_ids_no_alias = all_regs_ids
 
dictionary attrib_to_regs
 
 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

◆ af

miasm.arch.aarch64.regs.af = ExprId(reg_af, size=1)

◆ af_init

miasm.arch.aarch64.regs.af_init = ExprId("af_init", size=1)

◆ all_regs_ids

list miasm.arch.aarch64.regs.all_regs_ids

◆ all_regs_ids_byname

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

◆ all_regs_ids_init

list miasm.arch.aarch64.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.aarch64.regs.all_regs_ids_no_alias = all_regs_ids

◆ attrib_to_regs

dictionary miasm.arch.aarch64.regs.attrib_to_regs
Initial value:
1 = {
2  'l': all_regs_ids_no_alias,
3  'b': all_regs_ids_no_alias,
4 }

◆ cf

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

◆ cf_init

miasm.arch.aarch64.regs.cf_init = ExprId("cf_init", size=1)

◆ cr_expr

miasm.arch.aarch64.regs.cr_expr

◆ cr_info

miasm.arch.aarch64.regs.cr_info

◆ cr_init

miasm.arch.aarch64.regs.cr_init

◆ cr_str

list miasm.arch.aarch64.regs.cr_str = ["c%d" % i for i in range(0x10)]

◆ cur_el

miasm.arch.aarch64.regs.cur_el = ExprId(reg_cur_el, size=2)

◆ cur_el_init

miasm.arch.aarch64.regs.cur_el_init = ExprId("cur_el_init", size=2)

◆ df

miasm.arch.aarch64.regs.df = ExprId(reg_df, size=1)

◆ df_init

miasm.arch.aarch64.regs.df_init = ExprId("df_init", size=1)

◆ dit

miasm.arch.aarch64.regs.dit = ExprId(reg_dit, size=1)

◆ dit_init

miasm.arch.aarch64.regs.dit_init = ExprId("dit_init", size=1)

◆ exception_flags

miasm.arch.aarch64.regs.exception_flags = ExprId('exception_flags', 32)

◆ ff

miasm.arch.aarch64.regs.ff = ExprId(reg_ff, size=1)

◆ ff_init

miasm.arch.aarch64.regs.ff_init = ExprId("ff_init", size=1)

◆ gpregs32_expr

miasm.arch.aarch64.regs.gpregs32_expr

◆ gpregs32_info

miasm.arch.aarch64.regs.gpregs32_info

◆ gpregs32_init

miasm.arch.aarch64.regs.gpregs32_init

◆ gpregs32_str

list miasm.arch.aarch64.regs.gpregs32_str = ["W%d" % i for i in range(0x1f)] + ["WSP"]

◆ gpregs64_expr

miasm.arch.aarch64.regs.gpregs64_expr

◆ gpregs64_info

miasm.arch.aarch64.regs.gpregs64_info

◆ gpregs64_init

miasm.arch.aarch64.regs.gpregs64_init

◆ gpregs64_str

list miasm.arch.aarch64.regs.gpregs64_str = ["X%d" % i for i in range(0x1E)] + ["LR", "SP"]

◆ gpregsz32_expr

miasm.arch.aarch64.regs.gpregsz32_expr

◆ gpregsz32_info

miasm.arch.aarch64.regs.gpregsz32_info

◆ gpregsz32_init

miasm.arch.aarch64.regs.gpregsz32_init

◆ gpregsz32_str

list miasm.arch.aarch64.regs.gpregsz32_str = ["W%d" % i for i in range(0x1f)] + ["WZR"]

◆ gpregsz64_expr

miasm.arch.aarch64.regs.gpregsz64_expr

◆ gpregsz64_info

miasm.arch.aarch64.regs.gpregsz64_info

◆ gpregsz64_init

miasm.arch.aarch64.regs.gpregsz64_init

◆ gpregsz64_str

list miasm.arch.aarch64.regs.gpregsz64_str = ["X%d" % i for i in range(0x1e)] + ["LR", "XZR"]

◆ iff

miasm.arch.aarch64.regs.iff = ExprId(reg_iff, size=1)

◆ iff_init

miasm.arch.aarch64.regs.iff_init = ExprId("if_init", size=1)

◆ interrupt_num

miasm.arch.aarch64.regs.interrupt_num = ExprId('interrupt_num', 32)

◆ nf

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

◆ nf_init

miasm.arch.aarch64.regs.nf_init = ExprId("nf_init", size=1)

◆ of

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

◆ of_init

miasm.arch.aarch64.regs.of_init = ExprId("of_init", size=1)

◆ pan

miasm.arch.aarch64.regs.pan = ExprId(reg_pan, size=1)

◆ pan_init

miasm.arch.aarch64.regs.pan_init = ExprId("pan_init", size=1)

◆ PC

miasm.arch.aarch64.regs.PC

◆ PC_init

miasm.arch.aarch64.regs.PC_init = ExprId("PC_init", 64)

◆ reg_af

string miasm.arch.aarch64.regs.reg_af = 'af'

◆ reg_cf

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

◆ reg_cur_el

string miasm.arch.aarch64.regs.reg_cur_el = 'cur_el'

◆ reg_df

string miasm.arch.aarch64.regs.reg_df = 'df'

◆ reg_dit

string miasm.arch.aarch64.regs.reg_dit = 'dit'

◆ reg_ff

string miasm.arch.aarch64.regs.reg_ff = 'ff'

◆ reg_iff

string miasm.arch.aarch64.regs.reg_iff = 'if'

◆ reg_nf

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

◆ reg_of

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

◆ reg_pan

string miasm.arch.aarch64.regs.reg_pan = 'pan'

◆ reg_spsel

string miasm.arch.aarch64.regs.reg_spsel = 'spsel'

◆ reg_ssbs

string miasm.arch.aarch64.regs.reg_ssbs = 'ssbs'

◆ reg_tco

string miasm.arch.aarch64.regs.reg_tco = 'tco'

◆ reg_uao

string miasm.arch.aarch64.regs.reg_uao = 'uao'

◆ reg_zf

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

◆ regs_flt_expr

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

◆ regs_init

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

◆ simd08_expr

miasm.arch.aarch64.regs.simd08_expr

◆ simd08_info

miasm.arch.aarch64.regs.simd08_info

◆ simd08_init

miasm.arch.aarch64.regs.simd08_init

◆ simd08_str

list miasm.arch.aarch64.regs.simd08_str = ["B%d" % i for i in range(0x20)]

◆ simd128_expr

miasm.arch.aarch64.regs.simd128_expr

◆ simd128_info

miasm.arch.aarch64.regs.simd128_info

◆ simd128_init

miasm.arch.aarch64.regs.simd128_init

◆ simd128_str

list miasm.arch.aarch64.regs.simd128_str = ["Q%d" % i for i in range(0x20)]

◆ simd16_expr

miasm.arch.aarch64.regs.simd16_expr

◆ simd16_info

miasm.arch.aarch64.regs.simd16_info

◆ simd16_init

miasm.arch.aarch64.regs.simd16_init

◆ simd16_str

list miasm.arch.aarch64.regs.simd16_str = ["H%d" % i for i in range(0x20)]

◆ simd32_expr

miasm.arch.aarch64.regs.simd32_expr

◆ simd32_info

miasm.arch.aarch64.regs.simd32_info

◆ simd32_init

miasm.arch.aarch64.regs.simd32_init

◆ simd32_str

list miasm.arch.aarch64.regs.simd32_str = ["S%d" % i for i in range(0x20)]

◆ simd64_expr

miasm.arch.aarch64.regs.simd64_expr

◆ simd64_info

miasm.arch.aarch64.regs.simd64_info

◆ simd64_init

miasm.arch.aarch64.regs.simd64_init

◆ simd64_str

list miasm.arch.aarch64.regs.simd64_str = ["D%d" % i for i in range(0x20)]

◆ spsel

miasm.arch.aarch64.regs.spsel = ExprId(reg_spsel, size=1)

◆ spsel_init

miasm.arch.aarch64.regs.spsel_init = ExprId("spsel_init", size=1)

◆ ssbs

miasm.arch.aarch64.regs.ssbs = ExprId(reg_ssbs, size=1)

◆ ssbs_init

miasm.arch.aarch64.regs.ssbs_init = ExprId("ssbs_init", size=1)

◆ sysregs_expr

miasm.arch.aarch64.regs.sysregs_expr

◆ sysregs_info

miasm.arch.aarch64.regs.sysregs_info

◆ sysregs_init

miasm.arch.aarch64.regs.sysregs_init

◆ sysregs_str

list miasm.arch.aarch64.regs.sysregs_str
Initial value:
1 = ['ACTLR_EL1', 'ACTLR_EL2', 'ACTLR_EL3', 'AFSR0_EL1',
2  'AFSR0_EL2', 'AFSR0_EL3', 'AFSR1_EL1', 'AFSR1_EL2', 'AFSR1_EL3',
3  'AIDR_EL1', 'AMAIR_EL1', 'AMAIR_EL2', 'AMAIR_EL3', 'AMCFGR_EL0',
4  'AMCG1IDR_EL0', 'AMCGCR_EL0', 'AMCNTENCLR0_EL0', 'AMCNTENCLR1_EL0',
5  'AMCNTENSET0_EL0', 'AMCNTENSET1_EL0', 'AMCR_EL0'] + \

◆ tco

miasm.arch.aarch64.regs.tco = ExprId(reg_tco, size=1)

◆ tco_init

miasm.arch.aarch64.regs.tco_init = ExprId("tco_init", size=1)

◆ uao

miasm.arch.aarch64.regs.uao = ExprId(reg_uao, size=1)

◆ uao_init

miasm.arch.aarch64.regs.uao_init = ExprId("uao_init", size=1)

◆ WZR

miasm.arch.aarch64.regs.WZR

◆ WZR_init

miasm.arch.aarch64.regs.WZR_init = ExprId("WZR_init", 32)

◆ XZR

miasm.arch.aarch64.regs.XZR

◆ XZR_init

miasm.arch.aarch64.regs.XZR_init = ExprId("XZR_init", 64)

◆ zf

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

◆ zf_init

miasm.arch.aarch64.regs.zf_init = ExprId("zf_init", size=1)