From 99c7a280ae771073b6a36e958426d6f2c7d29462 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Sat, 22 Apr 2023 12:00:38 -0400 Subject: Pass debug file along with original file to debug info parsers --- 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 a8307cae..6e179ab8 100644 --- a/python/debuginfo.py +++ b/python/debuginfo.py @@ -131,7 +131,7 @@ class _DebugInfoParserMetaClass(type): ctypes.POINTER(core.BNBinaryView ))(lambda ctxt, view: cls._is_valid(view, is_valid)) parse_info_cb = ctypes.CFUNCTYPE( - ctypes.c_bool, ctypes.c_void_p, ctypes.POINTER(core.BNDebugInfo), ctypes.POINTER(core.BNBinaryView), + ctypes.c_bool, ctypes.c_void_p, ctypes.POINTER(core.BNDebugInfo), ctypes.POINTER(core.BNDebugInfo), ctypes.POINTER(core.BNBinaryView), ctypes.CFUNCTYPE(ctypes.c_bool, ctypes.c_void_p, ctypes.c_size_t, ctypes.c_size_t), ctypes.c_void_p, )(lambda ctxt, debug_info, view, progress, progress_ctxt: cls._parse_info(debug_info, view, lambda cur, max: progress(progress_ctxt, cur, max), parse_info)) -- cgit v1.3.1