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

Wrap long strings in linearview

Open spoonmilk opened this issue 8 months ago • 0 comments

This adds support for String wrapping in the formatter up to the length specified in "Maximum String annotation size," allowing for the display of longer inline strings. Currently, the scheme for wrapping is as follows: • Wrap along spaces and punctuation when possible, but in cases of repeated punctuation/whitespace, treat it as one "atom" (smallest segment that can be wrapped) • Treat format specifiers and newlines as singular atoms as to not break them up on line wrapping

Waiting on user feedback

Resolves https://github.com/Vector35/binaryninja-api/issues/2366

spoonmilk avatar Jun 17 '25 14:06 spoonmilk