Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the precision on variable arguments function #131

Open
arthaud opened this issue Jul 10, 2019 · 0 comments
Open

Improve the precision on variable arguments function #131

arthaud opened this issue Jul 10, 2019 · 0 comments
Labels
C-false-positive Category: False Positive L-c Language: C P-low Priority: Low

Comments

@arthaud
Copy link
Member

arthaud commented Jul 10, 2019

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.

@arthaud arthaud added C-false-positive Category: False Positive L-c Language: C P-low Priority: Low labels Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-false-positive Category: False Positive L-c Language: C P-low Priority: Low
Projects
None yet
Development

No branches or pull requests

1 participant