![]() |
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 code20 immediate, as used in DSP1
| def miasm.arch.mep.arch.mep_code20.decode | ( | self, | |
| v | |||
| ) |
Modify the decoded value using the previously decoded imm4_noarg.
Reimplemented from miasm.core.cpu.imm_noarg.
| def miasm.arch.mep.arch.mep_code20.encode | ( | self | ) |
Modify the encoded value. One part is stored in this object, and the other one in imm4_noarg.
Reimplemented from miasm.core.cpu.imm_noarg.
| miasm.arch.mep.arch.mep_code20.expr |
| miasm.arch.mep.arch.mep_code20.value |