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

V0.8.0 #58

Merged
merged 6 commits into from
Feb 23, 2024
Merged

V0.8.0 #58

merged 6 commits into from
Feb 23, 2024

Conversation

mkonshie
Copy link
Collaborator

No description provided.

Melka Konshie added 6 commits January 19, 2024 09:57
DWARF4 introduced a new attribute for describing bitfields,
DW_AT_data_bit_offset. This attribute replaces use of the attribute
DW_AT_bit_offset in DWARF version > 4.

Added heuristic to determine when to use the DataBitOffset or BitOffset field
in order to support compile units using a DWARF version greater than or less
than 4.

Fixes #49
dwarf.go was added to prevent applying elf relocations prior to DWARF parsing.
However, dwarf.go is currently unnecessary due to improved support for ELF
relocations in the debug/elf library.

Fixes #45
Anonymous fields in structure types were previously named using the
byte offset of the field into a structure. However, this led to name
collisons when reading structures that have multiple unnamed fields at
the same offset. This name collision then led to the overwriting some
anonymous fields.

Modified anonymous field labeling from using the byte offset to using
the sum of the number of anonymous fields in current structure. This
avoids the observed name collisons.

Fixes #50
Fixes #23
@npetroni npetroni self-assigned this Jan 22, 2024
@npetroni npetroni merged commit 340ed1b into master Feb 23, 2024
1 check passed
@npetroni npetroni deleted the v0.8.0 branch April 18, 2024 17:23
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.

2 participants