bet4it / hyperpwn

A hyper plugin to provide a flexible GDB GUI frontend with the help of GEF, pwndbg or peda
MIT License
591 stars 59 forks source link

How can I use hyperpwn with rr-debugger #12

Closed bulletforkiller closed 2 years ago

bulletforkiller commented 2 years ago

Layout is wrong when I run "rr replay" in hyper, I only see command and stack window. And I use gef.

bet4it commented 2 years ago

Is the output of gef correct if you don't use gdb in hyper? Could you post a screenshot of the wrong layout? Do you try stepi after the layout is loaded?

bulletforkiller commented 2 years ago

Without hyper:

Peek 2021-12-19 01-43

In hyper:

Peek 2021-12-19 01-41

bet4it commented 2 years ago

Could you try to run hyperinator load hyperpwn-gef before rr replay likes this: (You may need to npm install -g hyperinator firstly)

And what's the version of hyper and gef do you use?

bulletforkiller commented 2 years ago

Could you try to run hyperinator load hyperpwn-gef before rr replay likes this: (You may need to npm install -g hyperinator firstly)

And what's the version of hyper and gef do you use?

Thanks, it works perfectly now. The version of hyper is v3.1.4. And I pulled gef from github, it's on dev branch.

bet4it commented 2 years ago

Great! I have no idea why it can't be used directly, but at least we have a way to solve it 😃