Beispiel #1
0
 def __init__(self, x):
     self.map = mapper()
     x(self.map)
     self.name = str(x)
     self.address = x
     self.length = 0
     self.misc = defaultdict(lambda: 0)
     doc = x.stub(x.ref).func_doc
     if doc:
         for (k, v) in tag.list():
             if (k in doc) or (v in doc):
                 self.misc[v] = 1
     self.view = xfuncView(self)
Beispiel #2
0
 def __init__(self, x):
     self.map = mapper()
     x(self.map)
     self.name = str(x)
     self.address = x
     self.instr = []
     self.length = 0
     self.misc = defaultdict(_code_misc_default)
     doc = x.stub(x.ref).__doc__
     if doc:
         for (k,v) in tag.list():
             if (k in doc) or (v in doc):
                 self.misc[v] = 1
     self.view  = xfuncView(self)
Beispiel #3
0
 def __setstate__(self, state):
     self._map, self.name, self.address, self.misc = state
     self.instr = []
     self.view = xfuncView(self)