summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2023-11-06 21:22:51 -0500
committerGlenn Smith <glenn@vector35.com>2023-11-06 21:31:10 -0500
commit9664293566835578211572938174462967719297 (patch)
tree5ce88ae2acb8ffbf5177da95e2332978cbb82910 /python/binaryview.py
parent6436615567547349434351468012512505109552 (diff)
Type Containers: API Docs
Diffstat (limited to 'python/binaryview.py')
-rw-r--r--python/binaryview.py14
1 files changed, 14 insertions, 0 deletions
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)