miasm
Reverse engineering framework
|
Public Member Functions | |
def | decode (self, v) |
def | encode (self) |
Public Member Functions inherited from miasm.core.cpu.imm_noarg | |
def | int2expr (self, v) |
def | expr2int (self, e) |
def | fromstring (self, text, loc_db, parser_result=None) |
def | decodeval (self, v) |
def | encodeval (self, v) |
Public Member Functions inherited from miasm.arch.mep.arch.mep_arg | |
def | asm_ast_to_expr (self, arg, loc_db) |
Public Member Functions inherited from miasm.core.cpu.m_arg | |
def | fromstring (self, text, loc_db, parser_result=None) |
def | asm_ast_to_expr (self, arg, loc_db, **kwargs) |
Public Attributes | |
expr | |
value | |
Public Attributes inherited from miasm.core.cpu.imm_noarg | |
expr | |
value | |
Public Attributes inherited from miasm.core.cpu.m_arg | |
expr | |
Additional Inherited Members | |
Static Public Attributes inherited from miasm.arch.mep.arch.mep_imm | |
parser = base_expr | |
Static Public Attributes inherited from miasm.core.cpu.imm_noarg | |
int | intsize = 32 |
tuple | intmask = (1 << intsize) - 1 |
Toshiba MeP-c4 target24 immediate, as used in JMP
def miasm.arch.mep.arch.mep_target24.decode | ( | self, | |
v | |||
) |
Modify the decoded value using the previously decoded imm7.
Reimplemented from miasm.core.cpu.imm_noarg.
Reimplemented in miasm.arch.mep.arch.mep_target24_signed.
def miasm.arch.mep.arch.mep_target24.encode | ( | self | ) |
Modify the encoded value. One part is stored in this object, and the other one in imm7.
Reimplemented from miasm.core.cpu.imm_noarg.
miasm.arch.mep.arch.mep_target24.expr |
miasm.arch.mep.arch.mep_target24.value |