Vector35 / binaryninja-api

Public API, examples, documentation and issues for Binary Ninja
https://binary.ninja/
MIT License
919 stars 207 forks source link

include copy symbol name menu/hotkey that avoids truncation #397

Open sboesen opened 8 years ago

sboesen commented 8 years ago

When copying a truncated symbol name the end result is this:

__ZNSt3__112__tuple_impl...EEJOZN13ClientHandler10FastTravelEvE4

screen shot 2016-08-20 at 9 23 34 am

Copying from the rename dialog works fine:

screen shot 2016-08-20 at 9 24 40 am

__ZNSt3__112__tuple_implINS_15__tuple_indicesIJLm0EEEEJOZN13ClientHandler10FastTravelEvE4

psifertex commented 8 years ago

This is as intended for the current copy function as we eventually intend to allow multiple selections and larger block selections in which case you can't cheat and guess what the user intends to have copied but should behave exactly as it currently does and only include the visible text.

I think the right fix given that is an additional UI option to "copy symbol name" which will always copy the full name, or just use the work-around as you described. Renaming the bug and marking as low-priority as the current work around is pretty easy.