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

[BUG] Dwarf error: Unknown DWARF attribute 4608 (0x1200) #85

Open
AngheloAlf opened this issue Jan 13, 2025 · 0 comments
Open

[BUG] Dwarf error: Unknown DWARF attribute 4608 (0x1200) #85

AngheloAlf opened this issue Jan 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@AngheloAlf
Copy link

Repository URL

No response

Game Name

Nintendo Puzzle Collection

Game Version

There's only one version as far as I know

Description

gtk dwarf dump fails when using the --include-erased flag on either the PANEPON.plf or Dr_MARIO.plf files. It seems to work fine without the --include-erased flag tho.

The full error is:

Failed: Unknown DWARF attribute type

Caused by:
    No discriminant in enum `AttributeKind` matches the value `4608`

I'm not sure if this is an actual attribute type. I checked the dwarf 1.1 specification pdf and this value seems to be too high for it to be part of the specification, but too low to be an implementation defined entry (those start at 0x2000 according to the spec).

I tried adding a placeholder implementation, but since this value ends in 0x0 I couldn't really get anywhere.

The first entry of this type seems to be at the binary offset 0x2CCD53 of the Dr_MARIO.plf file. Here's a screenshot.
image

@AngheloAlf AngheloAlf added the bug Something isn't working label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant