-
Notifications
You must be signed in to change notification settings - Fork 238
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
Possible bugs detected by Infer #77
Comments
Here is the full list in abbreviated form:
|
It looks like a lot of the |
Thanks. The results of static analyzers can be useful. For some time we ran against Coverity. More recently we run against the Clang clang static analyzer. They find some real issues, but they also get tripped on code in the interpreter that is correct (as far as we can tell!) but isn't a common pattern. FWIW - we try to alias all the standard C functions through a If you see issues that look real or have fixes, we'd be interested, of course. |
Yep, I just ran the clang analyzer on the code and the uninitialized value warnings went away. I guess the fb tool isn't mature enough yet. Sorry for the noise. |
Infer is a static analysis tool written by Facebook that I'm trying on my code base. I found a lot of warnings in xs itself and so decided to report the warnings detected by compiling just
xsc
.Hopefully this is helpful. If you'd like I might find time to submit some PRs to moddable itself if you're open to such contributions?
The text was updated successfully, but these errors were encountered: