Skip to content

[PDB] The parser reads LF_ARRAY lengths as the number of elements, but those are in bytes #30

@JohnP55

Description

@JohnP55

Take for instance this array from my PDB:

0xc6fb : Length = 14, Leaf = 0x1503 LF_ARRAY
Element type = 0x13B9
Index type = T_ULONG(0022)
length = 48
Name =

48 means the array is 48 bytes long, but the current PDB parser interprets it as an array of 48 ulongs (which are 4 bytes each, so that array would take up 4x more space).

I currently have this fix implemented, I'll PR it soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions