You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C Parser: Encountered errors during parse.
in C:\...\uptr.h near line 2
Error: Encountered " "__ptr32" "__ptr32 "" at line 3, column 31.
Was expecting one of:
[... omitted ...]
near token: __uptr
Possibly Undefined : (
Last Valid Datatype: char *
Check around uptr2 around line: 3
Environment (please complete the following information):
Additional context
This error appears when parsing GET_CONFIGURATION_IOCTL_INPUT32 struct in ntddmmc.h in Windows WDK, using x86-64 profile. After macro expansion, its definition is:
Describe the bug
The Ghidra's CParser can't parse the following C source code:
__uptr
and__sptr
are Visual Studio specific. They are documented here: https://learn.microsoft.com/en-us/cpp/cpp/sptr-uptr.Error Message
Environment (please complete the following information):
Additional context
This error appears when parsing GET_CONFIGURATION_IOCTL_INPUT32 struct in ntddmmc.h in Windows WDK, using x86-64 profile. After macro expansion, its definition is:
The text was updated successfully, but these errors were encountered: