diff options
| author | Rusty Wagner <rusty@vector35.com> | 2018-02-26 22:37:19 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2018-02-26 23:04:10 -0500 |
| commit | 105fb2549bd8fc0e19907fefff1168322dee3bb3 (patch) | |
| tree | 0f00c3846356f142804e65c458f47bbf51a4dad4 /python/basicblock.py | |
| parent | bfce40850be6f6df4138d717798d4d0d35865908 (diff) | |
Architecture plugins no longer need to override the perform_* methods (you can now override get_instruction_info, not perform_get_instruction_info). The perform_* methods are now deprecated but will still function as expected. Added architecture hooks to Python API using this new style.
Diffstat (limited to 'python/basicblock.py')
| -rw-r--r-- | python/basicblock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/basicblock.py b/python/basicblock.py index 8e64c1c1..c93d0b2c 100644 --- a/python/basicblock.py +++ b/python/basicblock.py @@ -100,7 +100,7 @@ class BasicBlock(object): arch = core.BNGetBasicBlockArchitecture(self.handle) if arch is None: return None - self._arch = architecture.Architecture(arch) + self._arch = architecture.CoreArchitecture(arch) return self._arch @property |
