Skip to content

Experiment: bounded native LDN hook tracing - #7

Closed
oliverames wants to merge 2 commits into
codex/experiment-basefrom
codex/experiment-ldn-tracing
Closed

oliverames wants to merge 2 commits into
codex/experiment-basefrom
codex/experiment-ldn-tracing

Conversation

@oliverames

Copy link
Copy Markdown
Owner

This is a fork-only experiment targeting codex/experiment-base. Keep it isolated from main and the existing upstream PR heads. The switch is off by default.

What and why

The generic HLE call counter is unavailable on iOS, and local wireless remains cut. DM_LDN_TRACE=1 records the first 64 actual registered LDN calls, mangled symbols and safe argument counts. It preserves errno and every existing offline result, state, output and event behavior. Opaque buffers, security/advertisement payloads and device/network identities are not read or logged.

This supplies evidence for confirming the selected game's SDK wrapper/layout/event ABI. It does not enable discovery, joining, Pia sessions or multiplayer.

Checked

  • 60 actual-hook checks on Mac and Newt, iOS 27.2; socket dependency checks also pass.
  • All 25 hook signatures/bodies match their baseline after removing diagnostics. Invalid opaque pointers are never dereferenced, and repeated polling respects the trace budget.
  • Production C is used by the native fixture; event binding is stubbed. No game, real wireless event or peer was tested.
  • Documentation/environment checks and focused Python lint pass. The networking dependency includes the verified upstream boolean-error fix.

Docs

  • Exact SDK/build requirements, bounded capture procedure and remaining ABI work documented in docs/ldn-tracing.md.
  • No game files, keys or extracted game data.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T01:44:36.970995Z 9834fdd PR opened
🔒 Security Review ✅ Completed 2026-10-29T01:45:22.107338Z 9834fdd 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.

@oliverames

Copy link
Copy Markdown
Owner Author

Closing: experiment evidence and testing are tracked in the upstream nxnative PRs, so the fork-only experiment copy comes down. Keeping the branch here for reference.

@oliverames oliverames closed this Nov 5, 2026
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