|
|
|
# Generated files #
|
|
|
|
###################
|
|
|
|
*.pyc
|
|
|
|
*.specs
|
|
|
|
*.cm*
|
|
|
|
*.o
|
|
|
|
*~
|
|
|
|
*.swp
|
|
|
|
*.annot
|
|
|
|
*.class
|
|
|
|
*.log
|
|
|
|
*.orig
|
|
|
|
*.rej
|
|
|
|
|
|
|
|
# generated by build and tests
|
|
|
|
/_build
|
|
|
|
/_build_logs
|
|
|
|
/infer/tests/codetoanalyze/java/*/codetoanalyze
|
|
|
|
_build_infer
|
|
|
|
*.exp.test*
|
|
|
|
*.dot.test
|
|
|
|
*.test.dot
|
|
|
|
*.test.txt
|
|
|
|
duplicates.txt
|
|
|
|
*.ast.sh
|
|
|
|
*.ast.bdump
|
|
|
|
*.ast.biniou
|
|
|
|
/infer/tests/build_systems/buck_flavors_deterministic/capture_hash-*.sha
|
|
|
|
/infer/tests/build_systems/buck_flavors_diff/src/hello.c
|
|
|
|
/infer/tests/build_systems/buck_clang_test_determinator/diff.mod.test
|
|
|
|
/infer/tests/build_systems/buck_export_changed_functions/diff.mod.test
|
|
|
|
/infer/tests/build_systems/clang_compilation_db_escaped/compile_commands.json
|
|
|
|
/infer/tests/build_systems/clang_compilation_db_relpath/compile_commands.json
|
|
|
|
/infer/tests/build_systems/clang_test_determinator/*.test
|
|
|
|
/infer/tests/build_systems/export_changed_functions/*.test
|
|
|
|
/infer/tests/build_systems/clang_with_MD_flag/hello.d
|
|
|
|
/infer/tests/build_systems/codetoanalyze/mvn/**/target/
|
|
|
|
/infer/tests/build_systems/codetoanalyze/ndk-build/hello_app/libs/
|
|
|
|
/infer/tests/build_systems/codetoanalyze/ndk-build/hello_app/obj/
|
|
|
|
/infer/tests/build_systems/codetoanalyze/path with spaces/
|
|
|
|
/infer/tests/build_systems/codetoanalyze/utf8_*n_pwd
|
|
|
|
/infer/tests/build_systems/codetoanalyze/xcodebuild/simple_app/app_built
|
|
|
|
/infer/tests/build_systems/codetoanalyze/xcodebuild/simple_app/build/
|
|
|
|
/infer/tests/build_systems/diff/src
|
|
|
|
/infer/tests/build_systems/diff_*/src
|
|
|
|
/infer/tests/build_systems/differential_*/**/*.class
|
|
|
|
/infer/tests/build_systems/differential_*/**/Diff*.java
|
|
|
|
/infer/tests/build_systems/genrule/report.json
|
|
|
|
/infer/tests/build_systems/incremental_analysis_remove_file/src
|
|
|
|
/infer/tests/build_systems/incremental_analysis_cost_change/src
|
|
|
|
/infer/tests/build_systems/incremental_analysis_add_procedure/src
|
|
|
|
/infer/tests/build_systems/java_test_determinator/*.test
|
|
|
|
/infer/tests/codetoanalyze/java/classloads/*.loads
|
|
|
|
/infer/tests/codetoanalyze/java/classloads/loads.exp
|
|
|
|
/_release
|
|
|
|
/infer-source
|
|
|
|
|
|
|
|
# generated by oUnit
|
|
|
|
/oUnit-all.cache
|
|
|
|
|
|
|
|
# autoconf-generated stuff
|
|
|
|
/acinclude.m4
|
|
|
|
/aclocal.m4
|
|
|
|
/autom4te.cache
|
|
|
|
/config.status
|
|
|
|
/m4/__GENERATED__*.m4
|
|
|
|
/configure
|
|
|
|
/Makefile.autoconf
|
|
|
|
/.buckversion
|
|
|
|
/*/.gitignore
|
|
|
|
/*/*/.gitignore
|
|
|
|
|
|
|
|
# IntelliJ files
|
|
|
|
/scripts/.idea/
|
|
|
|
/infer/tests/.idea/dictionaries
|
|
|
|
/infer/tests/.idea/inspectionProfiles
|
|
|
|
/infer/tests/.idea/tasks.xml
|
|
|
|
/infer/tests/.idea/uiDesigner.xml
|
|
|
|
/infer/tests/.idea/workspace.xml
|
|
|
|
/infer/tests/.idea/runConfigurations
|
|
|
|
/infer/tests/.idea/copyright/profiles_settings.xml
|
|
|
|
|
|
|
|
# VS code
|
|
|
|
.vscode/
|
|
|
|
.lsp-buck-out/
|
|
|
|
.lsp.buckd/
|
|
|
|
|
|
|
|
# Eclipse settings files
|
|
|
|
ocaml.prefs
|
|
|
|
/infer/.paths
|
|
|
|
/infer/src/.paths
|
|
|
|
org.eclipse.core.resources.prefs
|
|
|
|
|
|
|
|
# Arcanist
|
|
|
|
/arcanist/.phutil_module_cache
|
|
|
|
|
|
|
|
# MacOS generated files
|
|
|
|
.DS_Store
|
|
|
|
|
|
|
|
# Directories and files generated by Infer
|
|
|
|
infer-sources.tar.gz
|
|
|
|
infer-osx-*.tar.xz
|
|
|
|
infer-linux64-*.tar.xz
|
|
|
|
infer-out*
|
|
|
|
|
|
|
|
# Directories generated by buck
|
|
|
|
buck-out/
|
|
|
|
.buckd/
|
|
|
|
|
|
|
|
#other
|
|
|
|
/infer/bin/infer
|
[make] s/ocamlbuild/jbuilder/g
Summary:
Use jbuilder to build infer instead of ocamlbuild. This is mainly to get faster builds:
```
times in 10ms, ±differences measured in speedups, 4 cores
| | ocb total | jb | ±total | ocb user | jb | ±user | ocb cpu | jb | ±cpu | ocb sys | jb | ±sys |
|-----------------------------------+-----------+------+--------+----------+------+-------+---------+-----+------+---------+------+------|
| byte from scratch | 6428 | 2456 | 2.62 | 7743 | 6662 | 1.16 | 138 | 331 | 2.40 | 1184 | 1477 | 0.80 |
| native from scratch | 9841 | 4289 | 2.29 | 9530 | 8834 | 1.08 | 110 | 245 | 2.23 | 1373 | 1712 | 0.80 |
| byte after native | 29578 | 1602 | 18.46 | 4514 | 4640 | 0.97 | 170 | 325 | 1.91 | 543 | 576 | 0.94 |
| change infer.ml byte | 344 | 282 | 1.22 | 292 | 215 | 1.36 | 96 | 99 | 1.03 | 040 | 066 | 0.61 |
| change infer.ml native | 837 | 223 | 3.75 | 789 | 174 | 4.53 | 98 | 99 | 1.01 | 036 | 47 | 0.77 |
| change Config.ml byte | 451 | 339 | 1.33 | 382 | 336 | 1.14 | 97 | 122 | 1.26 | 056 | 80 | 0.70 |
| change Config.ml native | 4024 | 1760 | 2.29 | 4585 | 4225 | 1.09 | 127 | 276 | 2.17 | 559 | 644 | 0.87 |
| change cFrontend_config.ml byte | 348 | 643 | 0.54 | 297 | 330 | 0.90 | 96 | 67 | 0.70 | 038 | 102 | 0.37 |
| change cFrontend_config.ml native | 1480 | 584 | 2.53 | 1435 | 906 | 1.58 | 106 | 185 | 1.75 | 136 | 178 | 0.76 |
#+TBLFM: $4=$2/$3;f2::$7=$5/$6;f2::$10=$9/$8;f2::$13=$11/$12;f2
50 cores
| | ocb total | jb | ±total | ocb user | jb | ±user | ocb cpu | jb | ±cpu | ocb sys | jb | ±sys |
|---------------------+-----------+------+--------+----------+------+-------+---------+----+------+---------+------+------|
| byte from scratch | 9114 | 2061 | 4.42 | 9334 | 5133 | 1.82 | | | 0/0 | 2566 | 1726 | 1.49 |
| native from scratch | 13481 | 3967 | 3.40 | 12291 | 7608 | 1.62 | | | 0/0 | 3003 | 2100 | 1.43 |
| byte after native | 3467 | 1476 | 2.35 | 5067 | 3912 | 1.30 | | | 0/0 | 971 | 801 | 1.21 |
#+TBLFM: $4=$2/$3;f2::$7=$5/$6;f2::$10=$9/$8;f2::$13=$11/$12;f2
```
Menu:
1. Write a jbuild file, autogenerated from jbuild.in because we need to fill in
some information at build-time (really, at configure time, but TODO), such as
whether or not clang is enabled.
2. Nuke lots of stuff from infer/src/Makefile that is now in the jbuild file
3. The jbuild file lives in infer/src/ so it can see all the sources. If we put it somewhere else, eg, infer/, then `jbuilder` scans too many files (all irrelevant) and takes 2.5s to start instead of .8s. Adding irrelevant directories to jbuild-ignore does not help.
4. jbuilder does not support subdirectories, so resort to listing all the
source files in the generated jbuild (only source directories need to be
manually listed in jbuild.in though). Still, the generated .merlin is wrong
and makes merlin find source files in _build, so manually tune it to get
good merlin support. We also lose some of merlin for unit tests as it
cannot see their build artefacts anymore.
5. checkCopyright gets its own jbuild because it's standalone. Also, remove
some deprecation warnings in checkCopyright due to the new version of Core from
a while ago.
6. Drop less-used Makefile features (they had regressed anyway) such as
building individual modules. Also, building mod_dep.pdf now takes all the
source files available so they better build (before, it would only take the
source files from the config, eg with or without clang) (that's pretty minor).
7. The toplevel is now built as a custom toplevel because that was easier. It
should soon be even easier: https://github.com/janestreet/jbuilder/issues/210
8. Move BUILTINS.mli to BUILTINS.ml because jbuilder is not happy about
interface files without implementations.
In particular, I did not try to migrate too much of the Makefile logic to jbuilder,
more can be done in the future.
Reviewed By: jberdine
Differential Revision: D5573661
fbshipit-source-id: 4ca6d8f
7 years ago
|
|
|
/infer/bin/infer.bc
|
|
|
|
/infer/bin/infer.exe
|
|
|
|
/infer/bin/infer-analyze
|
|
|
|
/infer/bin/infer-capture
|
|
|
|
/infer/bin/infer-compile
|
|
|
|
/infer/bin/infer-explore
|
|
|
|
/infer/bin/infer-report
|
|
|
|
/infer/bin/infer-reportdiff
|
|
|
|
/infer/bin/infer-run
|
|
|
|
/infer/bin/InferCreateTraceViewLinks
|
|
|
|
/infer/bin/InferUnit
|
|
|
|
/infer/bin/infertop.bc
|
|
|
|
/infer/bin/llvm_sil
|
|
|
|
/infer/man/man1/*.1
|
|
|
|
/infer/man/man1/*.1.gz
|
|
|
|
|
|
|
|
/infer/src/base/Version.ml
|
|
|
|
/infer/models/java/models/
|
|
|
|
/infer/models/java/models.jar
|
|
|
|
/infer/lib/java/models.jar
|
|
|
|
/infer/models/java/bootclasspath
|
|
|
|
/infer/models/c/out/
|
|
|
|
/infer/models/cpp/out/
|
|
|
|
/infer/models/objc/out/
|
|
|
|
/infer/lib/specs/c_models
|
|
|
|
/infer/lib/specs/clang_models
|
|
|
|
/infer/lib/specs/cpp_models
|
|
|
|
/infer/lib/specs/objc_models
|
|
|
|
/infer/lib/specs/clean_models
|
|
|
|
/scripts/checkCopyright
|
|
|
|
/infer/etc/clang_ast.dict
|
|
|
|
/infer/src/toplevel.mlpack
|
|
|
|
|
|
|
|
# atdgen generated files
|
|
|
|
/infer/src/atd/*_j.ml
|
|
|
|
/infer/src/atd/*_j.mli
|
|
|
|
/infer/src/atd/*_t.ml
|
|
|
|
/infer/src/atd/*_t.mli
|
|
|
|
/infer/src/atd/clang_*.ml
|
|
|
|
/infer/src/atd/clang_*.mli
|
|
|
|
|
|
|
|
# intelliJ files
|
|
|
|
/infer/src/backend/.projectSettings
|
|
|
|
|
|
|
|
# copied from facebook-clang-plugins or generated by atdgen
|
|
|
|
/infer/src/clang_plugin/*.ml
|
|
|
|
/infer/src/clang_plugin/*.mli
|
|
|
|
|
|
|
|
/infer/annotations/annot_classes/
|
|
|
|
/infer/annotations/annotations.jar
|
|
|
|
/infer/annotations/annotations-src.jar
|
|
|
|
infer/src/.project
|
|
|
|
/dependencies/ocamldot/ocamldot
|
|
|
|
/dependencies/ocamldot/ocamldot.ml
|
|
|
|
/infer/src/mod_dep.dot
|
|
|
|
/infer/src/mod_dep.pdf
|
|
|
|
|
|
|
|
# generated by Maven
|
|
|
|
/infer/annotations/target
|
[make] s/ocamlbuild/jbuilder/g
Summary:
Use jbuilder to build infer instead of ocamlbuild. This is mainly to get faster builds:
```
times in 10ms, ±differences measured in speedups, 4 cores
| | ocb total | jb | ±total | ocb user | jb | ±user | ocb cpu | jb | ±cpu | ocb sys | jb | ±sys |
|-----------------------------------+-----------+------+--------+----------+------+-------+---------+-----+------+---------+------+------|
| byte from scratch | 6428 | 2456 | 2.62 | 7743 | 6662 | 1.16 | 138 | 331 | 2.40 | 1184 | 1477 | 0.80 |
| native from scratch | 9841 | 4289 | 2.29 | 9530 | 8834 | 1.08 | 110 | 245 | 2.23 | 1373 | 1712 | 0.80 |
| byte after native | 29578 | 1602 | 18.46 | 4514 | 4640 | 0.97 | 170 | 325 | 1.91 | 543 | 576 | 0.94 |
| change infer.ml byte | 344 | 282 | 1.22 | 292 | 215 | 1.36 | 96 | 99 | 1.03 | 040 | 066 | 0.61 |
| change infer.ml native | 837 | 223 | 3.75 | 789 | 174 | 4.53 | 98 | 99 | 1.01 | 036 | 47 | 0.77 |
| change Config.ml byte | 451 | 339 | 1.33 | 382 | 336 | 1.14 | 97 | 122 | 1.26 | 056 | 80 | 0.70 |
| change Config.ml native | 4024 | 1760 | 2.29 | 4585 | 4225 | 1.09 | 127 | 276 | 2.17 | 559 | 644 | 0.87 |
| change cFrontend_config.ml byte | 348 | 643 | 0.54 | 297 | 330 | 0.90 | 96 | 67 | 0.70 | 038 | 102 | 0.37 |
| change cFrontend_config.ml native | 1480 | 584 | 2.53 | 1435 | 906 | 1.58 | 106 | 185 | 1.75 | 136 | 178 | 0.76 |
#+TBLFM: $4=$2/$3;f2::$7=$5/$6;f2::$10=$9/$8;f2::$13=$11/$12;f2
50 cores
| | ocb total | jb | ±total | ocb user | jb | ±user | ocb cpu | jb | ±cpu | ocb sys | jb | ±sys |
|---------------------+-----------+------+--------+----------+------+-------+---------+----+------+---------+------+------|
| byte from scratch | 9114 | 2061 | 4.42 | 9334 | 5133 | 1.82 | | | 0/0 | 2566 | 1726 | 1.49 |
| native from scratch | 13481 | 3967 | 3.40 | 12291 | 7608 | 1.62 | | | 0/0 | 3003 | 2100 | 1.43 |
| byte after native | 3467 | 1476 | 2.35 | 5067 | 3912 | 1.30 | | | 0/0 | 971 | 801 | 1.21 |
#+TBLFM: $4=$2/$3;f2::$7=$5/$6;f2::$10=$9/$8;f2::$13=$11/$12;f2
```
Menu:
1. Write a jbuild file, autogenerated from jbuild.in because we need to fill in
some information at build-time (really, at configure time, but TODO), such as
whether or not clang is enabled.
2. Nuke lots of stuff from infer/src/Makefile that is now in the jbuild file
3. The jbuild file lives in infer/src/ so it can see all the sources. If we put it somewhere else, eg, infer/, then `jbuilder` scans too many files (all irrelevant) and takes 2.5s to start instead of .8s. Adding irrelevant directories to jbuild-ignore does not help.
4. jbuilder does not support subdirectories, so resort to listing all the
source files in the generated jbuild (only source directories need to be
manually listed in jbuild.in though). Still, the generated .merlin is wrong
and makes merlin find source files in _build, so manually tune it to get
good merlin support. We also lose some of merlin for unit tests as it
cannot see their build artefacts anymore.
5. checkCopyright gets its own jbuild because it's standalone. Also, remove
some deprecation warnings in checkCopyright due to the new version of Core from
a while ago.
6. Drop less-used Makefile features (they had regressed anyway) such as
building individual modules. Also, building mod_dep.pdf now takes all the
source files available so they better build (before, it would only take the
source files from the config, eg with or without clang) (that's pretty minor).
7. The toplevel is now built as a custom toplevel because that was easier. It
should soon be even easier: https://github.com/janestreet/jbuilder/issues/210
8. Move BUILTINS.mli to BUILTINS.ml because jbuilder is not happy about
interface files without implementations.
In particular, I did not try to migrate too much of the Makefile logic to jbuilder,
more can be done in the future.
Reviewed By: jberdine
Differential Revision: D5573661
fbshipit-source-id: 4ca6d8f
7 years ago
|
|
|
|
|
|
|
# dune
|
[make] s/ocamlbuild/jbuilder/g
Summary:
Use jbuilder to build infer instead of ocamlbuild. This is mainly to get faster builds:
```
times in 10ms, ±differences measured in speedups, 4 cores
| | ocb total | jb | ±total | ocb user | jb | ±user | ocb cpu | jb | ±cpu | ocb sys | jb | ±sys |
|-----------------------------------+-----------+------+--------+----------+------+-------+---------+-----+------+---------+------+------|
| byte from scratch | 6428 | 2456 | 2.62 | 7743 | 6662 | 1.16 | 138 | 331 | 2.40 | 1184 | 1477 | 0.80 |
| native from scratch | 9841 | 4289 | 2.29 | 9530 | 8834 | 1.08 | 110 | 245 | 2.23 | 1373 | 1712 | 0.80 |
| byte after native | 29578 | 1602 | 18.46 | 4514 | 4640 | 0.97 | 170 | 325 | 1.91 | 543 | 576 | 0.94 |
| change infer.ml byte | 344 | 282 | 1.22 | 292 | 215 | 1.36 | 96 | 99 | 1.03 | 040 | 066 | 0.61 |
| change infer.ml native | 837 | 223 | 3.75 | 789 | 174 | 4.53 | 98 | 99 | 1.01 | 036 | 47 | 0.77 |
| change Config.ml byte | 451 | 339 | 1.33 | 382 | 336 | 1.14 | 97 | 122 | 1.26 | 056 | 80 | 0.70 |
| change Config.ml native | 4024 | 1760 | 2.29 | 4585 | 4225 | 1.09 | 127 | 276 | 2.17 | 559 | 644 | 0.87 |
| change cFrontend_config.ml byte | 348 | 643 | 0.54 | 297 | 330 | 0.90 | 96 | 67 | 0.70 | 038 | 102 | 0.37 |
| change cFrontend_config.ml native | 1480 | 584 | 2.53 | 1435 | 906 | 1.58 | 106 | 185 | 1.75 | 136 | 178 | 0.76 |
#+TBLFM: $4=$2/$3;f2::$7=$5/$6;f2::$10=$9/$8;f2::$13=$11/$12;f2
50 cores
| | ocb total | jb | ±total | ocb user | jb | ±user | ocb cpu | jb | ±cpu | ocb sys | jb | ±sys |
|---------------------+-----------+------+--------+----------+------+-------+---------+----+------+---------+------+------|
| byte from scratch | 9114 | 2061 | 4.42 | 9334 | 5133 | 1.82 | | | 0/0 | 2566 | 1726 | 1.49 |
| native from scratch | 13481 | 3967 | 3.40 | 12291 | 7608 | 1.62 | | | 0/0 | 3003 | 2100 | 1.43 |
| byte after native | 3467 | 1476 | 2.35 | 5067 | 3912 | 1.30 | | | 0/0 | 971 | 801 | 1.21 |
#+TBLFM: $4=$2/$3;f2::$7=$5/$6;f2::$10=$9/$8;f2::$13=$11/$12;f2
```
Menu:
1. Write a jbuild file, autogenerated from jbuild.in because we need to fill in
some information at build-time (really, at configure time, but TODO), such as
whether or not clang is enabled.
2. Nuke lots of stuff from infer/src/Makefile that is now in the jbuild file
3. The jbuild file lives in infer/src/ so it can see all the sources. If we put it somewhere else, eg, infer/, then `jbuilder` scans too many files (all irrelevant) and takes 2.5s to start instead of .8s. Adding irrelevant directories to jbuild-ignore does not help.
4. jbuilder does not support subdirectories, so resort to listing all the
source files in the generated jbuild (only source directories need to be
manually listed in jbuild.in though). Still, the generated .merlin is wrong
and makes merlin find source files in _build, so manually tune it to get
good merlin support. We also lose some of merlin for unit tests as it
cannot see their build artefacts anymore.
5. checkCopyright gets its own jbuild because it's standalone. Also, remove
some deprecation warnings in checkCopyright due to the new version of Core from
a while ago.
6. Drop less-used Makefile features (they had regressed anyway) such as
building individual modules. Also, building mod_dep.pdf now takes all the
source files available so they better build (before, it would only take the
source files from the config, eg with or without clang) (that's pretty minor).
7. The toplevel is now built as a custom toplevel because that was easier. It
should soon be even easier: https://github.com/janestreet/jbuilder/issues/210
8. Move BUILTINS.mli to BUILTINS.ml because jbuilder is not happy about
interface files without implementations.
In particular, I did not try to migrate too much of the Makefile logic to jbuilder,
more can be done in the future.
Reviewed By: jberdine
Differential Revision: D5573661
fbshipit-source-id: 4ca6d8f
7 years ago
|
|
|
/infer/src/_build
|
|
|
|
/infer/src/dune.common
|
|
|
|
/infer/src/dune
|
|
|
|
/infer/src/atd/dune
|
|
|
|
/infer/src/base/dune
|
|
|
|
/infer/src/IR/dune
|
|
|
|
/infer/src/istd/dune
|
|
|
|
/infer/src/scripts/dune
|
|
|
|
/infer/src/dune-workspace
|
|
|
|
.merlin
|
|
|
|
|
|
|
|
# generated when looking for dead code
|
|
|
|
/infer/src/deadcode/.depend
|
|
|
|
/infer/src/deadcode/all_ml_files
|
|
|
|
/infer/src/deadcode/all_ml_files_copied
|
|
|
|
/infer/src/deadcode/dune
|
|
|
|
/infer/src/deadcode/*.ml
|
|
|
|
/infer/src/deadcode/*.mli
|
|
|
|
_opam
|
|
|
|
_coverage
|