-
Notifications
You must be signed in to change notification settings - Fork 13
Support Mac for Unity / Mono #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
If I can reduce the size and complexity of In this PR, I'm already trying to put the MachO-specific code that Edit: After #67, the |
|
I have a version of this ready to rebase on top of #63 if/when that gets merged. It just requires another commit analogous to |
76cb569 to
1fab8d6
Compare
e992f29 to
32e9fac
Compare
4e239a8 to
e6fbef6
Compare
|
I have a version of this ready to rebase on top of #71 if/when that gets merged. |
|
Marking as a draft for now until the My hope is that some of the differences in offsets I found might turn out to turn out to melt away into differences between cattrs and no-cattrs. If that's the case then it could simplify what's needed for Mac support by a lot. (Edit: it didn't melt it away, or at least didn't melt most of it) |
|
Closing in favor of #93 |
This adds Mac support to
asr::game_engine::unity::SceneManagerandasr::game_engine::unity::mono.The
SceneManagersupport does not rely onstd, but themonosupport does needstd, which can be activated with thestdfeature.During development at
Image classes table detect cycles, I got cycles in the classes iterator, which I had to detect and break. But atOffsets for 64-bit MachO V2, I found the cause of those cycles was the wrong offset formonoclassdef_next_class_cache. It should have been using0x100as the offset to that, but had been incorrectly using0x108as the offset.