Comments (4)
Hello, @danielmercier. Can I ask which version of Infer you used? Using a recent master version, I could not reproduce the issue.
~/test $ infer --pulse-only -- clang++ -c a.cpp
Capturing in make/cc mode...
Found 1 source file to analyze in /Users/scho/test/infer-out
a.cpp starting
a.cpp DONE
No issues found
from infer.
Hello, @danielmercier. Can I ask which version of Infer you used? Using a recent master version, I could not reproduce the issue.
~/test $ infer --pulse-only -- clang++ -c a.cpp Capturing in make/cc mode... Found 1 source file to analyze in /Users/scho/test/infer-out a.cpp starting a.cpp DONE No issues found
I'm using the master version of infer. I think memory leak detection is not enabled by default.
I launched infer with the following command line to enable memory leaks on c++:
infer --pulse-only --enable-issue-type MEMORY_LEAK_CPP -- clang++ -c main.cpp
from infer.
I see. Thank you for the confirmation. Some issues are disabled by default usually when their precision is not good enough, like the MEMORY_LEAK_CPP
case above.
That being said, thank you for the report. We will look into the example you gave when we improve the analysis in the future.
from infer.
Related Issues (20)
- false positive resource of type `javax.net.ssl.HttpsURLConnection` HOT 2
- Does infer provide pointer analysis, and how can I get the call graph. HOT 1
- pulse NULLPTR_DEREFERENCE False negative when run the java example in checker-pulse doc
- [Biabduction] [Objective-C] Retain Cycle not work when wrapping cycles.
- Unable to assign multiple jobs when running infer inside docker
- "Uncaught Internal Error" somebody help me pleazzz
- Stuck when analyzing big projects written in c and c++ HOT 3
- [brew] Error: infer has been disabled because it does not build! HOT 5
- Not working on CocoPod project
- install from source faild, fatal error: 'cstddef' file not found HOT 3
- C Simple memory leak cannot be detected HOT 1
- [java] DEADLOCK: False Negative in Infer analysis results after converting anonymous classes to lambda expressions HOT 1
- [java] STARVATION: False Negative in Infer analysis results after converting anonymous classes to lambda expressions HOT 1
- False positive of Infer/Pulse when `std::unique_ptr` is used with no throw `new` HOT 2
- how to use --custom-symbols?
- How to check custom malloc and free functions for memory leak?
- can infer find out all suspecious bugs? HOT 2
- java: Infer injects outdated, buggy maven-compiler-plugin version 3.8.0
- Dockerfile: US-ASCII locale causes crash on UTF-8 input
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infer.