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 find_location_range #304

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Fix find_location_range #304

merged 1 commit into from
Jun 24, 2024

Conversation

philipc
Copy link
Contributor

@philipc philipc commented Jun 23, 2024

We were failing to return location ranges when the following conditions held:

  • the unit ranges differed from the sequence ranges
  • there is a gap in the sequence ranges, and the probe range begins in that gap

This is unlikely to occur in practice. I reproduced the error by modifying addr2line to give every unit a single range of (0, !0).

We were failing to return location ranges when the following conditions held:
- the unit ranges differed from the sequence ranges
- there is a gap in the sequence ranges, and the probe range begins
  in that gap

This is unlikely to occur in practice. I reproduced the error by modifying
addr2line to give every unit a single range of (0, !0).
@philipc philipc merged commit f56ce60 into gimli-rs:master Jun 24, 2024
11 checks passed
@philipc philipc deleted the find_location branch June 24, 2024 02:19
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.

None yet

1 participant