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

can infer find out all suspecious bugs? #1782

Open
JiandongLu opened this issue Jul 27, 2023 · 2 comments
Open

can infer find out all suspecious bugs? #1782

JiandongLu opened this issue Jul 27, 2023 · 2 comments

Comments

@JiandongLu
Copy link

JiandongLu commented Jul 27, 2023

currently I's using infer 1.1.0.
but i am curious the question : can infer find out all suspecious bugs epsecially mem leak bugs?
if not, is there an open source tool can do ?

thanks

@SolomonSun2010
Copy link

任何工具都不能找出所有的可疑bugs。例如,你如何定义C++、或Java/Android中的内存泄露问题,并让工具完全理解?同时,工具也要跟语言版本与时俱进。
除非你使用内存安全的语言,例如像Rust。

@hajduakos
Copy link
Contributor

No, Infer is underapproximate by nature, which means that it tries to minimize false positives, while potentially having false negatives (missing bugs). Software model checkers aim to not have false negatives, however they often suffer from performance issues in practice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants