binaryninja-api
binaryninja-api copied to clipboard
Certain instructions have empty stack frames
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:
- Open this binary: push-pop-automaton-macos.zip
- Open stack view
- Ensure Position Aware is enabled in the stack view context menu
- Navigate to disassembly: 0x100003e59
- 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:
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.