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

Clickable LLIL/MLIL indices

Open mostobriv opened this issue 8 months ago • 6 comments

What is the feature you'd like to have? Ability to click or quickly navigate to certain IL index.

Additional Information: Sometimes BN emplace clickable virtual address, thus we can navigate to the target address of certain control instructions (like if, goto, etc.), but sometimes there is only IL indices, so we need to scroll to corresponding IL instructions.

Image

mostobriv avatar May 11 '25 12:05 mostobriv

Can you be more specific what in your screenshot you were hoping would be clickable?

psifertex avatar May 11 '25 13:05 psifertex

I mean this indices:

Image

mostobriv avatar May 11 '25 15:05 mostobriv

Actually, we can switch to graph-view and click on the edge to jump to certain node, but it's an additional action so it looks like more as workaround to me.

mostobriv avatar May 12 '25 07:05 mostobriv

Ahh, I understand. That makes sense.

psifertex avatar May 12 '25 10:05 psifertex

Sounds like a nice enhancement. I guess we can do it by adding a "type" of address next to the address itself, so that we the UI navigates, it can check that and then go to the correct one

xusheng6 avatar May 14 '25 05:05 xusheng6

I think we need a new token type for IL index. I believe currently we just use an AddressTokenType

plafosse avatar Jun 10 '25 14:06 plafosse