Jules Villard
ca613a77ff
[copyrightor] format start and end of copyright comments
...
Summary:
The script now reformats the start and end of comments if necessary.
9 years ago
Cristiano Calcagno
3e199467f4
Complete copyright messages.
10 years ago
Cristiano Calcagno
df04749cd0
Add module to fix copyright messages.
10 years ago
jrm
ef27abcc8f
[infer][tracing] disabling non working tests for ArrayIndexOutOfBoundsException
...
Summary:
Temporarily disabling these tests since they are fragile and are, for some reason, failing as soon as I modify the Java models.
10 years ago
Cristiano Calcagno
a94fab55e8
[Eradicate] Fix issue where direct throw instructions were not handled like method calls that trow exceptions.
10 years ago
jrm
8779b80f8a
[infer][tracing] add an example of inter-procedural array out of bounds error
...
Summary:
In tracing mode, Infer can compute pre-condtions for hitting a array access out of bounds. Adding a small such example in the tests.
10 years ago
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