Skip to content

Fix PDB bitfield members importing with wrong offset - #7797

Merged
emesare merged 1 commit into
Vector35:devfrom
trumank:fix-pdb-bitfield
Dec 16, 2025
Merged

Fix PDB bitfield members importing with wrong offset#7797
emesare merged 1 commit into
Vector35:devfrom
trumank:fix-pdb-bitfield

Conversation

@trumank

@trumank trumank commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

Test binary:
bitflags.zip

Source:

struct MixedBitFields {
    uint64_t timestamp;
    uint32_t value : 24;
    bool enabled : 1;
    bool visible : 1;
    bool selected : 1;
    bool hovered : 1;
    bool focused : 1;
    bool disabled : 1;
    bool readonly : 1;
    bool dirty : 1;
    float scale;
    double position;
};

Before:
image

After:
image

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@emesare emesare self-assigned this Dec 15, 2025
@emesare emesare added the DebugInfo: PDB Related to parsing PDB files label Dec 15, 2025
@emesare emesare added this to the Jotunheim milestone Dec 15, 2025
@emesare
emesare merged commit a83f208 into Vector35:dev Dec 16, 2025
0 of 2 checks passed
@trumank
trumank deleted the fix-pdb-bitfield branch December 16, 2025 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DebugInfo: PDB Related to parsing PDB files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants