-
Notifications
You must be signed in to change notification settings - Fork 90
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
LF_ENUMERATE Not Parsed Correctly in example #88
Comments
Thank you for the report. |
The function DisplayEnumerates(const PDB::CodeView::TPI::Record* record, uint8_t underlyingTypeSize) always reads enum values using underlyingTypeSize. However, in my case, the compiler stores values in varying sizes. The green markers indicate the actual values, while the red markers represent CodeView::TPI::TypeRecordKind. The current code produces the following output:
You may refer to this pdb file Test.zip |
I'm posing the code I'm currently using. It's a bit messy, but it produces the correct values
|
Hi, I was experienced LF_ENUMERATE value not being parsed correctly with example code. the byte size pdb stores values does not always match the underlying type.

The text was updated successfully, but these errors were encountered: