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

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
 
 value
 
- Public Attributes inherited from miasm.core.cpu.m_arg
 expr
 

Static Public Attributes

 parser = deref_reg_parser
 

Detailed Description

Generic Toshiba MeP-c4 dereferenced register

Note:
    - the arg2str() method could be defined to change the output string

Member Function Documentation

◆ decode()

def miasm.arch.mep.arch.mep_deref_reg.decode (   self,
  v 
)
Transform the decoded value to a ExprMem(ExprId()) expression

Reimplemented in miasm.arch.mep.arch.mep_deref_sp_offset.

◆ encode()

def miasm.arch.mep.arch.mep_deref_reg.encode (   self)
Ensure that we have a ExprMem(ExprId()) expression, and return the
register value.

Reimplemented in miasm.arch.mep.arch.mep_deref_sp_offset.

Member Data Documentation

◆ expr

miasm.arch.mep.arch.mep_deref_reg.expr

◆ parser

miasm.arch.mep.arch.mep_deref_reg.parser = deref_reg_parser
static

◆ value

miasm.arch.mep.arch.mep_deref_reg.value

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