Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to redirect context output to other tty or files #610

Merged
merged 2 commits into from Apr 15, 2019

Conversation

Projects
None yet
2 participants
@jerdna-regeiz
Copy link
Contributor

jerdna-regeiz commented Apr 12, 2019

The output of context/dashboard can be now be redirected with
"set context-output /dev/pts/x" to everything wich python can open and
offers a file like "write".

This can be used to create a split view of the current context while still having all other gdb commands and outputs visible in the original place. This avoids scrolling to either view the output of previous commands or to see the context after an other long output.

pwndbg_split

Show resolved Hide resolved FEATURES.md Outdated
Show resolved Hide resolved pwndbg/commands/context.py Outdated
Show resolved Hide resolved pwndbg/commands/context.py Outdated
@disconnect3d

This comment has been minimized.

Copy link
Member

disconnect3d commented Apr 15, 2019

Hey, thx a lot for the PR. Could you apply the minor changes I suggested? :)

jerdna-regeiz added some commits Apr 12, 2019

Add option to redirect context output to other tty or files
The output of context/dashboard can be now be redirected with
 "set context-output /dev/pts/x" to everything wich python can open and
 offers a file like "write".

@jerdna-regeiz jerdna-regeiz force-pushed the jerdna-regeiz:context_redirect branch from f208c03 to 8016eb7 Apr 15, 2019

@jerdna-regeiz

This comment has been minimized.

Copy link
Contributor Author

jerdna-regeiz commented Apr 15, 2019

Sure, done

@disconnect3d

This comment has been minimized.

Copy link
Member

disconnect3d commented Apr 15, 2019

Thanks!

@disconnect3d disconnect3d merged commit 35890f0 into pwndbg:dev Apr 15, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.