1 write to DllCharacteristics
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\PEHeader.cs (1)
337
DllCharacteristics
= (DllCharacteristics)reader.ReadUInt16();
17 references to DllCharacteristics
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (8)
Emit\CompilationEmitTests.cs (7)
3538
Assert.Equal(0x8540u, (ushort)peHeaders.PEHeader.
DllCharacteristics
); //DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE
3573
Assert.Equal(0x8540u, (ushort)peHeaders.PEHeader.
DllCharacteristics
); //DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE
3623
Assert.Equal(0x8540u, (ushort)peHeaders.PEHeader.
DllCharacteristics
); //DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE
3663
Assert.Equal(0x8540u, (ushort)peHeaders.PEHeader.
DllCharacteristics
); //DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE
3703
Assert.Equal(0x8540u, (ushort)peHeaders.PEHeader.
DllCharacteristics
); //DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE
3724
Assert.Equal(0x8560u, (ushort)peHeaders.PEHeader.
DllCharacteristics
); //DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE | HIGH_ENTROPY_VA (0x20)
3742
Assert.Equal(0x9540u, (ushort)peHeaders.PEHeader.
DllCharacteristics
); //DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE | IMAGE_DLLCHARACTERISTICS_APPCONTAINER (0x1000)
Emit\EmitMetadataTests.cs (1)
2259
Assert.Equal(DllCharacteristics.DynamicBase | DllCharacteristics.NxCompatible | DllCharacteristics.NoSeh | DllCharacteristics.TerminalServerAware, peHeader.
DllCharacteristics
);
Microsoft.CodeAnalysis.Rebuild (1)
CompilationFactory.cs (1)
151
highEntropyVirtualAddressSpace: (peHeader.
DllCharacteristics
& DllCharacteristics.HighEntropyVirtualAddressSpace) != 0,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (8)
Emit\CompilationEmitTests.vb (8)
2131
Assert.Equal(CType(&H8540, UShort), peHeaders.PEHeader.
DllCharacteristics
) 'DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE
2155
Assert.Equal(CType(&H8540, UShort), peHeaders.PEHeader.
DllCharacteristics
) 'DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE
2192
Assert.Equal(CType(&H8540, UShort), peHeaders.PEHeader.
DllCharacteristics
) 'DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE
2216
Assert.Equal(CType(&H8540, UShort), peHeaders.PEHeader.
DllCharacteristics
) 'DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE
2253
Assert.Equal(CType(&H8540, UShort), peHeaders.PEHeader.
DllCharacteristics
) 'DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE
2272
Assert.Equal(CType(&H8540, UShort), peHeaders.PEHeader.
DllCharacteristics
) 'DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE
2295
Assert.Equal(CType(&H8560, UShort), peHeaders.PEHeader.
DllCharacteristics
) 'DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE | HIGH_ENTROPY_VA (0x20)
2313
Assert.Equal(CType(&H9540, UShort), peHeaders.PEHeader.
DllCharacteristics
) 'DYNAMIC_BASE | NX_COMPAT | NO_SEH | TERMINAL_SERVER_AWARE | HIGH_ENTROPY_VA (0x20)