Miasm2
 All Classes Namespaces Files Functions Variables Typedefs Properties Macros
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
miasm2.arch.x86.arch.bs_es Class Reference
+ Inheritance diagram for miasm2.arch.x86.arch.bs_es:
+ Collaboration diagram for miasm2.arch.x86.arch.bs_es:

Public Member Functions

def decode
 
def encode
 
def fromstring
 

Public Attributes

 expr
 
 value
 

Static Public Attributes

 reg_info = r_es_all
 
int rindex = 0
 
 parser = reg_info.parser
 

Detailed Description

Definition at line 1285 of file arch.py.

Member Function Documentation

def miasm2.arch.x86.arch.bs_seg.decode (   self,
  v 
)
inherited

Definition at line 1252 of file arch.py.

1253  def decode(self, v):
1254  self.expr = self.reg_info.expr[0]
1255  return True
def miasm2.arch.x86.arch.bs_seg.encode (   self)
inherited

Definition at line 1256 of file arch.py.

1257  def encode(self):
1258  self.value = 0
1259  return self.expr == self.reg_info.expr[0]
1260 
def miasm2.core.cpu.m_arg.fromstring (   self,
  s,
  parser_result = None 
)
inherited

Definition at line 604 of file cpu.py.

605  def fromstring(self, s, parser_result=None):
606  if parser_result:
607  e, start, stop = parser_result[self.parser]
608  self.expr = e
609  return start, stop
610  try:
611  v, start, stop = self.parser.scanString(s).next()
612  except StopIteration:
613  return None, None
614  self.expr = v[0]
615  return start, stop
616 

+ Here is the call graph for this function:

Member Data Documentation

miasm2.arch.x86.arch.bs_seg.expr
inherited

Definition at line 1253 of file arch.py.

miasm2.arch.x86.arch.bs_es.parser = reg_info.parser
static

Definition at line 1288 of file arch.py.

miasm2.arch.x86.arch.bs_es.reg_info = r_es_all
static

Definition at line 1286 of file arch.py.

int miasm2.arch.x86.arch.bs_es.rindex = 0
static

Definition at line 1287 of file arch.py.

miasm2.arch.x86.arch.bs_seg.value
inherited

Definition at line 1257 of file arch.py.


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