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

Refactor the matching of ELF program headers with profile mappings. #635

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

gmarin13
Copy link
Contributor

@gmarin13 gmarin13 commented Jun 8, 2021

Changed ProgramHeadersForMapping to get in a slice of program headers instead of
an elf.File object.

Moved the logic for matching headers by file offset to the elfexec package.

Removed testelf package, as it didn't have that much reuse. Instead, defined the
relevant test headers in the individual test files.

Other refactoring inside binutils to simplify code.

No functional changes.

Changed ProgramHeadersForMapping to get in a slice of program headers instead of
an elf.File object.

Moved the logic for matching headers by file offset to the elfexec package.

Removed testelf package, as it didn't have that much reuse. Instead, defined the
relevant test headers in the individual test files.

Other refactoring inside binutils to simplify code.

No functional changes.
@google-cla google-cla bot added the cla: yes label Jun 8, 2021
@gmarin13 gmarin13 requested a review from aalexand June 8, 2021 22:04
@aalexand aalexand merged commit a478d1d into google:master Jun 9, 2021
rayfordj pushed a commit to migtools/pprof that referenced this pull request Jun 28, 2021
…oogle#635)

Changed ProgramHeadersForMapping to get in a slice of program headers instead of
an elf.File object.

Moved the logic for matching headers by file offset to the elfexec package.

Removed testelf package, as it didn't have that much reuse. Instead, defined the
relevant test headers in the individual test files.

Other refactoring inside binutils to simplify code.

No functional changes.
@gmarin13 gmarin13 deleted the refactor_elfexec branch July 20, 2021 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants