miasm
Reverse engineering framework
miasm.arch.sh4.arch.mn_sh4 Class Reference
Inheritance diagram for miasm.arch.sh4.arch.mn_sh4:
Collaboration diagram for miasm.arch.sh4.arch.mn_sh4:

Public Member Functions

def additional_info (self)
 
def getbits (cls, bs, attrib, start, n)
 
def getbytes (cls, bs, offset, l=1)
 
def check_mnemo (cls, fields)
 
def getmn (cls, name)
 
def gen_modes (cls, subcls, name, bases, dct, fields)
 
def value (self, mode)
 
- Public Member Functions inherited from miasm.core.cpu.cls_mn
def guess_mnemo (cls, bs, attrib, pre_dis_info, offset)
 
def reset_class (self)
 
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 encodefields (self, decoded)
 
def decoded2bytes (self, result)
 
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

dictionary bintree = {}
 
 regs = regs_module
 
int num = 0
 
list all_mn = []
 
 all_mn_mode = defaultdict(list)
 
 all_mn_name = defaultdict(list)
 
 all_mn_inst = defaultdict(list)
 
 pc = PC
 
int delayslot = 0
 
 instruction = instruction_sh4
 
- 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.sh4.arch.mn_sh4.additional_info (   self)

◆ check_mnemo()

def miasm.arch.sh4.arch.mn_sh4.check_mnemo (   cls,
  fields 
)

Reimplemented from miasm.core.cpu.cls_mn.

◆ gen_modes()

def miasm.arch.sh4.arch.mn_sh4.gen_modes (   cls,
  subcls,
  name,
  bases,
  dct,
  fields 
)

◆ getbits()

def miasm.arch.sh4.arch.mn_sh4.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.sh4.arch.mn_sh4.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.sh4.arch.mn_sh4.getmn (   cls,
  name 
)

◆ value()

def miasm.arch.sh4.arch.mn_sh4.value (   self,
  mode 
)

Reimplemented from miasm.core.cpu.cls_mn.

Here is the caller graph for this function:

Member Data Documentation

◆ all_mn

list miasm.arch.sh4.arch.mn_sh4.all_mn = []
static

◆ all_mn_inst

miasm.arch.sh4.arch.mn_sh4.all_mn_inst = defaultdict(list)
static

◆ all_mn_mode

miasm.arch.sh4.arch.mn_sh4.all_mn_mode = defaultdict(list)
static

◆ all_mn_name

miasm.arch.sh4.arch.mn_sh4.all_mn_name = defaultdict(list)
static

◆ bintree

dictionary miasm.arch.sh4.arch.mn_sh4.bintree = {}
static

◆ delayslot

int miasm.arch.sh4.arch.mn_sh4.delayslot = 0
static

◆ instruction

miasm.arch.sh4.arch.mn_sh4.instruction = instruction_sh4
static

◆ num

int miasm.arch.sh4.arch.mn_sh4.num = 0
static

◆ pc

miasm.arch.sh4.arch.mn_sh4.pc = PC
static

◆ regs

miasm.arch.sh4.arch.mn_sh4.regs = regs_module
static

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