mirror of
https://github.com/cemu-project/idapython.git
synced 2024-12-29 11:11:51 +01:00
gdl.i: Small typo and whitespace fixes
This commit is contained in:
parent
e27524cca5
commit
38b7c484f3
@ -50,7 +50,7 @@ class BasicBlock:
|
|||||||
|
|
||||||
def preds(self):
|
def preds(self):
|
||||||
"""
|
"""
|
||||||
Iteratres the predecessors list
|
Iterates the predecessors list
|
||||||
"""
|
"""
|
||||||
q = self._f._q
|
q = self._f._q
|
||||||
for i in xrange(0, self._f._q.npred(self.id)):
|
for i in xrange(0, self._f._q.npred(self.id)):
|
||||||
@ -58,7 +58,7 @@ class BasicBlock:
|
|||||||
|
|
||||||
def succs(self):
|
def succs(self):
|
||||||
"""
|
"""
|
||||||
Iteratres the successors list
|
Iterates the successors list
|
||||||
"""
|
"""
|
||||||
q = self._f._q
|
q = self._f._q
|
||||||
for i in xrange(0, q.nsucc(self.id)):
|
for i in xrange(0, q.nsucc(self.id)):
|
||||||
@ -83,9 +83,11 @@ class FlowChart:
|
|||||||
# create the flowchart
|
# create the flowchart
|
||||||
self._q = qflow_chart_t("", f, bounds[0], bounds[1], flags)
|
self._q = qflow_chart_t("", f, bounds[0], bounds[1], flags)
|
||||||
self.size = self._q.size()
|
self.size = self._q.size()
|
||||||
|
|
||||||
def refresh():
|
def refresh():
|
||||||
self._q.refresh()
|
self._q.refresh()
|
||||||
self.size = self._q.size()
|
self.size = self._q.size()
|
||||||
|
|
||||||
def __getitem__(self, index):
|
def __getitem__(self, index):
|
||||||
"""
|
"""
|
||||||
Returns a basic block
|
Returns a basic block
|
||||||
@ -95,5 +97,4 @@ class FlowChart:
|
|||||||
raise StopIteration
|
raise StopIteration
|
||||||
return BasicBlock(index, self._q[index], self)
|
return BasicBlock(index, self._q[index], self)
|
||||||
|
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
Loading…
Reference in New Issue
Block a user