Getting started with Infer

来源:互联网 发布:cyc指标源码 编辑:程序博客网 时间:2024/05/17 01:02

http://fbinfer.com/docs/getting-started.html

http://fbinfer.com/docs/getting-started.html
http://fbinfer.com/docs/getting-started.html



Getting started with Infer

Install Infer on Mac

You’ll need Homebrew. Simply type this into a terminal:

1
brew install infer

Install Infer on Linux

The easiest way is via Docker:

123
wget -O Dockerfile https://raw.githubusercontent.com/facebook/infer/master/docker/Dockerfilewget -O run.sh https://raw.githubusercontent.com/facebook/infer/master/docker/run.shsh run.sh

Try Infer in your browser

Try Infer on a small example on Codeboard.

Install from source

We recommend that you start from our latest GitHub release, which contains a pre-compiled version of clang, used for our C/Objective-C analyzers.

You’ll need to first install the build dependencies, then run the following commands:

1234
tar xf infer-<release>.tar.xzcd infer-<release>/./build-infer.shexport PATH=`pwd`/infer/bin:$PATH

0 0
原创粉丝点击