binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

Certain instructions have empty stack frames

Open CouleeApps opened this issue 1 year ago • 0 comments

Version and Platform (required):

  • Binary Ninja Version: 4.1.5489-dev
  • OS: macOS
  • OS Version: 14
  • CPU Architecture: M1

Bug Description: Some instructions in some functions incorrectly report having no live stack variables. When used with the new Position Aware Stack View, you get an empty screen.

Steps To Reproduce: Please provide all steps required to reproduce the behavior:

  1. Open this binary: push-pop-automaton-macos.zip
  2. Open stack view
  3. Ensure Position Aware is enabled in the stack view context menu
  4. Navigate to disassembly: 0x100003e59
  5. Observe empty stack view

Expected Behavior: I expected to see the stack variables present on the surrounding instructions, or really just anything at all.

Screenshots/Video Recording: image

Additional Information: Disabling Position Aware shows the remaining frames. I figure that means the stack variable api is returning the wrong things, and that it's not an issue with Stack View itself.

CouleeApps avatar Jun 13 '24 03:06 CouleeApps