From f0d9ba427994be01e08111bc8a45219a6cdaed42 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 29 Mar 2022 08:12:25 -0400 Subject: Fixes #3028 usage of binaryninja.cstr in DebugInfo.add_function --- python/debuginfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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) -- cgit v1.3.1