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

Use as load address the first mapping for a file #38

Merged
merged 1 commit into from
May 8, 2024

Conversation

javierhonduco
Copy link
Owner

This is still not a totally correct calculation, some applications such as Rust + musl get their executable segments loaded in a way that we don't recognise yet, but this fixes cases where the loader decides to split the image in more than 2 segments.

Test Plan

image

This is still not a totally correct calculation, some applications such
as Rust + musl get their executable segments loaded in a way that we
don't recognise yet, but this fixes cases where the loader decides to
split the image in more than 2 segments.

Test Plan
========

See PR.
@javierhonduco javierhonduco merged commit e249a3d into main May 8, 2024
8 checks passed
@javierhonduco javierhonduco deleted the fix-load-address branch May 8, 2024 15:54
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.

1 participant