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

__builtin_memcpy minimum length setting

Open mostobriv opened this issue 2 months ago • 0 comments

What is the feature you'd like to have? Sometimes __builtin_memcpy is used on absurdly small stores, for example sometimes BN turns *(int*)foo = 0xdeadbeef into memcpy'ing of 4-bytes string. And as currently there is no feature to control exact places where outlining should or shouldn't be applied, at least minimum length of such string as constraint would help to get rid of such false-triggers.

Is your feature request related to a problem? kinda

Are any alternative solutions acceptable? Well, we can turn-off outlining completely, but it isn't even workaround as more of unnecessary tradeoff

mostobriv avatar Dec 09 '25 18:12 mostobriv