Skip to content
A static analyzer for Java, C, C++, and Objective-C
OCaml Java C++ Standard ML C Objective-C Other
Branch: master
Clone or download
dulmarod and facebook-github-bot [selfInBlock] Add a new check when strongSelf is captured in a (sub)b…
…lock.

Summary:
Adding a new check as part of the SelfInBlock checker, for cases when a strong pointer to self, that is not self, is captured in the block.
This will cover the following wrong scenarios:

1. strongSelf is a local variable in a block as it should be, and then it's used in a sub-block, in which case it's a captured variable.
2. weakSelf is defined without the weak attribute by mistake.

Reviewed By: ngorogiannis

Differential Revision: D19538036

fbshipit-source-id: 151871745
Latest commit b1eb969 Jan 24, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dependencies [copyright] Remove years Jun 13, 2019
docker [infer] Update docker build script Jan 13, 2020
examples [copyright] Remove years Jun 13, 2019
facebook-clang-plugins @ 72eea5b Fix segmentation fault in docker master build in Debian10 Jan 24, 2020
infer [selfInBlock] Add a new check when strongSelf is captured in a (sub)b… Jan 24, 2020
m4 [copyright] Remove years Jun 13, 2019
scripts [inferbo] Revert external relational domains (apron, elina) Dec 16, 2019
sledge [sledge] Classify Memory and Concat terms as Simplified Jan 15, 2020
.buckconfig [infer][genrule] Add example of Buck DEFS macro to generate Infer ana… Dec 10, 2016
.clang-format fix sync mishaps Jun 21, 2016
.gitignore [infer] Add .lsp.buckd/ and .lsp-buck-out/ to gitignore Dec 6, 2019
.gitmodules [infer] Add facebook clang plugins submodule Aug 18, 2015
.inferconfig [java] Add command-line option to specify external Java packages Mar 2, 2018
.ocamlformat [ocamlformat] Move .ocamlformat config file to the project root Apr 2, 2019
.travis.yml [infer][PR] Fix CI Dec 18, 2019
CODE_OF_CONDUCT.md [infer][PR] Update CODE_OF_CONDUCT.md Aug 2, 2018
CONTRIBUTING.md [infer][PR] Fix the ppx_deriving issue URL Nov 6, 2019
CONTRIBUTORS Inferbo Jan 31, 2017
FILES.md [trace] infer subcommand for inferTraceBugs Aug 4, 2017
INSTALL.md [inferbo] Revert external relational domains (apron, elina) Dec 16, 2019
ISSUE_TEMPLATE.md [github] add issue and PR templates Feb 7, 2019
LICENSE [copyright] Remove years Jun 13, 2019
Makefile [buck] no more tests for the deprecated java integration Dec 20, 2019
Makefile.autoconf.in [inferbo] Revert external relational domains (apron, elina) Dec 16, 2019
Makefile.config [buck] kill python code for the dead Java integration Jan 14, 2020
PULL_REQUEST_TEMPLATE.md [github] add issue and PR templates Feb 7, 2019
README.md Change license to MIT May 31, 2018
autogen.sh [copyright] Remove years Jun 13, 2019
build-infer.sh [ocaml] 4.08.1 Dec 4, 2019
configure.ac [inferbo] Revert external relational domains (apron, elina) Dec 16, 2019
dotbuckversion [buck] fix version hashes Oct 10, 2019
install-sh [utils] Add CTypes binding of fts and implement remove_directory_tree Nov 20, 2016
opam Upgrade opam dependencies for Javalib 3.2 release Jan 14, 2020
opam.locked Upgrade opam dependencies for Javalib 3.2 release Jan 14, 2020

README.md

Infer Build Status

Infer is a static analysis tool for Java, C++, Objective-C, and C. Infer is written in OCaml.

Installation

Read our Getting Started page for details on how to install packaged versions of Infer. To build Infer from source, see INSTALL.md.

Contributing

See CONTRIBUTING.md.

License

Infer is MIT-licensed.

Note: Enabling Java support may require you to download and install components licensed under the GPL.

You can’t perform that action at this time.