aspect-build / aspect-build/rules_lint

[FR]: Add Meta/Facebook Infer analyzer

Open
#714 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Starlark
Stars
154
Forks
125
Avg merge
3d 21h
Merged PRs (30d)
20

Description

### What is the current behavior?

_No response_

### Describe the feature

Infer is a static analyzer for Java and the C-family (C/C++/Objective-C). It reports potential bugs such as null pointer issues, resource/memory leaks, missing lock guards, and concurrency race conditions (depending on language / checker). It is designed to be run against code by providing Infer a build command for the sources being analyzed.

Having Infer available in `rules_lint` would make it easier to standardize this kind of bug-finding in CI and local workflows alongside other analyzers already supported.

References:

* Infer: [https://fbinfer.com/](https://fbinfer.com/)
* Infer repo: [https://github.com/facebook/infer](https://github.com/facebook/infer)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing analyzer integrations in rules_lint and the Infer documentation and repository linked in the issue, with attention to how Infer receives a build command. Done means Infer is available through rules_lint for standardized CI and local workflows.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp, java, objective-c
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.