Skip to content

Disassembly of instruction stops at section boundary #3435

@xusheng6

Description

@xusheng6

Here is an issue that I ran into when I deal with the crackme at https://github.com/antire-book/dont_panic. After some processing, I get the following code:

Screen Shot 2022-08-26 at 9 10 11 PM

The code at 0x40017a fails to disassemble. However, if we look at the bytes(48 31 ed ...), it is definitely a valid instruction:

Screen Shot 2022-08-26 at 9 10 37 PM

And the reason that we stop disassembling even if the bytes are valid is because we are hititng a section boundary:

Screen Shot 2022-08-26 at 9 11 06 PM

The related database: trouble.bndb.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CoreIssue needs changes to the coreEffort: LowIssues require < 1 week of workImpact: LowIssue is a papercut or has a good, supported workaround

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions