miasm
Reverse engineering framework
miasm.arch.mep.arch.mep_deref_sp_offset Class Reference
Inheritance diagram for miasm.arch.mep.arch.mep_deref_sp_offset:
Collaboration diagram for miasm.arch.mep.arch.mep_deref_sp_offset:

Public Member Functions

def decode (self, v)
 
def encode (self)
 
- 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
 
- Public Attributes inherited from miasm.arch.mep.arch.mep_deref_reg
 expr
 
 value
 
- Public Attributes inherited from miasm.core.cpu.m_arg
 expr
 

Static Public Attributes

 implicit_reg = SP
 
 parser = offset_deref_reg_parser
 
- Static Public Attributes inherited from miasm.arch.mep.arch.mep_deref_reg
 parser = deref_reg_parser
 

Detailed Description

Dummy Toshiba MeP-c4 dereferenced register that represents SP, plus an
offset.
Note: it is as generic as possible to ease its use in different instructions

Member Function Documentation

◆ decode()

def miasm.arch.mep.arch.mep_deref_sp_offset.decode (   self,
  v 
)
Modify the decoded value using the previously decoded
immediate.

Reimplemented from miasm.arch.mep.arch.mep_deref_reg.

◆ encode()

def miasm.arch.mep.arch.mep_deref_sp_offset.encode (   self)
Modify the encoded value. One part is stored in this object, and
the other one in a parent immediate.

Reimplemented from miasm.arch.mep.arch.mep_deref_reg.

Member Data Documentation

◆ expr

miasm.arch.mep.arch.mep_deref_sp_offset.expr

◆ implicit_reg

miasm.arch.mep.arch.mep_deref_sp_offset.implicit_reg = SP
static

◆ parser

miasm.arch.mep.arch.mep_deref_sp_offset.parser = offset_deref_reg_parser
static

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