We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See https://github.com/ptomin/reko/blob/6fae491935dce345542de2be03aebbf278cc83a9/subjects/PE/x86/pySample/shingledPySample.reko/pySample_text.c#L444
The type of tLoc14 is LARGE_INTEGER union.
tLoc14
LARGE_INTEGER
typedef union _LARGE_INTEGER { struct { DWORD LowPart; LONG HighPart; } DUMMYSTRUCTNAME; struct { DWORD LowPart; LONG HighPart; } u; LONGLONG QuadPart; } LARGE_INTEGER;
The result should be
ui32 esi_n = esi_n ^ (tLoc14.HighPart ^ tLoc14.LowPart);
But was
ui32 esi_n = esi_n ^ (tLoc14.dw0004 ^ tLoc14);
It looks like later phase (TypeAnalysis/ComplexExpressionRewiter) can't transform correctly accesses to such unions.
TypeAnalysis
ComplexExpressionRewiter
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See https://github.com/ptomin/reko/blob/6fae491935dce345542de2be03aebbf278cc83a9/subjects/PE/x86/pySample/shingledPySample.reko/pySample_text.c#L444
The type of
tLoc14
isLARGE_INTEGER
union.The result should be
But was
It looks like later phase (
TypeAnalysis
/ComplexExpressionRewiter
) can't transform correctly accesses to such unions.The text was updated successfully, but these errors were encountered: