Skip to content

docs: the dlopen probe passed on a device — route C's gate is open - #139

Merged
LNPANDY merged 2 commits into
mainfrom
route-c-probe-result
Oct 28, 2026
Merged

LNPANDY merged 2 commits into
mainfrom
route-c-probe-result

Conversation

@LNPANDY

@LNPANDY LNPANDY commented Oct 28, 2026

Copy link
Copy Markdown
Owner

The device run (iPhone, iOS 27.0.1, sideloaded IPA) is recorded verbatim in docs/probe-dlopen.md, with the four things it still does not prove (real-game framework size/sections, vm_remap of signed __TEXT, getsectiondata on a dylib header, other sideloaders). WORK-IN-PROGRESS C7 moves from 'needs an experiment' to 'experiment passed; next is one real game in a shell app'.

…route C's gate is open

The run log is recorded verbatim: dlopen('@executable_path/Frameworks/
Probe.framework/Probe') returned a handle, dlsym found probe_answer and
calling it gave 42. What it does not prove is spelled out next to it (a
framework with the game's sections, vm_remap of signed __TEXT,
getsectiondata on a dylib header, other sideloaders). WORK-IN-PROGRESS's
C7 row now says the experiment passed and names the next step.
@LNPANDY
LNPANDY merged commit 3c520cc into main Oct 28, 2026
8 checks passed
@LNPANDY
LNPANDY deleted the route-c-probe-result branch October 28, 2026 15:58
LNPANDY added a commit that referenced this pull request Oct 28, 2026
#124 replaced the anchor-based sync with the patch queue on a pinned
upstream: dm/, scripts/ and docs/ are generated from .upstream-ref plus
patches/, so a fork document must arrive as a patch. This branch's
registration in scripts/sync_upstream.py no longer has a file to change.

Two patches, both generated with scripts/patches.py export:

  0020-launcher-c-plan.patch      docs/launcher-c-plan.md (the M1-M5 plan)
  0021-probe-dlopen-result.patch  the #139 result: docs/probe-dlopen.md and
                                  the WORK-IN-PROGRESS row that names it

0021 also repairs main: #139 edited those two docs directly, so
`scripts/patches.py check` failed on main ("differs (content):
docs/WORK-IN-PROGRESS.md, docs/probe-dlopen.md") and the next bump would
have reverted the probe result.

Verified: scripts/patches.py check -> ok, 21 patches on upstream 062cd06;
python3 -m unittest discover -s scripts/tests -> 24 tests OK.
LNPANDY added a commit that referenced this pull request Oct 28, 2026
The vendored tree is generated from seedds at .upstream-ref plus patches/, so
route C M1 is four format-patches with the required header (Upstream-Status:
pending; Reason: route C M1: game modules as an opt-in framework; Issue
#144):

  0020-route-c-loader-image-header   dm_set_game_image_header and loader.c's
                                     settable IMAGE_MH
  0021-route-c-game-framework        project-framework.yml, DmGameMarker.m,
                                     FrameworkBootstrap and main.m's
                                     DM_FRAMEWORK_BUILD blocks
  0022-route-c-framework-build       build_ipa.sh DM_FRAMEWORK=1, gen_manifest.py,
                                     the NSP script's --framework and
                                     compile_check.py's second pass
  0023-route-c-framework-tests       the framework packaging/link tests and
                                     --prepare-xcode --framework

series and dm/fork_patches.txt list them. `scripts/patches.py apply` reproduces
the committed vendored tree; `check` applies all 23 patches to 062cd06 and
reports only docs/WORK-IN-PROGRESS.md and docs/probe-dlopen.md, which main's PR
#139 (862e937) edited without a patch (the same two lines on plain main).
v0lumehi pushed a commit to v0lumehi/NX2Apple that referenced this pull request Oct 28, 2026
…, plan doc and C7 note

Three things the migration could not know, fixed in the series itself:

- 0019 (prune intermediate extractions) was revoked on main in 0506db0
  (the owner wants every extracted version kept as a build resource); the
  migration re-derived it from the tree at the time and would have brought
  it back. Patch dropped, build_ipa_from_nsp.py carries no prune again.
- 0015 (fork documents) now carries docs/launcher-c-plan.md (the route C
  implementation plan, PR LNPANDY#140) and the updated WORK-IN-PROGRESS.md and
  probe-dlopen.md (the device result and the C7 note, PR LNPANDY#139) — those
  edits landed on main after the queue was derived and made 'patches.py
  check' fail.

Verified: patches.py check ok (18 patches on 062cd06 give the tree, 2143
files); scripts/tests 21 tests ok; grep prune_intermediate_extracts ->
none.
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