PyO3 / PyO3/pyo3

Introspection: support Mach-O fixup chains

Open
#5,035 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
16.2k
Forks
1k
Avg merge
2d 6h
Merged PRs (30d)
66

Description

Apple introduced a new feature in Mach-O binaries called fixup chains. Our current introspection code does not support it. By default cargo does not make use of it for any macOS target so it's likely not a big priority but it would be great to support them anyway.

See #5034 that adds a clear error message when fixup chains are used.

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 reading the repository's current introspection code and issue #5034, which adds the error for binaries using fixup chains. Trace how Mach-O fixups are currently handled, then verify that supported fixup-chain binaries are introspected successfully without the error described in #5034.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.