You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current version of IKOS does not handle variable arguments precisely.
The previous version was very precise, but at a big complexity cost: the analyzer was basically simulating very low level details, such as pushing the arguments of a function call to a var-arg function on a symbolic stack array. It was also dependent on the architecture.
I did not want to investigate time implementing this again when I designed the new abstract representation. I believe variable arguments functions are pretty rare in embedded systems, and should be avoided. Also, they are mostly "leaves", so they won't propagate warnings all over the place.
In the future, we should think about a better way to handle these. This is low-priority though. The current version is sound regarding var-arg functions.
This discussion was converted from issue #131 on September 26, 2024 17:28.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The current version of IKOS does not handle variable arguments precisely.
The previous version was very precise, but at a big complexity cost: the analyzer was basically simulating very low level details, such as pushing the arguments of a function call to a var-arg function on a symbolic stack array. It was also dependent on the architecture.
I did not want to investigate time implementing this again when I designed the new abstract representation. I believe variable arguments functions are pretty rare in embedded systems, and should be avoided. Also, they are mostly "leaves", so they won't propagate warnings all over the place.
In the future, we should think about a better way to handle these. This is low-priority though. The current version is sound regarding var-arg functions.
Beta Was this translation helpful? Give feedback.
All reactions