mandiant / mandiant/capa

Provide macOS arm64 or universal build of capa binary

Open
#1,431 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

CI enhancement
Dominant language
Python
Stars
6.2k
Forks
726
Avg merge
11d 11h
Merged PRs (30d)
7

Description

Right now the build only provides an x86 capa binary. Is it possible to actually create an arm64 build of it? I know there are several blockers:

1. The GitHub hosted runners only have x86 macs. Not sure how convenient to "cross-compile" one
2. Does PyInstaller support arm64 macOS at all?

In the best case we should provide a universal build of capa that comes with both x86 and arm64 support in one executable (the standard approach these days), but that is not as useful as having an arm64 native build.

Related to https://github.com/mandiant/capa/issues/683

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing capa binary build configuration and checking PyInstaller's macOS arm64 support. Compare the available GitHub-hosted runner options and determine whether an arm64 or universal artifact can be produced. Done means a working macOS arm64 or universal capa binary is published.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.