-
I wrote the following toy code, compiled it, analyzed it with binary ninja, and noticed that the printf argument display looks like below pic.
The above example is a bit exaggerated, but I also noticed that the following toy code also results in incorrect analyzing results.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sorry for the delay in responding -- in short, we do ship type libraries for the default pritnf but they're not "smart" and able to adjust automatically. That said, there is a plugin called Format String Analysis that can be used to automatically adjust the arguments of these printf family of functions to have the correct number of arguments. |
Beta Was this translation helpful? Give feedback.
Sorry for the delay in responding -- in short, we do ship type libraries for the default pritnf but they're not "smart" and able to adjust automatically. That said, there is a plugin called Format String Analysis that can be used to automatically adjust the arguments of these printf family of functions to have the correct number of arguments.