-
Notifications
You must be signed in to change notification settings - Fork 28
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
Bitfield with negative bit_position value #49
Comments
I tend to believe the issue stems from differences between DWARF Version 4 and DWARF Version 5, the latter probably not supported by dwarf2json yet? |
Happens to me too (only on DWARF Version 5), any intention to fix it? |
This was referenced Dec 14, 2023
This was referenced Jun 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
generating the json profile for vmlinux-5.19.0-40-generic Ubuntu 22.04 stock kernel I have discovered that the tool produce a negative
bit_position
value for bitfields (example for fieldactive_mode
instruct Scsi_Host
.I think the problem come from this line:
dwarf2json/main.go
Line 290 in c306d11
Please can you fix it?
The text was updated successfully, but these errors were encountered: