Ejemplo n.º 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));
        }
Ejemplo n.º 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);
 }