miasm
Reverse engineering framework
|
Classes | |
class | ir_msp430 |
Functions | |
def | hex2bcd (val) |
def | bcd2hex (val) |
def | reset_sr_res () |
def | update_flag_cf_inv_zf (a) |
def | update_flag_zf_eq (a, b) |
def | update_flag_zf (a) |
def | update_flag_nf (arg) |
def | update_flag_add_cf (op1, op2, res) |
def | update_flag_add_of (op1, op2, res) |
def | update_flag_sub_cf (op1, op2, res) |
def | update_flag_sub_of (op1, op2, res) |
def | update_flag_arith_sub_zn (arg1, arg2) |
def | update_flag_arith_add_zn (arg1, arg2) |
def | mng_autoinc (a, b, size) |
def | mov_b (ir, instr, a, b) |
def | mov_w (ir, instr, a, b) |
def | and_b (ir, instr, a, b) |
def | and_w (ir, instr, a, b) |
def | bic_b (ir, instr, a, b) |
def | bic_w (ir, instr, a, b) |
def | bis_w (ir, instr, a, b) |
def | bit_w (ir, instr, a, b) |
def | sub_w (ir, instr, a, b) |
def | add_b (ir, instr, a, b) |
def | add_w (ir, instr, a, b) |
def | dadd_w (ir, instr, a, b) |
def | xor_w (ir, instr, a, b) |
def | push_w (ir, instr, a) |
def | call (ir, instr, a) |
def | swpb (ir, instr, a) |
def | cmp_w (ir, instr, a, b) |
def | cmp_b (ir, instr, a, b) |
def | jz (ir, instr, a) |
def | jnz (ir, instr, a) |
def | jl (ir, instr, a) |
def | jc (ir, instr, a) |
def | jnc (ir, instr, a) |
def | jge (ir, instr, a) |
def | jmp (ir, instr, a) |
def | rrc_w (ir, instr, a) |
def | rra_w (ir, instr, a) |
def | sxt (ir, instr, a) |
def | ComposeExprAssign (dst, src) |
Variables | |
dictionary | mnemo_func |
composed_sr = ExprCompose(cf, zf, nf, gie, cpuoff, osc, scg0, scg1, of, res) | |
def miasm.arch.msp430.sem.add_b | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.add_w | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.and_b | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.and_w | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.bcd2hex | ( | val | ) |
def miasm.arch.msp430.sem.bic_b | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.bic_w | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.bis_w | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.bit_w | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.call | ( | ir, | |
instr, | |||
a | |||
) |
def miasm.arch.msp430.sem.cmp_b | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.cmp_w | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.ComposeExprAssign | ( | dst, | |
src | |||
) |
def miasm.arch.msp430.sem.dadd_w | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.hex2bcd | ( | val | ) |
def miasm.arch.msp430.sem.jc | ( | ir, | |
instr, | |||
a | |||
) |
def miasm.arch.msp430.sem.jge | ( | ir, | |
instr, | |||
a | |||
) |
def miasm.arch.msp430.sem.jl | ( | ir, | |
instr, | |||
a | |||
) |
def miasm.arch.msp430.sem.jmp | ( | ir, | |
instr, | |||
a | |||
) |
def miasm.arch.msp430.sem.jnc | ( | ir, | |
instr, | |||
a | |||
) |
def miasm.arch.msp430.sem.jnz | ( | ir, | |
instr, | |||
a | |||
) |
def miasm.arch.msp430.sem.jz | ( | ir, | |
instr, | |||
a | |||
) |
def miasm.arch.msp430.sem.mng_autoinc | ( | a, | |
b, | |||
size | |||
) |
def miasm.arch.msp430.sem.mov_b | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.mov_w | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.push_w | ( | ir, | |
instr, | |||
a | |||
) |
def miasm.arch.msp430.sem.reset_sr_res | ( | ) |
def miasm.arch.msp430.sem.rra_w | ( | ir, | |
instr, | |||
a | |||
) |
def miasm.arch.msp430.sem.rrc_w | ( | ir, | |
instr, | |||
a | |||
) |
def miasm.arch.msp430.sem.sub_w | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
def miasm.arch.msp430.sem.swpb | ( | ir, | |
instr, | |||
a | |||
) |
def miasm.arch.msp430.sem.sxt | ( | ir, | |
instr, | |||
a | |||
) |
def miasm.arch.msp430.sem.update_flag_add_cf | ( | op1, | |
op2, | |||
res | |||
) |
def miasm.arch.msp430.sem.update_flag_add_of | ( | op1, | |
op2, | |||
res | |||
) |
def miasm.arch.msp430.sem.update_flag_arith_add_zn | ( | arg1, | |
arg2 | |||
) |
Compute zf and nf flags for (arg1 + arg2)
def miasm.arch.msp430.sem.update_flag_arith_sub_zn | ( | arg1, | |
arg2 | |||
) |
Compute znp flags for (arg1 - arg2)
def miasm.arch.msp430.sem.update_flag_cf_inv_zf | ( | a | ) |
def miasm.arch.msp430.sem.update_flag_nf | ( | arg | ) |
def miasm.arch.msp430.sem.update_flag_sub_cf | ( | op1, | |
op2, | |||
res | |||
) |
def miasm.arch.msp430.sem.update_flag_sub_of | ( | op1, | |
op2, | |||
res | |||
) |
def miasm.arch.msp430.sem.update_flag_zf | ( | a | ) |
def miasm.arch.msp430.sem.update_flag_zf_eq | ( | a, | |
b | |||
) |
def miasm.arch.msp430.sem.xor_w | ( | ir, | |
instr, | |||
a, | |||
b | |||
) |
miasm.arch.msp430.sem.composed_sr = ExprCompose(cf, zf, nf, gie, cpuoff, osc, scg0, scg1, of, res) |
dictionary miasm.arch.msp430.sem.mnemo_func |