-
Notifications
You must be signed in to change notification settings - Fork 152
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
A might be uninitialized
message after being initialized
#208
Comments
Hi @Ganton, This is a known limitation of ikos. The uninitialized variable checker can cause many false positives, I usually recommend to disable it. For more context, this is because ikos uses abstract interpretation under the hood, which enables us to compute an over-approximation of all reachable states. The loop invariant we currently infer is: |
Is this something that it's actionable at this point or would it require a fair amount of investigation before we could implement it? If the latter, I'd like to move it to "Discussions > Ideas" to keep the issues for those things we are actively planning to solve. Thanks! |
It is actionable, I have a pretty concrete idea on how to implement that, but obviously it's a good amount of work (maybe a week, or more? hard to say, it might impact many APIs). Right now we have an abstract domain for each information (nullity, numerical, initialization, etc.). Those are grouped together using a domain product, see: |
Related: #138. |
Dear NASA IKOS people,
First of all, thanks your good work.
When people read https://ntrs.nasa.gov/api/citations/20190032510/downloads/20190032510.pdf or https://ntrs.nasa.gov/api/citations/20220007431/downloads/SWS_TC3_IKOS_Tutorial.pdf , tries its example:
and (at the end) adds a simple
people get a
Thanks again for the good work!
The text was updated successfully, but these errors were encountered: