Jules Villard
34aa9c2949
[infer][java] handle int boxing in HashMap model
...
Summary:
@public
Adds a special case for comparing Integer instances. Makes the tests more
relevant too.
Test Plan: - Added a new test
10 years ago
Jules Villard
904ebb0154
[infer][java] model for Integer
...
Summary:
@public
This adds an Infer model for the Integer class in Java.
Test Plan: Manually inspected the specs, and added a test.
10 years ago
Sam Blackshear
f6784e3796
[infer][models] Fixing InferAssume
...
Summary:
@public
Using InferBuiltins.assume previously caused an assertion failure in the analyzer. Fixed this, and fixed the implementation of the assume builtin to block when the assumed condition cannot hold.
Test Plan: Added several new tests.
10 years ago
Cristiano Calcagno
bec5bafc72
[java] Upstream support for class names with $dollar (requires "opam update")
10 years ago
jrm
f0026006e7
[infer][java] add working example with closeQuietly in the tests
...
Summary:
@public
Using the Closeable as resource approach allows to deal with the case of user defined varations of closeQuietly
Test Plan: Infer CI.
10 years ago
Cristiano Calcagno
dd066c828c
[Checkers] checker for printf format strings.
10 years ago
jrm
224f3116ce
[infer][java] remove no longer required fields in the models for Java
...
Summary:
@public
The models for Java no longer require to keep the original fields since we now make the union of the fields from the models and the fields from the code to analyze.
Test Plan: Infer CI. No functional change intended.
10 years ago
jrm
2b7060e917
[infer][Java] Treat classes implementing Closeable as a resource unless modeled otherwise
10 years ago
jrm
7a767fe900
[infer][Java] use the containsExactly matcher for resource leak tests
10 years ago
jrm
2bce7c6c3d
[infer][Java] rename the builtin `InferBuiltins.__infer_assume` into `InferBuiltins.assume`
10 years ago
Open Source Synchronization
b8982270f2
initial synchronization
10 years ago