facebook / facebook/infer

Need help on implementing --capture-block-list option.

Open
#2,004 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
OCaml
Stars
15.7k
Forks
2.1k
Avg merge
19h 36m
Merged PRs (30d)
13

Description

### Hi infer developers!!

I am a rookie dev and i need some help on implementing **--capture-block-list**. I use cmake and use infer to capture and analyse files from the compile_commands.json file specified via the **--compilation-database** option. Infer also analyses dependencies installed from [vcpkg](https://learn.microsoft.com/en-us/vcpkg/get_started/overview) that are not part of my codebase. So i wanted to stop capturing those files.

Reading the infer manual i understood that the option requires a Matcher of list of matchers which is a json object, but i am not sure of what the key for the object is. Can anyone provide me with an example usage either in a .inferconfig file or in the command line argument.

### Thanks in Advance.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.