diff --git a/python/idc.py b/python/idc.py index 7ced6e5..6631c8f 100644 --- a/python/idc.py +++ b/python/idc.py @@ -1635,7 +1635,8 @@ def GetIdbPath(): This function returns full path of the current IDB database """ - return idaapi.cvar.database_idb + idb_path = idaapi.cvar.database_idb + '\x00' + return idb_path[ : idb_path.find('\x00') ] def GetInputMD5():