/Mono.Cecil/ModuleKind.cs

http://github.com/jbevain/cecil · C# · 55 lines · 39 code · 7 blank · 9 comment · 0 complexity · 0920775eddbf75020d6f9d1cfb57461b MD5 · raw file

  1. //
  2. // Author:
  3. // Jb Evain (jbevain@gmail.com)
  4. //
  5. // Copyright (c) 2008 - 2015 Jb Evain
  6. // Copyright (c) 2008 - 2011 Novell, Inc.
  7. //
  8. // Licensed under the MIT/X11 license.
  9. //
  10. using System;
  11. namespace Mono.Cecil {
  12. public enum ModuleKind {
  13. Dll,
  14. Console,
  15. Windows,
  16. NetModule,
  17. }
  18. public enum MetadataKind {
  19. Ecma335,
  20. WindowsMetadata,
  21. ManagedWindowsMetadata,
  22. }
  23. public enum TargetArchitecture {
  24. I386 = 0x014c,
  25. AMD64 = 0x8664,
  26. IA64 = 0x0200,
  27. ARM = 0x01c0,
  28. ARMv7 = 0x01c4,
  29. ARM64 = 0xaa64,
  30. }
  31. [Flags]
  32. public enum ModuleAttributes {
  33. ILOnly = 1,
  34. Required32Bit = 2,
  35. ILLibrary = 4,
  36. StrongNameSigned = 8,
  37. Preferred32Bit = 0x00020000,
  38. }
  39. [Flags]
  40. public enum ModuleCharacteristics {
  41. HighEntropyVA = 0x0020,
  42. DynamicBase = 0x0040,
  43. NoSEH = 0x0400,
  44. NXCompat = 0x0100,
  45. AppContainer = 0x1000,
  46. TerminalServerAware = 0x8000,
  47. }
  48. }