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

[Bug] Broken TUI (layout asm) #921

Closed
joleeee opened this issue Dec 3, 2022 · 1 comment
Closed

[Bug] Broken TUI (layout asm) #921

joleeee opened this issue Dec 3, 2022 · 1 comment

Comments

@joleeee
Copy link

joleeee commented Dec 3, 2022

GEF+GDB version

GEF: (Standalone)
Blob Hash(/root/.gef-2b72f5d0d9f0f218a91cd1ca5148e45923b950d5.py): 8dc57b700e3c1c85822449033a01c94dfae9e4a6
SHA256(/root/.gef-2b72f5d0d9f0f218a91cd1ca5148e45923b950d5.py): 63d3e10d38a367c3e4d37de8e0701bcdff2a4e7c9a0a4ec5d83ccb8b2fe6188d
GDB: 12.1
GDB-Python: 3.10

Operating System

Ubuntu 22.04.1 LTS (ssh from macos 13.0.1)

Describe the issue you encountered

UI gets all buggy when running layout asm

Even happens on the online demo:
Screenshot 2022-12-03 at 18 40 12

Specifically when you type a letter the whole prompt gets written to screen. In the example above i wrote stepi. There are also some visual bugs with the layout itself but these kinda happen in standard gdb so I'm not certain it's a gef issue.

In terminal, completely broken:
Screenshot 2022-12-03 at 18 47 11

Do you read the docs and look at previously closed issues/PRs for similar cases?

Yes

Architecture impacted

unknown

Describe your issue. Without a proper reproduction step-by-step, your issue will be ignored.

$ gdb some_bin
r
layout asm
stepi (or something else)

Minimalist test case

No response

Additional context?

No response

@hugsy
Copy link
Owner

hugsy commented Dec 4, 2022

GDB TUI breaks TTY structure. GEF is not compatible with TUI. Use one or the other.

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

No branches or pull requests

2 participants