Uh oh!
There was an error while loading. Please reload this page.
Fix cross-platform injection and launcher compatibility - #110
Open
mohui666 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This consolidates the reproducible cross-platform compatibility fixes from the current issue backlog.
LD_PRELOADno longer breaks shell command substitution or file redirectionrun.shDYLD_INSERT_LIBRARIESfrom the Apple SiliconarchhelperGetProcAddressIAT hooks and harden PE/CLI/path parsingFixes#88.
Addresses #24, #34, #47, #67, #73, #84, #94, #98, #102, #107, and #108.
Safety and compatibility
The macOS chained-fixups path no longer maps import ordinals to guessed GOT indices.
dlsym, boot.config access, and stdout protection use dyld interposition instead; stdio interception checks that the direct caller is UnityPlayer, so inherited injection does not affect launchers or shells.Missing target assemblies now skip only managed entrypoint execution. They no longer disable independent debugger, boot.config, and search-path functionality.
Verification
LD_PRELOAD, shell redirection, UnityPlayer dup2, path, and restart-marker regressionsgit diff --checkCI additionally runs the real macOS dyld interposition smoke test and the normal Linux x86 build in its multilib runner.