Add filepath to context code (#526)

pull/529/head
Disconnect3d 7 years ago committed by Zach Riggle
parent 84345dc4f7
commit 7d10765f56

@ -260,7 +260,7 @@ def context_code():
)
formatted_source.append(line)
banner = [pwndbg.ui.banner("Source (code)")]
banner = [pwndbg.ui.banner("Source (code)"), 'In file: %s' % filename]
banner.extend(formatted_source)
return banner
except:

Loading…
Cancel
Save