Skip to content

Step to Return sometimes does not stop at caller's next instruction, execution continues running instead #1195

Description

@Weitao-Sun

Version and Platform (required):

  • Binary Ninja Version: 6.1.10562
  • OS: Windows 11
  • OS Version: 10.0.26200 N/A Build 26200
  • CPU Architecture: x64
  • Local or Remote Debugging: Local

Bug Description:
When debugging locally and clicking "Step to Return" while inside a function that was entered via "Step Into", execution continues running to completion instead of stopping at the instruction after the call in the caller.

Steps To Reproduce:

  1. Open md5.exe in Binary Ninja
  2. Launch with command line arguments: .\helloworld.exe
  3. At 006c2054 sub_6c19f0(*eax_10, esi_1), click "Step Into" to enter sub_6c19f0
  4. Click "Step to Return"
  5. Observe that the program runs to completion instead of stopping at the instruction following the call at 006c2054

Expected Behavior:
Clicking "Step to Return" should stop execution at the instruction immediately after the call at 006c2054 in the caller, not run the program to completion.

Screenshots/Video Recording:

Screen.Recording.2026-09-01.at.11.52.14.AM.mov

Binary:
md5.exe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions