Skip to content

[Bug] Broken TUI (layout asm) #921

@joleeee

Description

@joleeee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions