diff options
Diffstat (limited to 'python/lineardisassembly.py')
| -rw-r--r-- | python/lineardisassembly.py | 59 |
1 files changed, 7 insertions, 52 deletions
diff --git a/python/lineardisassembly.py b/python/lineardisassembly.py index 517e64c4..a48ce81b 100644 --- a/python/lineardisassembly.py +++ b/python/lineardisassembly.py @@ -61,59 +61,14 @@ class LinearDisassemblyPosition(object): class LinearDisassemblyLine(object): def __init__(self, line_type, func, block, line_offset, contents): - self._type = line_type - self._function = func - self._block = block - self._line_offset = line_offset - self._contents = contents + self.type = line_type + self.function = func + self.block = block + self.line_offset = line_offset + self.contents = contents def __str__(self): - return str(self._contents) + return str(self.contents) def __repr__(self): - return repr(self._contents) - - @property - def type(self): - """ """ - return self._type - - @type.setter - def type(self, value): - self._type = value - - @property - def function(self): - """ """ - return self._function - - @function.setter - def function(self, value): - self._function = value - - @property - def block(self): - """ """ - return self._block - - @block.setter - def block(self, value): - self._block = value - - @property - def line_offset(self): - """ """ - return self._line_offset - - @line_offset.setter - def line_offset(self, value): - self._line_offset = value - - @property - def contents(self): - """ """ - return self.contents - - @contents.setter - def contents(self, value): - self.contents = value + return repr(self.contents)
\ No newline at end of file |
