예제 #1
0
 AttachableProcessInfo(int processId, RuntimeId runtimeId, Guid runtimeGuid, Guid runtimeKindGuid, string runtimeName, string name, string title, string filename, string commandLine, DbgArchitecture architecture, DbgOperatingSystem operatingSystem)
 {
     ProcessId       = processId;
     RuntimeId       = runtimeId ?? throw new ArgumentNullException(nameof(runtimeId));
     RuntimeGuid     = runtimeGuid;
     RuntimeKindGuid = runtimeKindGuid;
     RuntimeName     = runtimeName ?? throw new ArgumentNullException(nameof(runtimeName));
     Name            = name ?? throw new ArgumentNullException(nameof(name));
     Title           = title ?? throw new ArgumentNullException(nameof(title));
     Filename        = filename ?? throw new ArgumentNullException(nameof(filename));
     CommandLine     = commandLine ?? throw new ArgumentNullException(nameof(commandLine));
     Architecture    = architecture;
     OperatingSystem = operatingSystem;
 }
예제 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="dll">DLL name including dll extension, case sensitive. It can be any name, it's only used to make sure only one handler patches a function.</param>
 /// <param name="function">Function name, case sensitive. It can be any name, it's only used to make sure only one handler patches a function.</param>
 /// <param name="architecture">Supported architecture</param>
 /// <param name="operatingSystem">Supported operating system</param>
 /// <param name="order">Order</param>
 public ExportDbgNativeFunctionHookAttribute(string dll, string function, DbgArchitecture architecture, DbgOperatingSystem operatingSystem, double order = double.MaxValue)
     : this(dll, function, new[] { architecture }, new[] { operatingSystem }, order)
 {
 }
예제 #3
0
 public Key(DbgMachine machine, DbgOperatingSystem operatingSystem)
 {
     this.machine         = machine;
     this.operatingSystem = operatingSystem;
 }
 public Key(DbgArchitecture architecture, DbgOperatingSystem operatingSystem)
 {
     this.architecture    = architecture;
     this.operatingSystem = operatingSystem;
 }