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

Public Member Functions

def fromstring (self, text, loc_db, parser_result=None)
 
def flen (cls, mode, v)
 
def encode (self)
 
def decode (self, v)
 
- Public Member Functions inherited from miasm.arch.x86.arch.bs_cond_imm
def getmaxlen (self)
 
- 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_imm
 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
 
- Static Public Attributes inherited from miasm.arch.x86.arch.bs_cond_imm
 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_rel_off.decode (   self,
  v 
)

Reimplemented from miasm.arch.x86.arch.bs_cond_imm.

Reimplemented in miasm.arch.x86.arch.bs_s08.

Here is the call graph for this function:

◆ encode()

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

Reimplemented from miasm.arch.x86.arch.bs_cond_imm.

Reimplemented in miasm.arch.x86.arch.bs_s08.

◆ flen()

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

Reimplemented from miasm.arch.x86.arch.bs_cond_imm.

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

Here is the call graph for this function:

◆ fromstring()

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

Reimplemented from miasm.arch.x86.arch.bs_cond_imm.

Member Data Documentation

◆ expr

miasm.arch.x86.arch.bs_rel_off.expr

◆ l

miasm.arch.x86.arch.bs_rel_off.l

◆ parser

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

◆ value

miasm.arch.x86.arch.bs_rel_off.value

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