Register one shim DLL for every release, so Windows' hook table never fills #32

Merged
nelson merged 3 commits from rlfp-1-stable-hook-path into main 2026-11-11 23:27:05 -08:00
Owner

The injector registers a small shim DLL from current\fzt_picker_shim.dll, one path for every release, and the shim loads the release's hook by its version folder. Registering each release's hook by its own path had filled Windows' fixed table of hook DLLs, and from v0.1.101 the injector exited at start with "The specified module could not be found". A failure to start now goes to picker.log.

Work package: https://openproject.romaine.life/wp/RLFP-1

The shim's HookProc is pinned first in its code section, since Windows calls it by offset in whatever shim build a process holds; the injector refuses a shim where it isn't, and CI tests that against the shipped build. Needs fzt_picker_shim.dll added to home-sync's assets before the release.

The injector registers a small shim DLL from `current\fzt_picker_shim.dll`, one path for every release, and the shim loads the release's hook by its version folder. Registering each release's hook by its own path had filled Windows' fixed table of hook DLLs, and from v0.1.101 the injector exited at start with "The specified module could not be found". A failure to start now goes to `picker.log`. Work package: https://openproject.romaine.life/wp/RLFP-1 The shim's `HookProc` is pinned first in its code section, since Windows calls it by offset in whatever shim build a process holds; the injector refuses a shim where it isn't, and CI tests that against the shipped build. Needs `fzt_picker_shim.dll` added to home-sync's assets before the release.
Register one shim DLL for every release, so Windows' hook table never fills (RLFP-1)
All checks were successful
Build / windows (pull_request) Successful in 47s
Build / macos (pull_request) Successful in 1m2s
Build / pcs (pull_request) Has been skipped
Build / home-sync (pull_request) Successful in 0s
7386349e3e
Swap test: a new injector starting before the old one stops
Some checks failed
Build / windows (pull_request) Has been cancelled
Build / macos (pull_request) Has been cancelled
Build / home-sync (pull_request) Has been cancelled
Build / pcs (pull_request) Has been cancelled
d938f29bd8
Merge branch 'main' into rlfp-1-stable-hook-path
All checks were successful
Build / windows (pull_request) Successful in 47s
Build / macos (pull_request) Successful in 1m2s
Build / pcs (pull_request) Has been skipped
Build / home-sync (pull_request) Successful in 0s
b769b71168
nelson merged commit 77687ce655 into main 2026-11-11 23:27:05 -08:00
nelson deleted branch rlfp-1-stable-hook-path 2026-11-11 23:27:05 -08:00
Sign in to join this conversation.
No description provided.