Re: wintrust/tests: Fix build with MSVC.
June 21, 2012
10:11 a.m.
Thomas Faber <thfabba(a)gmx.de> wrote:
Empty braces are no valid initializer. FIELD_OFFSET isn't constant "enough".
+ /* add 'jmp ExitProcess' instruction */ + count = 2; + bin.text_section[count++] = 0xFF; + bin.text_section[count++] = 0x25; + bin.text_section[count++] = EXIT_PROCESS&0xFF; + bin.text_section[count++] = (EXIT_PROCESS>>8)&0xFF; + bin.text_section[count++] = (EXIT_PROCESS>>16)&0xFF; + bin.text_section[count++] = (EXIT_PROCESS>>24)&0xFF;
This part of the patch obviously is not related to the patch description. -- Dmitry.
5025
Age (days ago)
5025
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov