From 9f832caede19fca081c7d4d3b99c41d15b988015 Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Thu, 21 Apr 2016 14:11:18 -0700 Subject: [PATCH] Save the database in its original location --- pwndbg/commands/ida.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pwndbg/commands/ida.py b/pwndbg/commands/ida.py index a53c4c56a..bd35e2cb1 100644 --- a/pwndbg/commands/ida.py +++ b/pwndbg/commands/ida.py @@ -69,6 +69,7 @@ def save_ida(): # Need to handle emulated paths for Wine if path.startswith('Z:'): path = path[2:].replace('\\', '/') + pwndbg.ida.SaveBase(path) basename = os.path.basename(path) dirname = os.path.dirname(path)