-
-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MachO::Binary::extend_section fill gap by default
The previous implementation extended section by strictly requested amount, possibly creating a gap in case we needed to satisfy alignment requirements. However, information about the size of the gap is lost, and not trivial to recover. This patch changes `extend_section` to extend section by more than requested to avoid creating the gap.
- Loading branch information
1 parent
60de925
commit 9a4f609
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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