From 9664293566835578211572938174462967719297 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Mon, 6 Nov 2023 21:22:51 -0500 Subject: Type Containers: API Docs --- python/binaryview.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'python/binaryview.py') diff --git a/python/binaryview.py b/python/binaryview.py index de434074..ea0aba4f 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -7035,16 +7035,30 @@ class BinaryView: @property def type_container(self) -> 'typecontainer.TypeContainer': + """ + Type Container for all types (user and auto) in the BinaryView. Any auto types + modified through the Type Container will be converted into user types. + :return: Full view Type Container + """ container = core.BNGetAnalysisTypeContainer(self.handle) return typecontainer.TypeContainer(handle=container) @property def auto_type_container(self) -> 'typecontainer.TypeContainer': + """ + Type Container for ONLY auto types in the BinaryView. Any changes to types will + NOT promote auto types to user types. + :return: Auto types only Type Container + """ container = core.BNGetAnalysisAutoTypeContainer(self.handle) return typecontainer.TypeContainer(handle=container) @property def user_type_container(self) -> 'typecontainer.TypeContainer': + """ + Type Container for ONLY user types in the BinaryView. + :return: User types only Type Container + """ container = core.BNGetAnalysisUserTypeContainer(self.handle) return typecontainer.TypeContainer(handle=container) -- cgit v1.3.1