示例#1
0
        public static IDisassembler CreateDisassembler(DisassemblerType type, IDisassemblable cpu)
        {
            var disas = RegisteredDisassemblers[type];

            return(!(disas.IsAvailable() && disas.IsAvailableForArchitecture(cpu.Architecture)) ? null : RegisteredDisassemblers[type].Construct(cpu));
        }
示例#2
0
 public static IDisassembler CreateDisassembler(DisassemblerType type, IDisassemblable cpu)
 {
     var disas = RegisteredDisassemblers[type];
     return !(disas.IsAvailable() && disas.IsAvailableForArchitecture(cpu.Architecture)) ? null : RegisteredDisassemblers[type].Construct(cpu);
 }