From 3012de2bbc4d6f4f5631863e22b411c0b38325eb Mon Sep 17 00:00:00 2001 From: kat Date: Mon, 17 Apr 2023 10:12:48 -0500 Subject: Add .components convenience API to Functions and DataVariables --- python/function.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index ebc2a40a..bb4a9b2a 100644 --- a/python/function.py +++ b/python/function.py @@ -1842,6 +1842,10 @@ class Function: core.BNFreeVariableList(data) return result + @property + def components(self): + return self.view.get_function_parent_components(self) + @property def inline_during_analysis(self) -> 'types.BoolWithConfidence': """Whether the function's IL should be inlined into all callers' IL""" -- cgit v1.3.1