crytic / crytic/anchorx-ray

Feature Request: Filtering Programs

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
39
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hi, team. This tool is a great initiative!, I hope to see it evolving fast.

### Feature Request

Allow to filter programs from our Anchor.toml for x-ray'ing

Proposed approach:

"Only these specific programs":
```
anchorx-ray --include`program1` `program2`
```
"All my programs, but exclude these ones":
```
anchorx-ray --exclude `program1` `program2`
```

### Rationale

In large codebases, we may want to perform scoped x-rays instead of being forced to scan and visualize everything contained in the repository.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the anchorx-ray CLI entry point and the code that reads Anchor.toml; the issue names no files or tests. Define completion as include selecting only the named programs and exclude omitting the named programs, while leaving other scans unchanged. Check the resulting CLI behavior against the proposed commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.