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

fix [PR-15525]: use correct alignment to enable codesigning #17210

Open
wants to merge 2 commits into
base: jarred/macho
Choose a base branch
from

Conversation

Pranav2612000
Copy link

What does this PR do?

This PR fixes an error with PR #15525 to allow codesigning larger files.
This is done by ensuring that the signature writer sig_writer starts from the original code segment location ( instead of with offset ). This way the whole signature fits in the CODE_SIGNATURE segment ( SuperBlob section ) and does not result in an error.

How did you verify your code works?

  • Ensured that bun is able to generate binaries which are codesignable.

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