summaryrefslogtreecommitdiff
path: root/python/debuginfo.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2023-07-06 13:40:52 -0400
committerGlenn Smith <glenn@vector35.com>2023-07-07 17:42:18 -0400
commit7598688466960427890036590239565364310171 (patch)
tree1c8680da5ef239926c9dbd78345c4083aed95aba /python/debuginfo.py
parent94e476e947cf4cb0734fbd0563286e8443c75b96 (diff)
Expose function "pure" flag to api and typesystem
Diffstat (limited to 'python/debuginfo.py')
-rw-r--r--python/debuginfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/debuginfo.py b/python/debuginfo.py
index 6e179ab8..d95657c6 100644
--- a/python/debuginfo.py
+++ b/python/debuginfo.py
@@ -325,7 +325,7 @@ class DebugInfo(object):
for i in range(0, count.value):
if functions[i].type:
- function_type = _types.Type(core.BNNewTypeReference(functions[i].type))
+ function_type = _types.Type.create(core.BNNewTypeReference(functions[i].type))
else:
function_type = None