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 support for adding custom Contexts to ContextCommand #726

Closed
mahaloz opened this issue Sep 25, 2021 · 0 comments · Fixed by #727
Closed

Add support for adding custom Contexts to ContextCommand #726

mahaloz opened this issue Sep 25, 2021 · 0 comments · Fixed by #727

Comments

@mahaloz
Copy link
Contributor

mahaloz commented Sep 25, 2021

Is your feature request related to a problem? Please describe.
Often when making new commands for a debugger, you want to add a custom Context pane, like on other
debuggers such as pwndbg. It helps the reverser make a more tuned workflow for analyzing a binary. A way to add custom context panes from users would make this possible!

Describe the solution you'd like
I'd like a register_external_context_pane, just like the register_external_command function that allows you to add a new pane to be printed in the ContextCommand. The parameters can be pane_title, pane_display_function.

Describe alternatives you've considered
Alt: hooking on each break event. It's not a great solution because it is not a part of the formal Context you see.

Additional context
Yes, I've already implemented most of it in my PR which I will link in the next comment. I would love input on it :). The biggest concern I have is how I update settings for the context. Check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant