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

read/coff: improve detection of auxiliary symbols for sections #603

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

philipc
Copy link
Contributor

@philipc philipc commented Nov 30, 2023

Previously we wrongly excluded section symbols with non-zero values, and wrongly included function symbols with zero values.

This also means that we give them correct symbol kind, and that we exclude them from the symbol map.

Note that we still don't give the correct symbol kind to section symbols that don't have an auxiliary symbol.

Previously we wrongly excluded section symbols with non-zero values,
and wrongly included function symbols with zero values.

This also means that we give them correct symbol kind,
and that we exclude them from the symbol map.

Note that we still don't give the correct symbol kind to
section symbols that don't have an auxiliary symbol.
@philipc philipc merged commit 0caeebc into gimli-rs:master Nov 30, 2023
12 checks passed
@philipc philipc deleted the coff-section-aux branch November 30, 2023 03:59
mcbegamerxx954 pushed a commit to mcbegamerxx954/object that referenced this pull request Jun 15, 2024
…-rs#603)

Previously we wrongly excluded section symbols with non-zero values,
and wrongly included function symbols with zero values.

This also means that we give them the correct symbol kind,
and that we exclude them from the symbol map.

Note that we still don't give the correct symbol kind to
section symbols that don't have an auxiliary symbol.
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