Vector35 / binaryninja-api

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

Incorrect outlining for format string #4790

Open op2786 opened 7 months ago

op2786 commented 7 months ago

Version and Platform (required):

Bug Description: In the screenshot below BN generates a _builtin_memcpy function for some weird stack data which is actually a format string if we look at the disassembly. I guess it should generate two separate _builtin_strcpy.

It also does not generates a strcpy for stack string TracerPid:.

Screenshots:

Additional Information: I can share the BNDB in slack.

ccarpenter04 commented 7 months ago

I've seen the __builtin_memcpy issue as well

plafosse commented 6 months ago

Shared internally as 'Bold Aardvark Cake Surprise'