diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2019-05-23 21:32:09 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2019-05-23 21:32:09 -0400 |
| commit | f229958f0eadd39a37681aa12ffb2ac9d6df60d7 (patch) | |
| tree | 486d7d85e2ed3eb33c3768e37fa0118392426852 /python/basicblock.py | |
| parent | 26c3c52853f6e440720731edb9b4bddf2545791e (diff) | |
small cleanups from pylint plus fix for analysis_info
Diffstat (limited to 'python/basicblock.py')
| -rw-r--r-- | python/basicblock.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/python/basicblock.py b/python/basicblock.py index 1577ec4f..4a451a38 100644 --- a/python/basicblock.py +++ b/python/basicblock.py @@ -469,7 +469,7 @@ class BasicBlock(object): for i in range(0, count.value): addr = lines[i].addr if (lines[i].instrIndex != 0xffffffffffffffff) and hasattr(self, 'il_function'): - il_instr = self.il_function[lines[i].instrIndex] + il_instr = self.il_function[lines[i].instrIndex] # pylint: disable=no-member else: il_instr = None color = highlight.HighlightColor._from_core_struct(lines[i].highlight) @@ -507,12 +507,3 @@ class BasicBlock(object): if isinstance(color, HighlightStandardColor): color = highlight.HighlightColor(color) core.BNSetUserBasicBlockHighlight(self.handle, color._get_core_struct()) - - @property - def view(self): - """ """ - return self._view - - @view.setter - def view(self, value): - self._view = value |
