forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Courgette] Make ELF section header sorting less intrusive.
Recently we start to sort ELF section headers by file offset. However, directly sorting the section headers is intrusive because it scrambles section ids (order in array). This CL adds a layer of section id lookup, so we can visit section headers in file offset order without affecting section ids. Also updated tests. BUG=604542 Review URL: https://codereview.chromium.org/1900223002 Cr-Commit-Position: refs/heads/master@{#388290}
- Loading branch information
1 parent
43b1d01
commit 6918930
Showing
3 changed files
with
54 additions
and
21 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
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