Skip to content

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

Closed
@AngheloAlf

Description

@AngheloAlf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions