Comments (5)
Hi Martin,
You are not doing anything wrong--looks like there's an issue with Infer's Gradle support. The Gradle wrapper is quite primitive and just looks for calls to javac
in the verbose output for Gradle. For some reason, these calls do not appear for your compileJava
rule (I suspect it has something to do with the `ant options?).
I was able to get a little further by bypassing Gradle with find src/main/ -name *.java | xargs infer -- javac -cp .:lib/*
from bixie/tool/
, but then I ran into #3. We're working on fixing both that and the Gradle problem; thanks for the report!
from infer.
Hi Sam ... small world! Are you with Facebook now? I'll follow the other issue as well then. Are you going to release a new version or should I build from source?
from infer.
Hi Martin,
Yes, I work at FB part-time now and am joining full-time in the fall! I am not sure what our policy on releasing new binaries is going to be--my guess is that we'll push bugfixes to source ASAP but that we will only release binaries for new major versions. So it might be worthwhile to try building from source.
from infer.
Ok. The gradle problem is that I do some aspect weaving stuff which overrides the compileJava task. Once my I remove line 43 and 44-65 in build.gradle it finds everything but runs into the exception which you mentioned in the other issue. Thanks.
from infer.
Hi @martinschaef , #3 has been closed by the latest Infer release and it looks like this would solve your issue too. Feel free to reopen if v0.1.1 doesn't fix it for you.
from infer.
Related Issues (20)
- 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
- False positive memory leak on loop HOT 4
- Dockerfile: US-ASCII locale causes crash on UTF-8 input
- How to add extra nullability condition to NULL_DEREFERENCE checking
- Is Adding a C++ Infer Port to the VSCode Plugin on the Roadmap? HOT 3
- [java] A false negative about the rule NULL_DEREFERENCE
- [java] A false positive about the rule THREAD_SAFETY_VIOLATION
- `--biabduction-unsafe-malloc` doesn't assume that `calloc()` and `realloc()` never return null HOT 1
- Error building the `Resource Leak analysis` lab in docker
- False positive Uninitialized Value in C code
- Need help when using infer run or capture during maven compilation HOT 1
- Query on --changed-files-index option HOT 3
- Meta leak HOT 1
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.