miasm
Reverse engineering framework
arch.py File Reference

Classes

class  miasm.arch.msp430.arch.msp430_arg
 
class  miasm.arch.msp430.arch.additional_info
 
class  miasm.arch.msp430.arch.instruction_msp430
 
class  miasm.arch.msp430.arch.mn_msp430
 
class  miasm.arch.msp430.arch.bw_mn
 
class  miasm.arch.msp430.arch.msp430_sreg_arg
 
class  miasm.arch.msp430.arch.msp430_dreg_arg
 
class  miasm.arch.msp430.arch.bs_cond_off_s
 
class  miasm.arch.msp430.arch.bs_cond_off_d
 
class  miasm.arch.msp430.arch.msp430_offs
 

Namespaces

 miasm.arch.msp430.arch
 

Functions

def miasm.arch.msp430.arch.cb_deref_nooff (tokens)
 
def miasm.arch.msp430.arch.cb_deref_pinc (tokens)
 
def miasm.arch.msp430.arch.cb_deref_off (tokens)
 
def miasm.arch.msp430.arch.cb_expr (tokens)
 
def miasm.arch.msp430.arch.addop (name, fields, args=None, alias=False)
 

Variables

 miasm.arch.msp430.arch.log = logging.getLogger("msp430dis")
 
 miasm.arch.msp430.arch.console_handler = logging.StreamHandler()
 
list miasm.arch.msp430.arch.conditional_branch
 
list miasm.arch.msp430.arch.unconditional_branch = ['jmp']
 
 miasm.arch.msp430.arch.ARO = Suppress("@")
 
 miasm.arch.msp430.arch.LPARENT = Suppress("(")
 
 miasm.arch.msp430.arch.RPARENT = Suppress(")")
 
 miasm.arch.msp430.arch.PINC = Suppress("+")
 
tuple miasm.arch.msp430.arch.deref_nooff = (ARO + base_expr).setParseAction(cb_deref_nooff)
 
tuple miasm.arch.msp430.arch.deref_pinc = (ARO + base_expr + PINC).setParseAction(cb_deref_pinc)
 
tuple miasm.arch.msp430.arch.deref_off = (base_expr + LPARENT + gpregs.parser + RPARENT).setParseAction(cb_deref_off)
 
tuple miasm.arch.msp430.arch.sreg_p = (deref_pinc | deref_nooff | deref_off | base_expr).setParseAction(cb_expr)
 
 miasm.arch.msp430.arch.mode_msp430 = None
 
 miasm.arch.msp430.arch.off_s = bs(l=16, order=-10, cls=(bs_cond_off_s,), fname = "off_s")
 
 miasm.arch.msp430.arch.off_d = bs(l=16, order=-10, cls=(bs_cond_off_d,), fname = "off_d")
 
 miasm.arch.msp430.arch.a_s = bs(l=2, order=-4, fname='a_s')
 
 miasm.arch.msp430.arch.a_d = bs(l=1, order=-6, fname='a_d')
 
 miasm.arch.msp430.arch.a_d2 = bs(l=2, order=-2, fname='a_d')
 
 miasm.arch.msp430.arch.sreg = bs(l=4, order=-3, cls=(msp430_sreg_arg,), fname='sreg')
 
 miasm.arch.msp430.arch.dreg = bs(l=4, order=-5, cls=(msp430_dreg_arg,), fname='dreg')
 
 miasm.arch.msp430.arch.bw = bw_mn(l=1, order=-10, mn_mod=['.w', '.b'], fname='size')
 
 miasm.arch.msp430.arch.bs_f1
 
 miasm.arch.msp430.arch.bs_f2
 
 miasm.arch.msp430.arch.bs_f2_nobw
 
 miasm.arch.msp430.arch.offimm = bs(l=10, cls=(msp430_offs,), fname="offs", order=-1)
 
 miasm.arch.msp430.arch.bs_f2_jcc