[RFC] support show each pane {regs, code, backtrace and more} in different tty #1079
wangrongwei
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, @hugsy, and other folks
Recently, I debug linux kernel and found gef is very powerful. So it lets me want do something make it more friendly.
And I have written a simple POC [1] to realize above function, some modifications in gef.py and a new python script (now also named gef, a command in linux). And I know 'voltron' [2] can do the same stuff. But it seems gef is a better choice for highlight view and more concise.
Here something need to dicsuss if anyone have interesting in it:
Now, I had modified gef.py, mainly on context_regs() and linux command script: gef. You just need to run 'gef view regs' (likes voltron) in bash, and regs info shows in current tty.
Now, I adopt pipe to share infomation for quick POC, but I think it's not a good choice (we cann't view regs on both or more terminals at the same time). Maybe share memory is better.
Maybe I missed more simple way to realize above function, please tell me.
Thanks for your time.
[1] https://github.com/wangrongwei/gef
[2] https://github.com/snare/voltron
Beta Was this translation helpful? Give feedback.
All reactions