2 * Copyright (c) 2002 Sergey Chaban <serge@wildwestsoftware.com>
\r
7 namespace Mono.PEToolkit {
\r
10 public enum Characteristics : ushort {
\r
14 /// Relocation info stripped from file.
\r
17 /// IMAGE_FILE_RELOCS_STRIPPED
\r
19 RELOCS_STRIPPED = 0x0001,
\r
24 /// File is executable
\r
25 /// (i.e. file is neither object file nor library file,
\r
26 /// so there are no unresolved externel references).
\r
29 /// IMAGE_FILE_EXECUTABLE_IMAGE
\r
31 EXECUTABLE_IMAGE = 0x0002,
\r
35 /// Line nunbers stripped from file.
\r
38 /// IMAGE_FILE_LINE_NUMS_STRIPPED
\r
40 LINE_NUMS_STRIPPED = 0x0004,
\r
44 /// Local symbols stripped from file.
\r
47 /// IMAGE_FILE_LOCAL_SYMS_STRIPPED
\r
49 LOCAL_SYMS_STRIPPED = 0x0008,
\r
53 /// Agressively trim working set
\r
56 /// IMAGE_FILE_AGGRESIVE_WS_TRIM
\r
58 AGGRESIVE_WS_TRIM = 0x0010,
\r
62 /// App can handle >2gb addresses
\r
65 /// IMAGE_FILE_LARGE_ADDRESS_AWARE
\r
67 LARGE_ADDRESS_AWARE = 0x0020,
\r
71 /// Bytes of machine word are reversed.
\r
74 /// IMAGE_FILE_BYTES_REVERSED_LO
\r
76 BYTES_REVERSED_LO = 0x0080,
\r
80 /// 32 bit word machine.
\r
83 /// IMAGE_FILE_32BIT_MACHINE
\r
85 MACHINE_32BIT = 0x0100,
\r
89 /// Debugging info stripped from file in .DBG file
\r
92 /// IMAGE_FILE_DEBUG_STRIPPED
\r
94 DEBUG_STRIPPED = 0x0200,
\r
98 /// If Image is on removable media, copy and run from the swap file.
\r
101 /// IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP
\r
103 REMOVABLE_RUN_FROM_SWAP = 0x0400,
\r
107 /// If Image is on Net, copy and run from the swap file.
\r
110 /// IMAGE_FILE_NET_RUN_FROM_SWAP
\r
112 NET_RUN_FROM_SWAP = 0x0800,
\r
116 /// This flag is used to indicate that the file
\r
117 /// is a system sile, such as device driver.
\r
120 /// IMAGE_FILE_SYSTEM
\r
126 /// This flag indicates that the file
\r
127 /// is a dynamic library (DLL).
\r
136 /// File should only be run on a uni-processor (UP) machine.
\r
139 /// IMAGE_FILE_UP_SYSTEM_ONLY
\r
141 UP_SYSTEM_ONLY = 0x4000,
\r
145 /// Bytes of machine word are reversed.
\r
148 /// IMAGE_FILE_BYTES_REVERSED_HI
\r
150 BYTES_REVERSED_HI = 0x8000,
\r
155 /// Default flags that must be set in CIL-only image.
\r
158 /// See Partition II, 24.2.2.1
\r
160 CIL_DEFAULT = LINE_NUMS_STRIPPED |
\r
161 LOCAL_SYMS_STRIPPED |
\r