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

Public Member Functions

def decode (self, v)
 
- Public Member Functions inherited from miasm.arch.mep.arch.mep_disp7_align2
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
 
- Public Attributes inherited from miasm.arch.mep.arch.mep_disp7_align2
 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_disp12_align2
int upper_bound = 0xFFF
 
- Static Public Attributes inherited from miasm.arch.mep.arch.mep_disp7_align2
int upper_bound = 0x7F
 
int bits_shift = 1
 
- 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
 

Member Function Documentation

◆ decode()

def miasm.arch.mep.arch.mep_disp12_align2_signed.decode (   self,
  v 
)
Perform sign extension.

Reimplemented from miasm.arch.mep.arch.mep_disp7_align2.

Member Data Documentation

◆ expr

miasm.arch.mep.arch.mep_disp12_align2_signed.expr

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