miasm
Reverse engineering framework
|
Variables | |
list | regs16_str = ["PC", "SP", "SR"] + ["R%d" % i for i in range(3, 16)] |
list | regs16_expr = [ExprId(x, 16) for x in regs16_str] |
exception_flags = ExprId('exception_flags', 32) | |
gpregs = reg_info(regs16_str, regs16_expr) | |
list | PC = regs16_expr[0] |
list | SP = regs16_expr[1] |
list | SR = regs16_expr[2] |
list | R3 = regs16_expr[3] |
list | R4 = regs16_expr[4] |
list | R5 = regs16_expr[5] |
list | R6 = regs16_expr[6] |
list | R7 = regs16_expr[7] |
list | R8 = regs16_expr[8] |
list | R9 = regs16_expr[9] |
list | R10 = regs16_expr[10] |
list | R11 = regs16_expr[11] |
list | R12 = regs16_expr[12] |
list | R13 = regs16_expr[13] |
list | R14 = regs16_expr[14] |
list | R15 = regs16_expr[15] |
PC_init = ExprId("PC_init", 16) | |
SP_init = ExprId("SP_init", 16) | |
SR_init = ExprId("SR_init", 16) | |
R3_init = ExprId("R3_init", 16) | |
R4_init = ExprId("R4_init", 16) | |
R5_init = ExprId("R5_init", 16) | |
R6_init = ExprId("R6_init", 16) | |
R7_init = ExprId("R7_init", 16) | |
R8_init = ExprId("R8_init", 16) | |
R9_init = ExprId("R9_init", 16) | |
R10_init = ExprId("R10_init", 16) | |
R11_init = ExprId("R11_init", 16) | |
R12_init = ExprId("R12_init", 16) | |
R13_init = ExprId("R13_init", 16) | |
R14_init = ExprId("R14_init", 16) | |
R15_init = ExprId("R15_init", 16) | |
string | reg_zf = 'zf' |
string | reg_nf = 'nf' |
string | reg_of = 'of' |
string | reg_cf = 'cf' |
string | reg_cpuoff = 'cpuoff' |
string | reg_gie = 'gie' |
string | reg_osc = 'osc' |
string | reg_scg0 = 'scg0' |
string | reg_scg1 = 'scg1' |
string | reg_res = 'res' |
zf = ExprId(reg_zf, size=1) | |
nf = ExprId(reg_nf, size=1) | |
of = ExprId(reg_of, size=1) | |
cf = ExprId(reg_cf, size=1) | |
cpuoff = ExprId(reg_cpuoff, size=1) | |
gie = ExprId(reg_gie, size=1) | |
osc = ExprId(reg_osc, size=1) | |
scg0 = ExprId(reg_scg0, size=1) | |
scg1 = ExprId(reg_scg1, size=1) | |
res = ExprId(reg_res, size=7) | |
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) | |
cpuoff_init = ExprId("cpuoff_init", size=1) | |
gie_init = ExprId("gie_init", size=1) | |
osc_init = ExprId("osc_init", size=1) | |
scg0_init = ExprId("scg0_init", size=1) | |
scg1_init = ExprId("scg1_init", size=1) | |
res_init = ExprId("res_init", size=7) | |
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 |
dictionary | regs_init = {} |
list | regs_flt_expr = [] |
list miasm.arch.msp430.regs.all_regs_ids |
miasm.arch.msp430.regs.all_regs_ids_byname = dict([(x.name, x) for x in all_regs_ids]) |
list miasm.arch.msp430.regs.all_regs_ids_init |
list miasm.arch.msp430.regs.all_regs_ids_no_alias = all_regs_ids |
dictionary miasm.arch.msp430.regs.attrib_to_regs |
miasm.arch.msp430.regs.cf_init = ExprId("cf_init", size=1) |
miasm.arch.msp430.regs.cpuoff = ExprId(reg_cpuoff, size=1) |
miasm.arch.msp430.regs.cpuoff_init = ExprId("cpuoff_init", size=1) |
miasm.arch.msp430.regs.exception_flags = ExprId('exception_flags', 32) |
miasm.arch.msp430.regs.gie_init = ExprId("gie_init", size=1) |
miasm.arch.msp430.regs.gpregs = reg_info(regs16_str, regs16_expr) |
miasm.arch.msp430.regs.nf_init = ExprId("nf_init", size=1) |
miasm.arch.msp430.regs.of_init = ExprId("of_init", size=1) |
miasm.arch.msp430.regs.osc_init = ExprId("osc_init", size=1) |
list miasm.arch.msp430.regs.PC = regs16_expr[0] |
miasm.arch.msp430.regs.PC_init = ExprId("PC_init", 16) |
list miasm.arch.msp430.regs.R10 = regs16_expr[10] |
miasm.arch.msp430.regs.R10_init = ExprId("R10_init", 16) |
list miasm.arch.msp430.regs.R11 = regs16_expr[11] |
miasm.arch.msp430.regs.R11_init = ExprId("R11_init", 16) |
list miasm.arch.msp430.regs.R12 = regs16_expr[12] |
miasm.arch.msp430.regs.R12_init = ExprId("R12_init", 16) |
list miasm.arch.msp430.regs.R13 = regs16_expr[13] |
miasm.arch.msp430.regs.R13_init = ExprId("R13_init", 16) |
list miasm.arch.msp430.regs.R14 = regs16_expr[14] |
miasm.arch.msp430.regs.R14_init = ExprId("R14_init", 16) |
list miasm.arch.msp430.regs.R15 = regs16_expr[15] |
miasm.arch.msp430.regs.R15_init = ExprId("R15_init", 16) |
list miasm.arch.msp430.regs.R3 = regs16_expr[3] |
miasm.arch.msp430.regs.R3_init = ExprId("R3_init", 16) |
list miasm.arch.msp430.regs.R4 = regs16_expr[4] |
miasm.arch.msp430.regs.R4_init = ExprId("R4_init", 16) |
list miasm.arch.msp430.regs.R5 = regs16_expr[5] |
miasm.arch.msp430.regs.R5_init = ExprId("R5_init", 16) |
list miasm.arch.msp430.regs.R6 = regs16_expr[6] |
miasm.arch.msp430.regs.R6_init = ExprId("R6_init", 16) |
list miasm.arch.msp430.regs.R7 = regs16_expr[7] |
miasm.arch.msp430.regs.R7_init = ExprId("R7_init", 16) |
list miasm.arch.msp430.regs.R8 = regs16_expr[8] |
miasm.arch.msp430.regs.R8_init = ExprId("R8_init", 16) |
list miasm.arch.msp430.regs.R9 = regs16_expr[9] |
miasm.arch.msp430.regs.R9_init = ExprId("R9_init", 16) |
string miasm.arch.msp430.regs.reg_cf = 'cf' |
string miasm.arch.msp430.regs.reg_cpuoff = 'cpuoff' |
string miasm.arch.msp430.regs.reg_gie = 'gie' |
string miasm.arch.msp430.regs.reg_nf = 'nf' |
string miasm.arch.msp430.regs.reg_of = 'of' |
string miasm.arch.msp430.regs.reg_osc = 'osc' |
string miasm.arch.msp430.regs.reg_res = 'res' |
string miasm.arch.msp430.regs.reg_scg0 = 'scg0' |
string miasm.arch.msp430.regs.reg_scg1 = 'scg1' |
string miasm.arch.msp430.regs.reg_zf = 'zf' |
list miasm.arch.msp430.regs.regs16_expr = [ExprId(x, 16) for x in regs16_str] |
list miasm.arch.msp430.regs.regs_flt_expr = [] |
dictionary miasm.arch.msp430.regs.regs_init = {} |
miasm.arch.msp430.regs.res_init = ExprId("res_init", size=7) |
miasm.arch.msp430.regs.scg0_init = ExprId("scg0_init", size=1) |
miasm.arch.msp430.regs.scg1_init = ExprId("scg1_init", size=1) |
list miasm.arch.msp430.regs.SP = regs16_expr[1] |
miasm.arch.msp430.regs.SP_init = ExprId("SP_init", 16) |
list miasm.arch.msp430.regs.SR = regs16_expr[2] |
miasm.arch.msp430.regs.SR_init = ExprId("SR_init", 16) |
miasm.arch.msp430.regs.zf_init = ExprId("zf_init", size=1) |