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

Collapse/fold/hide regions in linear view

Open plafosse opened this issue 9 years ago • 8 comments

Regions in linear view should be collapsable and should have a default preference. By default things like ELF/PE headers, IAT/PLT entries should be collapsed. Should also implement keystrokes and clickable buttons to expand/collapse these regions.

Proposed foldable items:

  • [ ] Structures and arrays
  • [ ] Sections?
  • [ ] Code blocks, e.g. if statement branches

plafosse avatar Oct 04 '16 20:10 plafosse

This also applies to structures and arrays.

plafosse avatar Aug 27 '18 20:08 plafosse

I would love to see this implemented

ccarpenter04 avatar Aug 18 '20 19:08 ccarpenter04

With HLIL and linear view this would be really nice. Right now if you have an indent block that spans more than a screen width in HLIL's linear view, it can be very difficult to find the indentation points where blocks are terminated.

yrp604 avatar Sep 13 '20 09:09 yrp604

There's a feature branch experimenting with adding indentation lines as well to help with this particular problem, though there's been some debate internally as to the right way to do it.

psifertex avatar Sep 13 '20 18:09 psifertex

This would ideally include the ability to fold code blocks, e.g. long if statements. (#3311)

jonpalmisc avatar Jul 21 '22 15:07 jonpalmisc