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

Static Public Attributes

 parser = base_expr
 
int intsize = 16
 
tuple intmask = (1 << intsize) - 1
 
 int2expr = lambda self, x: ExprInt(sign_ext(x, self.l, 32), 32)
 
- Static Public Attributes inherited from miasm.core.cpu.int32_noarg
int intsize = 32
 
tuple intmask = (1 << intsize) - 1
 
- Static Public Attributes inherited from miasm.core.cpu.imm_noarg
int intsize = 32
 
tuple intmask = (1 << intsize) - 1
 

Additional Inherited Members

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

Detailed Description

Toshiba MeP-c4 signed 16 bits immediate.

Member Data Documentation

◆ int2expr

miasm.arch.mep.arch.mep_imm16_signed.int2expr = lambda self, x: ExprInt(sign_ext(x, self.l, 32), 32)
static

◆ intmask

tuple miasm.arch.mep.arch.mep_imm16_signed.intmask = (1 << intsize) - 1
static

◆ intsize

int miasm.arch.mep.arch.mep_imm16_signed.intsize = 16
static

◆ parser

miasm.arch.mep.arch.mep_imm16_signed.parser = base_expr
static

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