Skip to content
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

[PLAT-12879] Add support for getting and searching the currently loaded images #843

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

kstenerud
Copy link
Contributor

As part of the il2cpp support, we need to be able to search through the loaded binary images to find a match for instruction addresses that we collect via il2cpp_native_stack_trace().

This PR adds a new class LoadedImages that allows you to sync on-demand with what the dynamic loader has loaded using Refresh(), and to search for images using FindImageAtAddress().

Xcode's formatter also had a go at one of the objective-c files, so it's a bit noisy.

@kstenerud kstenerud requested a review from richardelms October 25, 2024 14:04
Copy link
Contributor

@richardelms richardelms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kstenerud kstenerud merged commit 7597b27 into next Nov 1, 2024
14 checks passed
@kstenerud kstenerud deleted the PLAT-12879-loaded-modules-tracker branch November 1, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants