miasm
Reverse engineering framework
miasm.arch.x86.arch.bs_cond_imm Class Reference
Inheritance diagram for miasm.arch.x86.arch.bs_cond_imm:
Collaboration diagram for miasm.arch.x86.arch.bs_cond_imm:

Public Member Functions

def fromstring (self, text, loc_db, parser_result=None)
 
def flen (cls, mode, v)
 
def getmaxlen (self)
 
def encode (self)
 
def decode (self, v)
 
- Public Member Functions inherited from miasm.core.cpu.bsi
def __init__ (self, parent, strbits, l, cls, fname, order, lmask, fbits, fmask, value, flen, **kargs)
 
def clone (self)
 
def __hash__ (self)
 
- Public Member Functions inherited from miasm.arch.x86.arch.x86_arg
def asm_ast_to_expr (self, value, loc_db, size_hint=None, fixed_size=None)
 
- Public Member Functions inherited from miasm.core.cpu.m_arg
def asm_ast_to_expr (self, arg, loc_db, **kwargs)
 

Public Attributes

 expr
 
 l
 
 value
 
- Public Attributes inherited from miasm.arch.x86.arch.bs_cond_scale
 value
 
 l
 
- Public Attributes inherited from miasm.core.cpu.bsi
 parent
 
 strbits
 
 l
 
 cls
 
 fname
 
 order
 
 fbits
 
 fmask
 
 flen
 
 value
 
 kargs
 
- Public Attributes inherited from miasm.core.cpu.m_arg
 expr
 

Static Public Attributes

 parser = base_expr
 
int max_size = 32
 
- Static Public Attributes inherited from miasm.arch.x86.arch.bs_cond_scale
int ll = 2
 

Additional Inherited Members

- Properties inherited from miasm.core.cpu.bsi
 lmask = property(lambda self:(1 << self.l) - 1)
 

Member Function Documentation

◆ decode()

def miasm.arch.x86.arch.bs_cond_imm.decode (   self,
  v 
)

Reimplemented from miasm.arch.x86.arch.bs_cond_scale.

Reimplemented in miasm.arch.x86.arch.bs_s08, and miasm.arch.x86.arch.bs_rel_off.

Here is the call graph for this function:

◆ encode()

def miasm.arch.x86.arch.bs_cond_imm.encode (   self)

Reimplemented from miasm.arch.x86.arch.bs_cond_scale.

Reimplemented in miasm.arch.x86.arch.bs_s08, and miasm.arch.x86.arch.bs_rel_off.

Here is the call graph for this function:

◆ flen()

def miasm.arch.x86.arch.bs_cond_imm.flen (   cls,
  mode,
  v 
)

◆ fromstring()

def miasm.arch.x86.arch.bs_cond_imm.fromstring (   self,
  text,
  loc_db,
  parser_result = None 
)

Reimplemented from miasm.core.cpu.m_arg.

Reimplemented in miasm.arch.x86.arch.bs_rel_off.

◆ getmaxlen()

def miasm.arch.x86.arch.bs_cond_imm.getmaxlen (   self)

Member Data Documentation

◆ expr

miasm.arch.x86.arch.bs_cond_imm.expr

◆ l

miasm.arch.x86.arch.bs_cond_imm.l

◆ max_size

int miasm.arch.x86.arch.bs_cond_imm.max_size = 32
static

◆ parser

miasm.arch.x86.arch.bs_cond_imm.parser = base_expr
static

◆ value

miasm.arch.x86.arch.bs_cond_imm.value

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