miasm
Reverse engineering framework
miasm.arch.msp430.arch.mn_msp430 Class Reference
Inheritance diagram for miasm.arch.msp430.arch.mn_msp430:
Collaboration diagram for miasm.arch.msp430.arch.mn_msp430:

Public Member Functions

def getpc (cls, attrib)
 
def getsp (cls, attrib)
 
def check_mnemo (cls, fields)
 
def getbits (cls, bs, attrib, start, n)
 
def getbytes (cls, bs, offset, l=1)
 
def decoded2bytes (self, result)
 
def gen_modes (cls, subcls, name, bases, dct, fields)
 
def additional_info (self)
 
def getmn (cls, name)
 
def reset_class (self)
 
def getnextflow (self, loc_db)
 
- Public Member Functions inherited from miasm.core.cpu.cls_mn
def guess_mnemo (cls, bs, attrib, pre_dis_info, offset)
 
def init_class (self)
 
def add_pre_dis_info (self, prefix=None)
 
def pre_dis (cls, v_o, attrib, offset)
 
def post_dis (self)
 
def mod_fields (cls, fields)
 
def dis (cls, bs_o, mode_o=None, offset=0)
 
def fromstring (cls, text, loc_db, mode=None)
 
def dup_info (self, infos)
 
def get_cls_instance (cls, cc, mode, infos=None)
 
def asm (cls, instr, loc_db=None)
 
def filter_asm_candidates (cls, instr, candidates)
 
def value (self, mode)
 
def encodefields (self, decoded)
 
def gen_args (self, args)
 
def args2str (self)
 
def __str__ (self)
 
def parse_prefix (self, v)
 
def set_dst_symbol (self, loc_db)
 
def getdstflow (self, loc_db)
 
- Public Member Functions inherited from miasm.core.cpu.metamn
def __new__ (mcs, name, bases, dct)
 

Static Public Attributes

string name = "msp430"
 
 regs = regs_module
 
list all_mn = []
 
dictionary bintree = {}
 
int num = 0
 
int delayslot = 0
 
dictionary pc = {None: PC}
 
dictionary sp = {None: SP}
 
 all_mn_mode = defaultdict(list)
 
 all_mn_name = defaultdict(list)
 
 all_mn_inst = defaultdict(list)
 
 instruction = instruction_msp430
 
int max_instruction_len = 8
 
- Static Public Attributes inherited from miasm.core.cpu.cls_mn
list args_symb = []
 
 instruction = instruction
 
int alignment = 1
 

Additional Inherited Members

- Public Attributes inherited from miasm.core.cpu.cls_mn
 args
 
 fields_order
 
 to_decode
 
 args_symb
 

Member Function Documentation

◆ additional_info()

def miasm.arch.msp430.arch.mn_msp430.additional_info (   self)

◆ check_mnemo()

def miasm.arch.msp430.arch.mn_msp430.check_mnemo (   cls,
  fields 
)

Reimplemented from miasm.core.cpu.cls_mn.

◆ decoded2bytes()

def miasm.arch.msp430.arch.mn_msp430.decoded2bytes (   self,
  result 
)

Reimplemented from miasm.core.cpu.cls_mn.

Here is the caller graph for this function:

◆ gen_modes()

def miasm.arch.msp430.arch.mn_msp430.gen_modes (   cls,
  subcls,
  name,
  bases,
  dct,
  fields 
)

◆ getbits()

def miasm.arch.msp430.arch.mn_msp430.getbits (   cls,
  bs,
  attrib,
  start,
  n 
)

Reimplemented from miasm.core.cpu.cls_mn.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getbytes()

def miasm.arch.msp430.arch.mn_msp430.getbytes (   cls,
  bs,
  offset,
  l = 1 
)

Reimplemented from miasm.core.cpu.cls_mn.

Here is the caller graph for this function:

◆ getmn()

def miasm.arch.msp430.arch.mn_msp430.getmn (   cls,
  name 
)

◆ getnextflow()

def miasm.arch.msp430.arch.mn_msp430.getnextflow (   self,
  loc_db 
)

◆ getpc()

def miasm.arch.msp430.arch.mn_msp430.getpc (   cls,
  attrib 
)

◆ getsp()

def miasm.arch.msp430.arch.mn_msp430.getsp (   cls,
  attrib 
)

◆ reset_class()

def miasm.arch.msp430.arch.mn_msp430.reset_class (   self)

Reimplemented from miasm.core.cpu.cls_mn.

Member Data Documentation

◆ all_mn

list miasm.arch.msp430.arch.mn_msp430.all_mn = []
static

◆ all_mn_inst

miasm.arch.msp430.arch.mn_msp430.all_mn_inst = defaultdict(list)
static

◆ all_mn_mode

miasm.arch.msp430.arch.mn_msp430.all_mn_mode = defaultdict(list)
static

◆ all_mn_name

miasm.arch.msp430.arch.mn_msp430.all_mn_name = defaultdict(list)
static

◆ bintree

dictionary miasm.arch.msp430.arch.mn_msp430.bintree = {}
static

◆ delayslot

int miasm.arch.msp430.arch.mn_msp430.delayslot = 0
static

◆ instruction

miasm.arch.msp430.arch.mn_msp430.instruction = instruction_msp430
static

◆ max_instruction_len

int miasm.arch.msp430.arch.mn_msp430.max_instruction_len = 8
static

◆ name

string miasm.arch.msp430.arch.mn_msp430.name = "msp430"
static

◆ num

int miasm.arch.msp430.arch.mn_msp430.num = 0
static

◆ pc

dictionary miasm.arch.msp430.arch.mn_msp430.pc = {None: PC}
static

◆ regs

miasm.arch.msp430.arch.mn_msp430.regs = regs_module
static

◆ sp

dictionary miasm.arch.msp430.arch.mn_msp430.sp = {None: SP}
static

The documentation for this class was generated from the following file: