-
Notifications
You must be signed in to change notification settings - Fork 165
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
Wrong offsets for KPCR::Prcb and others #19
Comments
This is also wrong https://github.com/ntdiff/headers/blob/master/Win10_1909_19H2/x64/System32/ntoskrnl.exe/Standalone/_KPRCB.h#L915 It should be at offset |
You're probably missing |
@wbenny If I do this, it works in this case, but most other structs break. For example |
Yup, I've seen that some of the structures in newer Win10 builds are somewhat broken :/ I'll have to look into this. |
any update on this issue? |
And possibly others.
Take this example: https://github.com/ntdiff/headers/blob/master/Win10_1909_19H2/x64/System32/ntoskrnl.exe/Standalone/_KPCR.h#L1331
For all major compilers , the calculated offset is
0x178
, not0x180
: https://godbolt.org/z/ZJ-DfVEdit: And if I use
#pragma pack
, the size is0x174
.Apparently the reason is:
Source
The text was updated successfully, but these errors were encountered: