miasm
Reverse engineering framework
|
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 | |
def miasm.arch.msp430.arch.mn_msp430.additional_info | ( | self | ) |
def miasm.arch.msp430.arch.mn_msp430.check_mnemo | ( | cls, | |
fields | |||
) |
Reimplemented from miasm.core.cpu.cls_mn.
def miasm.arch.msp430.arch.mn_msp430.decoded2bytes | ( | self, | |
result | |||
) |
def miasm.arch.msp430.arch.mn_msp430.gen_modes | ( | cls, | |
subcls, | |||
name, | |||
bases, | |||
dct, | |||
fields | |||
) |
def miasm.arch.msp430.arch.mn_msp430.getbits | ( | cls, | |
bs, | |||
attrib, | |||
start, | |||
n | |||
) |
Reimplemented from miasm.core.cpu.cls_mn.
def miasm.arch.msp430.arch.mn_msp430.getbytes | ( | cls, | |
bs, | |||
offset, | |||
l = 1 |
|||
) |
def miasm.arch.msp430.arch.mn_msp430.getmn | ( | cls, | |
name | |||
) |
def miasm.arch.msp430.arch.mn_msp430.getnextflow | ( | self, | |
loc_db | |||
) |
def miasm.arch.msp430.arch.mn_msp430.getpc | ( | cls, | |
attrib | |||
) |
def miasm.arch.msp430.arch.mn_msp430.getsp | ( | cls, | |
attrib | |||
) |
def miasm.arch.msp430.arch.mn_msp430.reset_class | ( | self | ) |
Reimplemented from miasm.core.cpu.cls_mn.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |