diff options
| author | Peter LaFosse <peter@vector35.com> | 2022-03-29 08:12:25 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2022-03-29 08:12:25 -0400 |
| commit | f0d9ba427994be01e08111bc8a45219a6cdaed42 (patch) | |
| tree | 41c4c78b662389d239fc228bbaf697aa17701c0f /python/debuginfo.py | |
| parent | 79ca1197fc3a6a20450d6838f158c7e7bb8298fa (diff) | |
Fixes #3028 usage of binaryninja.cstr in DebugInfo.add_function
Diffstat (limited to 'python/debuginfo.py')
| -rw-r--r-- | python/debuginfo.py | 2 |
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) |
