All Classes Namespaces Files Functions Variables Typedefs Properties Macros
Public Member Functions | Public Attributes | List of all members
miasm2.core.asmbloc.basicblocs Class Reference
+ Collaboration diagram for miasm2.core.asmbloc.basicblocs:

Public Member Functions

def __init__
def add
def add_blocs
def get_bad_dst

Public Attributes


Detailed Description

Definition at line 1091 of file asmbloc.py.

Constructor & Destructor Documentation

def miasm2.core.asmbloc.basicblocs.__init__ (   self,
  ab = [] 

Member Function Documentation

def miasm2.core.asmbloc.basicblocs.add (   self,

Definition at line 1098 of file asmbloc.py.

1099  def add(self, b):
1100  self.blocs[b.label] = b
1101  self.g.add_node(b.label)
1102  for dst in b.bto:
1103  if isinstance(dst.label, asm_label):
1104  self.g.add_edge(b.label, dst.label)

+ Here is the caller graph for this function:

def miasm2.core.asmbloc.basicblocs.add_blocs (   self,

Definition at line 1105 of file asmbloc.py.

1106  def add_blocs(self, ab):
1107  for b in ab:
1108  self.add(b)

+ Here is the call graph for this function:

def miasm2.core.asmbloc.basicblocs.get_bad_dst (   self)

Definition at line 1109 of file asmbloc.py.

1110  def get_bad_dst(self):
1111  o = set()
1112  for b in self.blocs.values():
1113  for c in b.bto:
1114  if c.c_t == asm_constraint.c_bad:
1115  o.add(b)
1116  return o

Member Data Documentation


Definition at line 1094 of file asmbloc.py.


Definition at line 1095 of file asmbloc.py.

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