From 5e60e5b5b189f7c91524feb3c6ab4ddcab1b49a3 Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Sun, 17 Apr 2016 19:11:33 -0700 Subject: [PATCH] Add SaveBase and GetIdbPath --- pwndbg/ida.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pwndbg/ida.py b/pwndbg/ida.py index 27462ec60..b1fd49650 100644 --- a/pwndbg/ida.py +++ b/pwndbg/ida.py @@ -249,3 +249,11 @@ def isASCII(flags): @pwndbg.memoize.reset_on_objfile def ArgCount(address): pass + +@withIDA +def SaveBase(path): + return _ida.SaveBase(path) + +@withIDA +def GetIdbPath(): + return _ida.GetIdbPath()