Skip to content

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

@Kharthikraj

Description

@Kharthikraj

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 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions