This is a source release of Infer packaged with pre-built binaries for clang and facebook-clang-plugins for Linux and MacOS. To use it follow these instructions.
This introduces subcommands and man pages for all subcommands. If you are used to infer's command line already, here are some rough equivalences (the commands might not be completely equivalent in some cases):
infer [options] -- [build command]
becomesinfer run [options] -- [build command]
infer
becomesinfer analyze
infer -a capture [options] -- [build command]
becomesinfer capture [options] -- [build command]
infer -a compile [options] -- [build command]
becomesinfer compile [options] -- [build command]
The previous forms of invocations are still supported but may go away in future releases.
If you were using them, the internal binaries have disappeared and are replaced as follows:
InferPrint [options]
becomesinfer report [options]
InferAnalyze [options]
becomesinfer analyze [options]
See man infer
, man infer-capture
, man infer-analyze
, etc. for more details, and let us know if anything is missing.
This release introduces AL, a language for writing linters against the clang AST. AL lets you check syntactic properties of source code by traversing the AST of the program. Using the included domain-specific language (DSL), you can write your own set of checks.
As usual, this release also includes lots of fixes and improvements. For the full list of changes included see here.
The sha256 checksums of the tarballs are:
$ shasum -a 256 -p infer-*-v0.12.0.tar.xz
698c9ff83a23fb3d6ffa0d62d5394e691ad5e3352f27bf2d4105afdfd07cc201 ?infer-linux64-v0.12.0.tar.xz
3b97bcabf85af8feb8d6fd0b8622fe2b4fbf27fa215fab61e3a660b5435b6d21 ?infer-osx-v0.12.0.tar.xz