summaryrefslogtreecommitdiff
path: root/python/debuginfo.py
diff options
context:
space:
mode:
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 a48182e6..37d0c3d6 100644
--- a/python/debuginfo.py
+++ b/python/debuginfo.py
@@ -415,7 +415,7 @@ class DebugInfo(object):
func_info.parameterCount = parameter_count
else:
func_info.parameterNames = (ctypes.c_char_p * parameter_count)(
- *map(lambda pair: binaryninja.cstr(pair[0]), new_func.parameters)
+ *map(lambda pair: core.cstr(pair[0]), new_func.parameters)
) # type: ignore
func_info.parameterTypes = (ctypes.POINTER(core.BNType) * parameter_count)(
*map(lambda pair: pair[1].handle, new_func.parameters)