Support regex matching on function-name/export feature?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.2k
- Forks
- 726
- Avg merge
- 11d 11h
- Merged PRs (30d)
- 7
Description
### Summary
Support more flexible matching on ~~`function-name`~~ `export` features, e.g. like string/regex.
Alternatively/additionally consider other features that could benefit.
EDIT: in further discussion, it was concluded that regexes on `export` features would be most applicable here
### Motivation
Match JNI entry functions starting with `Java_`.
### Downsides
Performance may suffer due to search vs. contains.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how capa currently matches export features and where feature matching is tested; the issue does not name a file or test. Define the expected regex behavior using JNI exports beginning with Java_, then assess the performance tradeoff and add coverage for the chosen matching semantics.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- reverse-engineering
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100