Register one shim DLL for every release, so Windows' hook table never fills #32
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/fzt-picker!32
Loading…
Reference in a new issue
No description provided.
Delete branch "rlfp-1-stable-hook-path"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 topicker.log.Work package: https://openproject.romaine.life/wp/RLFP-1
The shim's
HookProcis 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. Needsfzt_picker_shim.dlladded to home-sync's assets before the release.