Namespaces#1
Merged
Merged
Conversation
Also adds a bunch of compatibility layers for working without any ANDROID support. It should be possible to include trampoline and trampoline-allocator to get non-android required interfaces.
Deferred writes allow for referential branches to be handled correctly. More work needs to be done to properly manage these referential writes and to better expose the trampoline API only where needed
So that extraFiles behaves when being used downstream
Revamp Trampoline to now only be a Fixups structure. Fixups are now applied via a FixupContext type which holds context needed for clean fixups (tbd how we want to inject hook related metadata, i.e. other hooks fixup ranges, into the context structure) Update test code to be functional on ubuntu with and without debuggers attached (ASLR disabled vs. enabled) Add tests for near and far adrps, handle them by ignoring near ones Add a more standard PageAllocator Add some RTTI pointer wrapper types to make permissions cleanup easier Next steps are resolving fixup discrepancies that come up and making a wrapper type for holding the fixups structure (i.e. TargetHook instances as defined in the partial API)
…ooks Ideally should be split up even further, but this will do for a start
…f data The way we would want to do this would be by moving the index forward by an additional step if needed, i.e., pad with 0s I think in ARM this isn't a FUNCTIONAL requirement, but rather an improvement to performance, so might still be nice to do
Adjust tests to match and improve debugging facilities of page allocator
Note that we still need to expose more of the API through the targets data (perhaps even move to a .cpp file to keep it nice and local)
Also add the no_fixups void function that serves the purpose of reporting an error when orig is called when not actually valid
… improve cycle detection
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 free
to 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.
Supersedes sc2ad#11