From fcfa33a14fc309984880b535b9f9b4fcfc316466 Mon Sep 17 00:00:00 2001 From: kat Date: Tue, 3 Jan 2023 14:29:32 -0500 Subject: Allow DataVariables to be added to Components --- python/function.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index 86662cf7..bce4f843 100644 --- a/python/function.py +++ b/python/function.py @@ -2233,15 +2233,6 @@ class Function: core.BNFreeTagList(tags, count.value) return result - @property - def parent_components(self): - _components = [] - count = ctypes.c_ulonglong(0) - bn_components = core.BNGetFunctionParentComponents(self.handle, count) - for i in range(count.value): - _components.append(component.Component(self.view, bn_components[i])) - return _components - def get_lifted_il_at( self, addr: int, arch: Optional['architecture.Architecture'] = None ) -> Optional['lowlevelil.LowLevelILInstruction']: -- cgit v1.3.1