Skip to content

Summarize unexpected symbol shifts in Mach-O placement audit (VIBE-258) - #1504

Merged
mgomes merged 1 commit into
masterfrom
gem/vibe-258
Dec 3, 2026
Merged

mgomes merged 1 commit into
masterfrom
gem/vibe-258

Conversation

@mgomes

@mgomes mgomes commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

When a Mach-O front-pad or local relink absorbs padding (such as a 16-byte front stride hitting 64-byte alignment during VIBE-256), audit_step previously dumped every unexpected symbol into a single ValueError (5,621 entries).

Replace the dumped dict with:

  • unexpected/audited symbol counts and the expected shift,
  • observed displacement counts across audited symbols (most frequent first, capped at 8 buckets), and
  • a small sample of affected symbols in address order (capped at 5, prioritizing the target symbol in local mode).

The ValueError failure and existing prefix are preserved; linker-process failures remain in VIBE-234. Covered by unit tests and the Apple Silicon Mach-O integration test in benchmarks/mixed-text-placement/test_relink.py.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T14:31:32.817380Z 43b5efc Manual request
🔒 Security Review ✅ Completed 2026-12-03T14:31:59.298332Z 43b5efc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mgomes

mgomes commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 43b5efcfc2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@mgomes
mgomes merged commit a9e1fb3 into master Dec 3, 2026
14 checks passed
@mgomes
mgomes deleted the gem/vibe-258 branch December 3, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant