Skip to content

Undefining and redefining code causes overlap in instructions in the graph view #1556

@tedanvosin

Description

@tedanvosin

Description

If you undefine code at 2 locations in a function and then redefine in order of their memory location, the disassembly graph view shows instructions that dont belong to the function according to the linear view.

Image Image Image

In the above images, according to the linear view, function main should end at the instruction at 76e but the graph view shows that it extends to the instruction at 77c.

file.zip

Steps to reproduce the bug

  • Load binary, goto the linear disassembly view of function main.
  • Undefine instruction at 773.
  • Undefine instruction at 740 i.e. starting to function main.
  • Reload disassembly.
  • Re-define code at 740.
  • Re-define code at 773.

Environment

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triageIssue has yet to be looked at by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions