![]() |
miasm
Reverse engineering framework
|


Public Member Functions | |
| def | getpc (cls, attrib) |
| def | getsp (cls, attrib) |
| def | v_opmode (self) |
| def | v_admode (self) |
| def | additional_info (self) |
| def | check_mnemo (cls, fields) |
| def | getmn (cls, name) |
| def | mod_fields (cls, fields) |
| def | gen_modes (cls, subcls, name, bases, dct, fields) |
| def | fromstring (cls, text, loc_db, mode) |
| def | pre_dis (cls, v, mode, offset) |
| def | get_cls_instance (cls, cc, mode, infos=None) |
| def | post_dis (self) |
| def | dup_info (self, infos) |
| def | reset_class (self) |
| def | add_pre_dis_info (self, pre_dis_info=None) |
| def | post_asm (self, v) |
| def | gen_prefix (self) |
| def | encodefields (self, decoded) |
| def | getnextflow (self, loc_db) |
| def | ir_pre_instruction (self) |
| def | filter_asm_candidates (cls, instr, candidates) |
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 | getbits (cls, bs, attrib, offset_b, l) |
| def | getbytes (cls, bs, offset, l) |
| def | dis (cls, bs_o, mode_o=None, offset=0) |
| def | asm (cls, instr, loc_db=None) |
| def | value (self, mode) |
| 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) |
Public Attributes | |
| opmode | |
| admode | |
| prefix | |
Public Attributes inherited from miasm.core.cpu.cls_mn | |
| args | |
| fields_order | |
| to_decode | |
| args_symb | |
Static Public Attributes | |
| string | name = "x86" |
| bool | prefix_op_size = False |
| bool | prefix_ad_size = False |
| regs = regs_module | |
| list | all_mn = [] |
| all_mn_mode = defaultdict(list) | |
| all_mn_name = defaultdict(list) | |
| all_mn_inst = defaultdict(list) | |
| dictionary | bintree = {} |
| int | num = 0 |
| int | delayslot = 0 |
| dictionary | pc = {16: IP, 32: EIP, 64: RIP} |
| dictionary | sp = {16: SP, 32: ESP, 64: RSP} |
| instruction = instruction_x86 | |
| int | max_instruction_len = 15 |
Static Public Attributes inherited from miasm.core.cpu.cls_mn | |
| list | args_symb = [] |
| instruction = instruction | |
| int | alignment = 1 |
| def miasm.arch.x86.arch.mn_x86.add_pre_dis_info | ( | self, | |
pre_dis_info = None |
|||
| ) |
Reimplemented from miasm.core.cpu.cls_mn.
| def miasm.arch.x86.arch.mn_x86.additional_info | ( | self | ) |

| def miasm.arch.x86.arch.mn_x86.check_mnemo | ( | cls, | |
| fields | |||
| ) |
Reimplemented from miasm.core.cpu.cls_mn.
| def miasm.arch.x86.arch.mn_x86.dup_info | ( | self, | |
| infos | |||
| ) |
Reimplemented from miasm.core.cpu.cls_mn.
| def miasm.arch.x86.arch.mn_x86.encodefields | ( | self, | |
| decoded | |||
| ) |
Reimplemented from miasm.core.cpu.cls_mn.


| def miasm.arch.x86.arch.mn_x86.filter_asm_candidates | ( | cls, | |
| instr, | |||
| candidates | |||
| ) |
Reimplemented from miasm.core.cpu.cls_mn.


| def miasm.arch.x86.arch.mn_x86.fromstring | ( | cls, | |
| text, | |||
| loc_db, | |||
| mode | |||
| ) |
| def miasm.arch.x86.arch.mn_x86.gen_modes | ( | cls, | |
| subcls, | |||
| name, | |||
| bases, | |||
| dct, | |||
| fields | |||
| ) |
| def miasm.arch.x86.arch.mn_x86.gen_prefix | ( | self | ) |


| def miasm.arch.x86.arch.mn_x86.get_cls_instance | ( | cls, | |
| cc, | |||
| mode, | |||
infos = None |
|||
| ) |
| def miasm.arch.x86.arch.mn_x86.getmn | ( | cls, | |
| name | |||
| ) |
| def miasm.arch.x86.arch.mn_x86.getnextflow | ( | self, | |
| loc_db | |||
| ) |
| def miasm.arch.x86.arch.mn_x86.getpc | ( | cls, | |
| attrib | |||
| ) |
| def miasm.arch.x86.arch.mn_x86.getsp | ( | cls, | |
| attrib | |||
| ) |
| def miasm.arch.x86.arch.mn_x86.ir_pre_instruction | ( | self | ) |
| def miasm.arch.x86.arch.mn_x86.mod_fields | ( | cls, | |
| fields | |||
| ) |
Reimplemented from miasm.core.cpu.cls_mn.
| def miasm.arch.x86.arch.mn_x86.post_asm | ( | self, | |
| v | |||
| ) |
| def miasm.arch.x86.arch.mn_x86.post_dis | ( | self | ) |
Reimplemented from miasm.core.cpu.cls_mn.
| def miasm.arch.x86.arch.mn_x86.pre_dis | ( | cls, | |
| v, | |||
| mode, | |||
| offset | |||
| ) |
| def miasm.arch.x86.arch.mn_x86.reset_class | ( | self | ) |
Reimplemented from miasm.core.cpu.cls_mn.
| def miasm.arch.x86.arch.mn_x86.v_admode | ( | self | ) |

| def miasm.arch.x86.arch.mn_x86.v_opmode | ( | self | ) |


| miasm.arch.x86.arch.mn_x86.admode |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| miasm.arch.x86.arch.mn_x86.opmode |
|
static |
| miasm.arch.x86.arch.mn_x86.prefix |
|
static |
|
static |
|
static |
|
static |