You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nikos Gorogiannis
757f6ee829
[scheduler][static callgraph] remove lazy init now that it's enforced in ProcessPool
...
Summary:
Building the call graph should be done only in the scheduler process after having forked all workers. This was achieved by a lazy init pattern, whereby the first time `next` was called, it would build the call graph, on the assumption that `next` is only ever called in the scheduler after forking.
D19769741 made this compulsory regardless the scheduler by passing a thunk to `ProcessPool` which is called to obtain the actual scheduler, on the right process and after the fork.
This means we don't need the custom lazy init logic any more. In addition, that set up used a DB query to overapproximate the number of procedures to analyse, because this was supposed to be provided *before* forking. Now this is also not needed, and on top of that we can provide the exact number after building the call graph.
Reviewed By: ezgicicek
Differential Revision: D19833974
fbshipit-source-id: 7f6d51d93
5 years ago
dependencies
[copyright] Remove years
6 years ago
docker
[infer] Update docker build script
5 years ago
examples
[copyright] Remove years
6 years ago
facebook-clang-plugins @ 0f3c72a62f
Bump facebook-clang-plugin
5 years ago
infer
[scheduler][static callgraph] remove lazy init now that it's enforced in ProcessPool
5 years ago
m4
[copyright] Remove years
6 years ago
scripts
[scripts] delete check_hash_collisions.py
5 years ago
sledge
[sledge sem] Fix global variables
5 years ago
.buckconfig
[infer][genrule] Add example of Buck DEFS macro to generate Infer analysis targets
8 years ago
.clang-format
fix sync mishaps
9 years ago
.gitignore
[infer] Add .lsp.buckd/ and .lsp-buck-out/ to gitignore
5 years ago
.gitmodules
[infer] Add facebook clang plugins submodule
10 years ago
.inferconfig
[java] Add command-line option to specify external Java packages
7 years ago
.ocamlformat
[ocamlformat] Move .ocamlformat config file to the project root
6 years ago
.travis.yml
[infer][PR] Fix CI
5 years ago
CODE_OF_CONDUCT.md
[infer][PR] Update CODE_OF_CONDUCT.md
7 years ago
CONTRIBUTING.md
[infer][PR] Fix the ppx_deriving issue URL
5 years ago
CONTRIBUTORS
Inferbo
8 years ago
FILES.md
[trace] infer subcommand for inferTraceBugs
8 years ago
INSTALL.md
[inferbo] Revert external relational domains (apron, elina)
5 years ago
ISSUE_TEMPLATE.md
[github] add issue and PR templates
6 years ago
LICENSE
[copyright] Remove years
6 years ago
Makefile
@allow-large-files [ocaml] upgrade core to v13
5 years ago
Makefile.autoconf.in
[inferbo] Revert external relational domains (apron, elina)
5 years ago
Makefile.config
[buck] kill python code for the dead Java integration
5 years ago
PULL_REQUEST_TEMPLATE.md
[github] add issue and PR templates
6 years ago
README.md
Change license to MIT
7 years ago
autogen.sh
[copyright] Remove years
6 years ago
build-infer.sh
[ocaml] 4.08.1
5 years ago
configure.ac
[inferbo] Revert external relational domains (apron, elina)
5 years ago
dotbuckversion
[buck] fix version hashes
5 years ago
install-sh
[utils] Add CTypes binding of fts and implement remove_directory_tree
8 years ago
opam
@allow-large-files [ocaml] upgrade core to v13
5 years ago
opam.locked
@allow-large-files [ocaml] upgrade core to v13
5 years ago
Infer
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.