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

feat: Use il2cpp line mappings in symcache creation #831

Merged
merged 3 commits into from
Jun 13, 2022
Merged

Conversation

loewenheim
Copy link
Contributor

@loewenheim loewenheim commented Jun 9, 2022

This adds a new Il2cppService, modeled after BitcodeService, that is responsible for downloading il2cpp line mapping files. SymCacheActor can then use these files when generating symcaches.

This PR also contains a drive-by refactoring of path handling logic. The function get_search_target_object_type computed an object type from a file type and identifier, which was then used to compute an ID. I removed the indirection in favor of computing the ID from the given
file type and identifier directly.

ETA: This depends upon getsentry/symbolic#592.

This adds a new `Il2cppService`, modeled after `BitcodeService`,
that is responsible for downloading il2cpp line mapping files.
`SymCacheActor` can then use these files when generating symcaches.

This PR also contains a drive-by refactoring of path handling logic.
The function `get_search_target_object_type` computed an object type
from a file type and identifier, which was then used to compute an ID.
I removed the indirection in favor of computing the ID from the given
file type and identifier directly.
@loewenheim loewenheim merged commit 626221b into master Jun 13, 2022
@loewenheim loewenheim deleted the feat/il2cpp branch June 13, 2022 14:09
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