-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add support for handling abnormal control flow #70
Comments
Another case is For example, I am getting a lot of false positives for
|
One thing to consider here is that many production systems wrap built–in panic calls to have errors reported to some error tracking system. Case in point: Uber's own zap (Panic, Panicf, etc). It would be cool if nilaway could recognise such wrappers automatically but even being able to supply a list of known terminal functions would be good enough (more than just stdlib's log.Fatal). |
Also: |
The support for terminal function calls should already be supported since Users using OSS drivers should be automatically covered. For bazel/nogo users, please wait for merge of golang/tools#497 upstream (or apply that patch locally). Please let us know if NilAway is still not treating those functions correctly. 😄 This issue will be kept open, but only for tracking support for |
Addressed in PR #252 . |
Go exposes "abnormal" control flow primitives, such as the following
Currently, NilAway reports false positives in these cases. We must ensure that NilAway's models account for the result of using these primitives.
The text was updated successfully, but these errors were encountered: