-
Notifications
You must be signed in to change notification settings - Fork 57
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
Infer results on Elina #28
Comments
cc @mbouaziz |
Hi Sungkeun, Thanks for your detailed feedback. I just quickly looked through the reported issues and agree that there might be DEAD_STORES. Regarding NULL_DEREFERENCES, currently, it is assumed that the call to malloc or calloc always succeeds as the analysis cannot proceed otherwise. This is done for enhancing performance as adding checks that always pass creates overhead. I will look into more detail if any of these can lead to a bug and let you know. Cheers, |
Hi Sungkeun, I have fixed all dead stores except the few I think are not quite correctly reported by Infer. It seems that the majority of the stores were useful at some point but my text editor gedit could not detect when they became irrelevant. I will try to fix other signals reported by Infer soon. Cheers, |
Hi Gagan, Thank you for the fix. I was impressed that there are some cases where not simply removing a redundant store, but also fixing its semantics, e.g., changing Note that the other type of signals, especially buffer overrun checker's Sincerely, |
Hi Sungkeun, Indeed, that is why I will keep the issue around till I fix all issues reported by infer and inferbo as some may be genuine bugs. Cheers, |
Hello Gagan,
I tried running our analyzer Infer on Elina and got some signals. I report this because I thought you may be interested in addressing the signals and making Elina more stable. Full report is here.
malloc
ed pointers are used without null checks.Sincerely,
Sungkeun
The text was updated successfully, but these errors were encountered: