Commit bea838fe authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: set AppContainer and no-SEH flags on PE

parent a8607e72
......@@ -39,8 +39,10 @@ seek F, 20 + 70, 1;
my $flags = get_le(2);
seek F, -2, 1;
$flags |= 0x100; # NX Compat
$flags |= 0x40; # Dynamic Base
$flags |= 0x100; # NX Compat
$flags |= 0x400; # NO SEH
$flags |= 0x1000; # App Container
printf F "%c%c", $flags & 0xff,($flags >> 8) & 0xff;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment