summaryrefslogtreecommitdiff
path: root/python/architecture.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-07-29 13:08:03 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-05 10:09:10 -0400
commita24b82f9b3d5dbb76f700664a97f3d4904acce30 (patch)
tree981e990b9479e0318b4e7d8fb25038ed43fc8d18 /python/architecture.py
parent764063b2b44dbeba5f2f318c971e4f4acfb48427 (diff)
Remove some unnecessary properties for various derived HLIL Instructions, add HLIL vars_read/vars_written
Additional progress on HLILInstruction refactor
Diffstat (limited to 'python/architecture.py')
-rw-r--r--python/architecture.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/python/architecture.py b/python/architecture.py
index fdec7fbf..f77778bc 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -483,17 +483,6 @@ class Architecture(metaclass=_ArchitectureMetaClass):
def __hash__(self):
return hash(ctypes.addressof(self.handle.contents))
- # def __setattr__(self, name, value):
- # if ((name == "name") or (name == "endianness") or (name == "address_size") or
- # (name == "default_int_size") or (name == "regs") or (name == "get_max_instruction_length") or
- # (name == "get_instruction_alignment")):
- # raise AttributeError("attribute '%s' is read only" % name)
- # else:
- # try:
- # object.__setattr__(self, name, value)
- # except AttributeError:
- # raise AttributeError("attribute '%s' is read only" % name)
-
@classmethod
def register(cls) -> None:
binaryninja._init_plugins()