From a24b82f9b3d5dbb76f700664a97f3d4904acce30 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 29 Jul 2021 13:08:03 -0400 Subject: Remove some unnecessary properties for various derived HLIL Instructions, add HLIL vars_read/vars_written Additional progress on HLILInstruction refactor --- python/architecture.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'python/architecture.py') 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() -- cgit v1.3.1