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

Offer to hide variables that are removed by dead-store elimination in stack view and disassembly view

Open xusheng6 opened this issue 1 year ago • 0 comments

Right now we show the variables removed by dead-store elimination with a dimmed color. Which is good in most cases, however, sometimes we might wish to have the removed completely.

Screenshot 2024-04-24 at 9 36 11 AM

I have seen a binary that, for unknown reason, always moves the frame pointer 0x1000 below the stack pointer (at the function entry). I do not exactly understand what is trying to do.

Right now it is causing an inconvenience that the useful part of the stack are all outside of the bottom of the view by default, and I have to scroll to it to see its content. If we can limit the stack to all the used vars, the situation would be much better

xusheng6 avatar Apr 24 '24 04:04 xusheng6