391 Commits (9945cc949501b940411c18ae3748d637fc700d6b)

Author SHA1 Message Date
Jules Villard 4fde351565 [processpool] collect results from children
6 years ago
Nikos Gorogiannis af12e55344 [buck/java2] rely on (and modify) PATH to find infer binary to improve caching
6 years ago
Jules Villard 128f37985d [ocaml] upgrade most dependencies
6 years ago
Martin Trojer 124036ea0b New faster version of Diff/Test-Determinator
6 years ago
Nikos Gorogiannis 2f21d223ac [buck] don't fail on empty list of targets found from query
6 years ago
Nikos Gorogiannis 97c41120ae [buck/java2] eliminate project root config flag
6 years ago
Artem Pianykh 046132b4c5 [infra] Collect low-prio logs during execution and flush them to Scuba at the end in one go
6 years ago
Josh Berdine cfc1c8be36 [copyright] Remove years
6 years ago
Nikos Gorogiannis 733a29e44b [buckjava2] Move genrule capture integration logic from shell to OCaml
6 years ago
Nikos Gorogiannis d3cf79a095 [buckjava2] integration
6 years ago
Martin Trojer f05d98321a only add --blacklist-regex flag in buck mode
6 years ago
Mitya Lyubarskiy 03927af1d0 [infer][realtime log] initial scuba API
6 years ago
Martin Trojer e7ad99eed0 Using DB to store modified functions
6 years ago
Nikos Gorogiannis 5a18ad5c69 [tasks] relax task generator interface contract
6 years ago
Nikos Gorogiannis 65824ed7a9 [tasks] move to a task generator interface
6 years ago
Martin Trojer 52fd4c50de Clang Diff Determinator
6 years ago
Josh Berdine 4acad5ca90 [ocamlformat] upgrade ocamlformat to 0.9
6 years ago
David Lively 757460ade7 [buck] introduce --buck-targets-blacklist so fbcode can exclude targets incompatible with C++ modules
6 years ago
Ezgi Çiçek ce190547a5 [java] Add support for openjdk11
6 years ago
Nikos Gorogiannis e3a4a11ec8 [buck][java] clean more
6 years ago
Nikos Gorogiannis d1697fc34c [driver] delete DB file in buck/java
6 years ago
Nikos Gorogiannis 4031c7e4a0 [multicore] is dead
6 years ago
Nikos Gorogiannis 374538a02f [crashcontext] die
6 years ago
Mehdi Bouaziz bc1e048fe3 [compilation database] Disable C++ modules
6 years ago
Nikos Gorogiannis ab046a4128 memcached intra-build
6 years ago
Mehdi Bouaziz 2a60a988e7 [buck] Update parameters with arguments list
6 years ago
Jules Villard c257f68226 [kill -a][0/4] do not rely on `Config.analyzer`
7 years ago
Vincent Siles 69f8ebaef6 have infer automatically figure out when `--merge` is needed
7 years ago
Jules Villard 6837629654 [perf] emit Trace Event json
7 years ago
Martin Trojer f1353ec3da Turn --buck-blacklist into a string list
7 years ago
dWiGhT 704c7cf680 [infer][PR] added `<version>` tag for `maven-compiler-plugin`
7 years ago
Nikos Gorogiannis bca942c694 [python] kill python frontend
7 years ago
Andrey Epin 77744eda97 [infer][java] add support for Buck compilation commands with no source files
7 years ago
Jules Villard 817f83972c [epilogues] do not rely on `at_exit`
7 years ago
Martino Luca e46bf6a3d9 [Perf] Perform comparisons of costs-reports by using costs-report.json files
7 years ago
Ezgi Çiçek 50e6d491ca [java] Add support for blacklisting in capture mode for Javac
7 years ago
Martino Luca 808dd8ee91 [Perf] Merge costs report files coming from buck-based analyses
7 years ago
Josh Berdine 40ab73037e [ocamlformat] upgrade to ocamlformat 0.7
7 years ago
Martin Trojer 451f8f1efa Add --Xbuck-no-inline and --Xclang flags to enable jackalope/ios builds.
7 years ago
Katie Ots d86737946c Validate buck linters used with compilation database
7 years ago
Jules Villard c53f35fcf2 [taskbar] migrate compilation db jobs from `Parmap` to `Tasks`
7 years ago
Katie Ots 9670d3c700 [Lint] Remove misleading error when running linters only
7 years ago
Jules Villard 36f8d8f869 [lint] linter to force every file to `open! IStd`
7 years ago
Jules Villard 8461786f02 [cli] remove support for deprecated `infer -- analyze`
7 years ago
Jules Villard 4fabf03583 [integrations] support forcing integration in python too
7 years ago
Jules Villard 8b882ac1df Change license to MIT
7 years ago
Martino Luca f46034cfb3 [Test determinator] Better logging through debug flags
7 years ago
Martino Luca d803dc9048 [Test determinator] Minor refactoring
7 years ago
Dino Distefano 405928ad59 [Test determinator] Improving the search of affected methods and dealing with signature
7 years ago
Martino Luca 782f298674 [Test determinator] Minor fixes
7 years ago
Jules Villard 575fd04a6e [build] move testDeterminator.mli too
7 years ago
Dino Distefano 9b18d87427 Moved TestDeterminator module
7 years ago
Jeremy Dubreil 8ce79a0613 [infer][backend] no longer rely on make to drive the Infer internal parallelism
7 years ago
Jules Villard dfe2ad5229 [camel] call `Format.pp_print_*` directly where appropriate
7 years ago
Jules Villard 1fd11ee3cc [log] add colors to console output
7 years ago
Dulma Churchill 7533092037 [clang] Make the frontend with compilation database fail with compilation errors
7 years ago
Jules Villard ce0ffaf877 [ocaml] detect and kill dead modules
7 years ago
Jules Villard 9a56e7485e [driver] small refactor to share more code
7 years ago
Josh Berdine 16988b0a7a [ocamlformat] Upgrade to ocamlformat 0.5
7 years ago
Jules Villard 80d83c2eea [istd] `Format.pp_print_string` is a thing, use it
7 years ago
Varun Arora fda0871030 [reporting] fix reporting of total_frontend and total_backend stats
7 years ago
Jules Villard 63e04a55a0 [buck] disable buckd systematically
7 years ago
Jules Villard 84d3144c98 [istd] break IStd.ml into sensible components
7 years ago
Varun Arora 07b0703513 [reporting][perf] report total frontend and total backend time perf stats
7 years ago
Varun Arora 00744a888a [reporting][perf] PerfStats directly resolves filename - no need to pass as parameter
7 years ago
Jules Villard e48cc3a370 [capture] store compilation db arguments one per line
7 years ago
Jules Villard 1f04a5eda0 [IList] move to base/ and use Core
7 years ago
Varun Arora 266ae2ed6e [reporting][perf] designate frontend perf stats as either Capture or Linters in EventLogger
7 years ago
Varun Arora 892eeb13f7 [bugfix] fix double logging of backend perf stats
7 years ago
Varun Arora 4cd110b85f [logging] Move Driver perf stats to driver_stats directory
7 years ago
Varun Arora 5d6951a545 [logging] Always log PerfStats to EventLogger
7 years ago
Varun Arora 37720e1bbf [logging] performance stats logging via EventLogger
7 years ago
Josh Berdine 3534838b73 [ocamlformat] Upgrade to ocamlformat 0.4
7 years ago
Jules Villard 1d80ce37ab [pp] print contents of argfiles, recursively, on error
7 years ago
Jules Villard 70c2a50b4e [db] record symbolic capture timestamps for source files
7 years ago
Jeremy Dubreil 432ba7f447 [infer][buck] remove the "captured" subdirectory for Java projects
7 years ago
Jules Villard ac92e13292 [cleanup] delete useless `Driver.Infer_error` exception
7 years ago
Jules Villard daa5154399 [capture] get rid of call graphs
7 years ago
Jules Villard 66ad5c3018 [driver] persist some global state across infer runs
7 years ago
Jules Villard 0c9b025857 [clopt] move command datatype to new InferCommand
7 years ago
Mehdi Bouaziz d0a30d61c4 [buck] Closed regexes to filter target kinds
7 years ago
Jules Villard 4b1a7b1771 [cleanup] remove dead code
7 years ago
Vladimir Silyaev a0dfd699a8 [infer][PR] Clean temporary files created by the clang frontend
7 years ago
Josh Berdine 63439ecc02 [ocamlformat] Upgrade base and ocamlformat
7 years ago
Jules Villard a91e7dda50 [cfg] move cfgs to sqlite
7 years ago
Jules Villard 5ce024bf6e [clang] do not error on bogus arguments to `fsanitize`
7 years ago
Sam Blackshear adde940be4 [cleanup] kill stats_mode option
7 years ago
Jeremy Dubreil 1a4316065a [infer] no longer create the CSV report
7 years ago
Jeremy Dubreil 97927f6f46 [infer][checkers] remove the `-a biabduction` option and the related code
7 years ago
Jules Villard 2ff05385dc [driver] do not run the analysis in Buck flavors sub-processes
7 years ago
Mehdi Bouaziz cdd3208cd6 [buck] Automatically filter target kinds on target patterns and aliases
7 years ago
Mehdi Bouaziz 262bb4171d [buck] Non compilation-database do not support _test targets
7 years ago
Josh Berdine f62ab09e61 [ocamlformat] Upgrade ocamlformat to v0.2 from opam
7 years ago
Martino Luca 259beab26a [Infer] Refactor sqlite-related code into its own module
7 years ago
Jules Villard 185e7f7131 [java] support Java9
7 years ago
Mehdi Bouaziz a2f69050ac [buck] Unify buck command line arguments recognition, buck query invocation, and support target patterns and aliases
7 years ago
Jules Villard 71ed554c57 [cli] introduce `--linters` and `--capture`
7 years ago
Jules Villard df0491272c [compilation db] add support for commands with `"arguments" and no `"command"` field
7 years ago
Jules Villard 1b4a5729ed [buck] filter out incompatible options for the `targets` subcommand
7 years ago
Josh Berdine f89e687efa [ocamlformat] Use ocamlformat from github
7 years ago
Jules Villard e56af27b38 [driver] add a way to force infer to use a particular integration
7 years ago
Jules Villard e5ee17e8aa [buck] do not bin the contents of buck-out if --continue is passed
8 years ago
Martino Luca 929c9c07a1 Use Spawn.spawn instead of Unix.fork_exec to avoid swallowing exceptions while invoking execve
8 years ago
Dulma Churchill c9be3c9f94 [integration] Support buck integration with compilation db when passing @mode/... arguments
8 years ago
Jules Villard b54c44e5a0 [cli] enable --fail-on-issue for commands other than run
8 years ago
Jules Villard 65a53a0c63 [cli] do not regenerate report.json when printing specs to stdout
8 years ago
Jules Villard 97efcd426f [sql] clean up temp files after running
8 years ago
Jules Villard 2adf654950 [sql] add proc attributes DB
8 years ago
Dulma Churchill de162c86ab [cleanup] Do not create captured folders when only linting
8 years ago
Dulma Churchill 0212aaf81f [stats] Emit the stats only in developer mode
8 years ago
Mehdi Bouaziz bb15aba766 [log] Even better exception reraising
8 years ago
Martino Luca 35ad7dd8bf [AL] Use Parmap to schedule parallel processes on compilation-database-based analyses
8 years ago
Jules Villard 0cc371d0a2 [driver] remove infer-clang fake command
8 years ago
Jules Villard c07cd81392 [log] better exception reraising
8 years ago
Martino Luca 740e9973d6 Replace existing calls to `exit` with InferExit exceptions to better control flow of executions
8 years ago
Dulma Churchill 5f9c020570 [buck integration] Support passing targets by file to buck in both the compilation database integration and the flavors integration
8 years ago
Sam Blackshear 81c68a34cd [infer] python integration: parser, cfg support
8 years ago
Jules Villard 1c375a17ac [log] die more appropriately
8 years ago
Jules Villard 8fd9d40ca8 [cleanup] use constant strings in `Config` for dir names
8 years ago
Dulma Churchill 3589773bf7 [buck integration] Add a dependency depth option
8 years ago
Jules Villard ebbc202342 [help] in infer --help, show in which manual each option can be found
8 years ago
Dulma Churchill cb4cf39d49 [buck integration] Pass targets to buck in a file
8 years ago
Jules Villard 5074388e25 [buck] always create multilinks for attribute files
8 years ago
Dulma Churchill 931d4442c8 [buck integration] Add buck flavor option to use for getting dependencies
8 years ago
Dulma Churchill 76629ee9a4 [buck integration] Implement a way of getting the compilation database for dependencies of given targets
8 years ago
Jules Villard de86c12a9a [diff] suppress console output in report called from diff analysis
8 years ago
Jules Villard 6a4e4d4b6a [diff] support for --gen-previous-build-command-script
8 years ago
Jules Villard 766a73d80c [buck flavors] make `infer run ...` use #infer-capture-all
8 years ago
Jeremy Dubreil 99b412e165 [infer][checkers] remove the Eradicate analyzer option
8 years ago
Jeremy Dubreil a292620a69 [infer][backend] No longer swallow the process failures unless --keep-going is passed from the command line
8 years ago
Jeremy Dubreil 7680c83f45 [infer][build] enable the OCaml compiler unused value declaration warning
8 years ago
Jules Villard 854b8f30bd [CLI] always pass --issues-txt to the report hook script
8 years ago
Jules Villard 0c7f08d29d [wibble] `driver_mode` -> `mode` in `Driver` module
8 years ago
Jules Villard 833b093174 [diff] make use of --changed-file-index
8 years ago
Jules Villard a5393e9a37 [diff] set reactive when `infer-diff` is invoked
8 years ago
Jules Villard 3c215b8484 [diff] run driver prologue and epilogue before diff analysis
8 years ago
Jules Villard ed0da85f6c [python] kill unused --android-harness option
8 years ago
Jules Villard fb9cad4ea7 [utils] `Utils.dir_is_empty` was always returning `false`
8 years ago
Jules Villard 297254d15e [buck] create log files erase at the end of the run
8 years ago
Jules Villard d07c8a0403 introduce new "diff" command
8 years ago
Jules Villard b0c2cfd7d4 [config] kill --bugs-json option
8 years ago
Jules Villard 9a2746c143 [make] fix javac capture
8 years ago
Josh Berdine 6bbb186ce2 [format] Attach docstrings to be warning 50 clean, other doc fixes
8 years ago
Jules Villard 36b6ab1779 [log] die in a proper fashion
8 years ago
Josh Berdine bab3d81cb0 Convert Reason to OCaml, and auto-format OCaml
8 years ago
Josh Berdine f07de2d9c9 Replace long structured string literals with 'quoted strings'
8 years ago
Jules Villard 3ed48e3196 [mvn] handle weird xml
8 years ago
Josh Berdine e04dd37df3 update opam deps
8 years ago
Jules Villard 2f569e2b97 [driver] move things around
8 years ago
Jules Villard 83148a71aa [rundiff] thread the changed files list through the code instead of using the Config-time value
8 years ago
Jules Villard ba5e04cf39 [clang] save temporary clang commands into /tmp
8 years ago
Jules Villard 93cc3266e8 [log] log to a single file with different categories and debug levels
8 years ago
Jules Villard 03bd3f1df1 [log] append ERROR in front of `failwith` toplevel messages
8 years ago
Jules Villard b50f9f2695 [police] open IStd everywhere
8 years ago
Jules Villard 0404641ab3 [utils] move parts of utils into their own submodules to avoid future dependency cycle
8 years ago
Dulma Churchill 31f189532c [buck capture] Remove the argument keep-going from the buck targets command
8 years ago
Jules Villard 741e527826 [console] print progress-like messages on stderr
8 years ago
Jeremy Dubreil 441bf7131a [infer][CLI] remove the Tracing analyzer option and only rely on the --tracing option for the biabduction analysis
8 years ago
Jules Villard 801c605c26 [CLI] switch to infer-<command> (symlinks) executables
8 years ago
Jules Villard 5881b676a2 [CLI] parse contents of @argfiles
8 years ago
Jules Villard 709376945f [config] migrate help to use man pages
8 years ago
Jeremy Dubreil 7e12885f98 [infer][checkers] remove the quandary analyzer option and rely on the --quandary flag only
8 years ago
Mehdi Bouaziz 5a57be9003 [infer][checkers] remove the bufferoverrun analyzer option and rely on the --bufferoverrun flag only
8 years ago
Jeremy Dubreil 8064ac2614 [infer][checkers] remove the siof analyzer option and rely on the --siof flag only
8 years ago
Jeremy Dubreil ef354e6e2b [infer][checkers] remove the threadsafey as analyzer option and rely on the --threadsafety flag only
8 years ago
Sam Blackshear 135ac8be7c [integration] make it possible to run Inferbo/Quandary/Siof/Threadsafety on Clang buck projects
8 years ago
Sam Blackshear 78a7865f2a [CLI] parse argfile contents into Config vars
8 years ago
Jules Villard 31a6aba3c2 [siof] enable SIOF checker only when new --siof option is passed
8 years ago
Dulma Churchill 6b9a37f5cd [capture] Fail when buck call fails
8 years ago
Dulma Churchill 830b185e6a [driver] Improvements to buck compilation database mode
8 years ago
Jules Villard cccefd6434 [driver] better user error messages
8 years ago
Dulma Churchill 142fe31fae [driver] Declare a clean command for xcodebuild with xcpretty
8 years ago
Dulma Churchill f4bc0db2b4 [clang] Make capture with simple clang command be a method call
8 years ago
Dulma Churchill 64791d1136 [driver] Bring clang capture from python to ocaml
8 years ago
Jules Villard 0548b7bd5e [buck-db] add flavour more robustly
8 years ago
Juergen Hoetzel fbaa1988b3 [infer][PR] [mvn] Handle recursive modules
8 years ago
Cristiano Calcagno 9a06a859e2 Deprecate IList part 3.
8 years ago
Cristiano Calcagno b1b5460529 Deprecate further IList functions
8 years ago
Cristiano Calcagno 41c5be9bad Deprecate more IList functions
8 years ago
Cristiano Calcagno 731dead406 More IList deprecation: fold functions
8 years ago
Jules Villard a8be4f1f4f [clang] options rename: --compilation-database -> --buck-compilation-database, --clang-compilation-db-files -> --compilation-database
8 years ago
Dulma Churchill e7fc96148a [ios] Fix xcodebuild integration with xcpretty, add test.
8 years ago
Jules Villard 451adc7949 [build] fix ./build-infer clang
8 years ago
Jules Villard cfd3770a8b [clangdb] support shell-escaped compilation databases
8 years ago
Jules Villard 08aad39050 [clangdb] support relative paths in compilation databases
8 years ago
Cristiano Calcagno 60916922c6 Deprecate more IList functions and use Core List instead
8 years ago
Jules Villard 6faccb1490 [utils] catch exceptions in epilogues to allow all of them to run
8 years ago
Cristiano Calcagno 5c12d98d37 Deprecate IList module in favour of Core List
8 years ago
Dulma Churchill ffd82c01a7 [clang] Fail when compilations fails in the capture, linters mode
8 years ago
Kihong Heo cef2f0e055 Inferbo
8 years ago
Cristiano Calcagno b1421bc27f [BetterEngineering] Remove remaining uses of polymorphic equality
8 years ago
Cristiano Calcagno f91b3128d3 [BetterEngineering] Replace uses of polymorphic equality
8 years ago
Andrzej Kotulski cceffddd78 [Config] Warn about deprecated args only from Driver exe
8 years ago
Jules Villard f9ab3aa1ac run epilogues register with `at_exit` upon receiving SIGINT as well
8 years ago
Jules Villard 2e96caac42 [mvn] new integration
8 years ago
Jules Villard 4028e7ca78 [driver] decouple logic for choosing capture mode from the capture
8 years ago
Jules Villard 4b77b07be5 [buck] add flavors automatically to buck targets
8 years ago
Andrzej Kotulski 95ad5b6387 [reactive-capture] Random fixes
8 years ago
Andrzej Kotulski c9d254c084 Initial version of reactive capture
8 years ago
Josh Berdine f3fab1e9b6 Support parsing build command arguments
8 years ago