ARM support
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.2k
- Forks
- 726
- Avg merge
- 11d 11h
- Merged PRs (30d)
- 7
Description
Summary
Today, when using capa on files like: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV)
We got from capa output:
WARNING:capa.features.extractors.elffile:unsupported architecture: ARM
ERROR:capa:--------------------------------------------------------------------------------
ERROR:capa: Input file does not appear to target a supported architecture.
ERROR:capa:
ERROR:capa: capa currently only supports analyzing x86 (32- and 64-bit).
ERROR:capa:--------------------------------------------------------------------------------
Do we have a hope to have a compatibility for ARM binaries ?
Motivation
To target binaries in embedded devices for example.
Describe alternatives you've considered
N/A
Additional context
N/A
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 with capa.features.extractors.elffile, where the issue reports the unsupported ARM architecture warning, and trace the checks that currently accept only x86 binaries. Run capa against an ARM ELF sample to reproduce the failure. Done means ARM binaries are analyzed without the unsupported-architecture error, with relevant tests covering the new support.
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
- Needs clarification
- Newbie friendliness
- 30/100