Dulma Rodriguez
ea3e614cce
[clang] Adding support for NSMakeCollectable and CFMakeCollectable
...
Summary:
@public
Adding support for NSMakeCollectable and CFMakeCollectable.
Fixes issue https://github.com/facebook/infer/issues/116
Test Plan:
Tested on the example of the issue https://github.com/facebook/infer/issues/116
and we don't get the leak there anymore.
10 years ago
Dulma Rodriguez
d15e60ffbf
[clang] Translating nonnull attributes as assertions
10 years ago
Cristiano Calcagno
a87bedb5dd
[Bucketing] Promote NPEs originating from a call with a null parameter to bucket b1.
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
Dulma Rodriguez
510fc4ed25
[clang] Sorting the fields in structs and classes. Was needed in the backend and forgotten.
...
Summary:
@public
Sorting the fields in structs and classes. Was needed in the backend and forgotten.
Fixes the github issue https://github.com/facebook/infer/issues/90 .
Test Plan: Added a new test that shows that we now get a spec for the example from the github issue.
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
Sam Blackshear
d7a4474d90
[Infer][angelic] Adding angelic abduction on actuals passed by reference
10 years ago
Dino Distefano
9a93c2ed46
Dealing with __weak/__unsafe_unretained modifier for ivars
10 years ago
Dino Distefano
404444d182
Fixed models for FILE C functions.
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
Dulma Rodriguez
34b911c935
[clang] Fixing the tests for the models of getc.
10 years ago
Dino Distefano
3ce393f511
Fixed model for getc and fgetc
10 years ago
Open Source Synchronization
b8982270f2
initial synchronization
10 years ago