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

Creating string from selection

Open mostobriv opened this issue 2 years ago • 2 comments

What is the feature you'd like to have? It's pretty useful to create strings with concrete length and without null-terminator (for example in rust binaries or firmwares).

Are any alternative solutions acceptable? atm afaik it can be done by manually setting the type of global variable, but it would be pretty handy to make automatically just with selection.

Additional Information: Guess solution is behavior like in IDA: if selection is empty and A (or Make string action is called) is pressed then just create string with assumption about null-terminator, otherwise create string with length equal to length of current selection.

mostobriv avatar Aug 17 '22 12:08 mostobriv

This is blocked by (and probably a duplicate of) #1334

psifertex avatar Aug 17 '22 12:08 psifertex

It's possible this could be resolved by #3428 in some cases. Also, it doesn't look like this should be blocked by #1334 after all.

fuzyll avatar Sep 06 '22 18:09 fuzyll