NationalSecurityAgency / ghidra

Ghidra is a software reverse engineering (SRE) framework
https://www.nsa.gov/ghidra
Apache License 2.0
52.21k stars 5.91k forks source link

Make the Overview bar zoomable #5727

Open mikehaben69 opened 1 year ago

mikehaben69 commented 1 year ago

Is your feature request related to a problem? Please describe. When the memory-map contains blocks that are widely separated, the Overview bar shows mostly uninitialised space, and the areas of interest (disassembled code and as-yet-undefined bytes) are compressed into one or more tiny regions of the display. In particular, it's not possible to see at a glance how much of a code region remains un-disassembled.

Describe the solution you'd like As the Overview band of "A Certain Other Program" does, provide the ability to zoom in and out, pan forward and backward, and reset the Overview to the whole-memory-map view.

Describe alternatives you've considered (None)

Additional context Example screenshot:

overview_band_example

ghidracadabra commented 1 year ago

If you double-click on a memory block/fragment in the Program Tree, the Listing will be restricted to that fragment. This will restrict the Overview bar to that fragment. If you double-click on the root fragment the Listing will be restored to the default state.

Of course, this doesn't get you everything that a zoom feature would, but it might improve your workflow slightly for the time being.

mikehaben69 commented 1 year ago

Thank you, I wasn't aware of that feature - it does help a bit.