1

Is there a way to configure a TUI window to display raw memory contents?

I mean instead of viewing the memory with x/20x 0x7fffffffe270 just have a window that displays and automatically updates the contents of the memory in that location (or if that's possible, just display the memory contents line x/20x $sp).

Something like this:

0x7fffffffe270: 0x00000000  0x00000000  0x55555250  0x00005555
0x7fffffffe280: 0x00000000  0x00000000  0x55555070  0x00005555
0x7fffffffe290: 0xffffe390  0x00007fff  0x00000000  0x00000000
0x7fffffffe2a0: 0x00000000  0x00000000  0xf7df4b25  0x00007fff
0x7fffffffe2b0: 0xffffe398  0x00007fff  0xf7fca000  0x00000001
0x7fffffffe2c0: 0x55555169  0x00005555  0xffffe6f9  0x00007fff
0x7fffffffe2d0: 0x55555250  0x00005555  0x3cae816d  0x8acc2837
0x7fffffffe2e0: 0x55555070  0x00005555  0x00000000  0x00000000
0x7fffffffe2f0: 0x00000000  0x00000000  0x00000000  0x00000000
0x7fffffffe300: 0xf9ce816d  0x7533d7c8  0xa91a816d  0x7533c789
7
  • I've extended gdb with a few TUI windows via python, one of them is a memory window. It can be activated with memory 0x7fffffffe270. Commented May 11, 2023 at 15:19
  • Thanks, but I think your build is for Windows right? Commented May 11, 2023 at 18:37
  • I only provide Windows builds, but the source code works for Linux as well. Commented May 11, 2023 at 19:53
  • Thanks @ssbssa. I got stuck with the build though. Something to do with bison and/or YACC. Commented May 12, 2023 at 22:42
  • You don't have bison installed? Commented May 13, 2023 at 12:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.