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

Support for anonymous structs/unions in FieldList #104

Open
qwerty01 opened this issue May 27, 2021 · 0 comments
Open

Support for anonymous structs/unions in FieldList #104

qwerty01 opened this issue May 27, 2021 · 0 comments

Comments

@qwerty01
Copy link

Currently there doesn't seem to be a way to determine whether a MemberType is directly part of the type it corresponds to or is part of an anonymous struct/union. If the PDB format includes some kind of tag specifying anonymous types, it would be useful to have that included. If not, a heuristic that seems to work is to track the offsets, lengths, and positions of each field, and use them as constraints for determining the anonymous struct/union layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant