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

Support GDB #29

Open
orhun opened this issue Sep 14, 2024 · 9 comments
Open

Support GDB #29

orhun opened this issue Sep 14, 2024 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@orhun
Copy link
Owner

orhun commented Sep 14, 2024

Is your feature request related to a problem? Please describe.

Quoting from @[email protected]:

If I were to request some feature it would be a TUI front end to GDB similar to how PWNDBG or GEF does it, but that would probably be way too ambitious

Describe the solution you'd like

Throwing this here for brainstorming purposes.

Describe alternatives you've considered

None.

Additional context

@orhun orhun added the enhancement New feature or request label Sep 14, 2024
@orhun orhun self-assigned this Sep 14, 2024
@TornaxO7
Copy link

Suggestion: Maybe we could go even further and create something like an interface for debuggers so that we can probably call something like bugstalker instead of gdb.

@orhun
Copy link
Owner Author

orhun commented Sep 15, 2024

That's a very good idea!

In fact I would like to invite the author of bugstalker @godzie44 here for asking his opinion and potentially collaborating on this :)

@godzie44
Copy link

Hey! I also think that this is a cool idea, and I am ready to help in its implementation.

I think it would be nice to have a command like binsider inside bs. But, maybe you have a different vision of such integration.

@orhun
Copy link
Owner Author

orhun commented Sep 17, 2024

I was thinking more like having a separate tab inside binsider for running bs with a TUI somehow. In some prompt you can enter debugger commands and get the output.

Also, see what I did for heh, we can potentially use the whole app as a TUI widget inside bs :)

What do you think?

@godzie44
Copy link

I like both options. But I'm not sure how ready bs is to work as a widget, because it relies heavily on the tuirealm framework. I'll try to do some RND on that.

@godzie44
Copy link

About bs in binsider

Unfortunately, as i expect, the possibility to integrate tui of bs into tui of binsider looks difficult to implement, because bs uses tuirealm (with ratatui 26) and binsider uses latest ratatui. It seems that such integration requires a very large refactoring of bs.

About binsider in bs

It seems like it would be much easier to do this. Especially, If binsider introduce interface like heh. I'm trying to integrate bs with heh and it's looks cool (and easy for implement), see godzie44/BugStalker@1757c1c.

A small demo:

render1726586514897

@orhun
Copy link
Owner Author

orhun commented Sep 18, 2024

That's cool! I would want to see this implemented in two ways at the end of the day but putting binsider in bs seems like super easy and convenient :)

Especially, If binsider introduce interface like heh

Would you be interested in contributing that? 👀 As a reference: ndd7xv/heh#120

@godzie44
Copy link

Of course, i think i can do this

@orhun
Copy link
Owner Author

orhun commented Sep 19, 2024

Perfect!

@orhun orhun assigned godzie44 and unassigned orhun Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants