本文整理汇总了C#中ISerializedTypeVisitor类的典型用法代码示例。如果您正苦于以下问题:C# ISerializedTypeVisitor类的具体用法?C# ISerializedTypeVisitor怎么用?C# ISerializedTypeVisitor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ISerializedTypeVisitor类属于命名空间,在下文中一共展示了ISerializedTypeVisitor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Arm32ProcedureSerializer
public Arm32ProcedureSerializer(
IProcessorArchitecture arch,
ISerializedTypeVisitor<DataType> typeLoader,
string defaultConvention)
: base(arch, typeLoader, defaultConvention)
{
}
示例2: CreateProcedureSerializer
public override ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultConvention)
{
return new PowerPcProcedureSerializer(
(PowerPcArchitecture)Architecture,
typeLoader,
defaultConvention);
}
示例3: CreateProcedureSerializer
public override ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultConvention)
{
switch (Architecture.Name)
{
case "mips-be-32":
case "mips-le-32":
return new MipsProcedureSerializer(Architecture, typeLoader, defaultConvention);
case "ppc32":
return new PowerPcProcedureSerializer(Architecture, typeLoader, defaultConvention);
case "sparc32":
return new SparcProcedureSerializer(Architecture, typeLoader, defaultConvention);
case "x86-protected-32":
return new X86ProcedureSerializer(Architecture, typeLoader, defaultConvention);
case "x86-protected-64":
return new X86_64ProcedureSerializer(Architecture, typeLoader, defaultConvention);
case "xtensa":
return new XtensaProcedureSerializer(Architecture, typeLoader, defaultConvention);
case "arm":
return new Arm32ProcedureSerializer(Architecture, typeLoader, defaultConvention);
case "m68k":
return new M68kProcedureSerializer(Architecture, typeLoader, defaultConvention);
case "avr8":
return new Avr8ProcedureSerializer(Architecture, typeLoader, defaultConvention);
case "risc-v":
return new RiscVProcedureSerializer(Architecture, typeLoader, defaultConvention);
default:
throw new NotImplementedException(string.Format("Procedure serializer for {0} not implemented yet.", Architecture.Description));
}
}
示例4: Setup
public void Setup()
{
this.mr = new MockRepository();
this.arch = new MipsLe32Architecture();
this.typeLoader = mr.Stub<ISerializedTypeVisitor<DataType>>();
this.ssig = null;
this.sig = null;
}
示例5: PowerPcProcedureSerializer
public PowerPcProcedureSerializer(
PowerPcArchitecture arch,
ISerializedTypeVisitor<DataType> typeLoader,
string defaultCc)
: base(arch, typeLoader, defaultCc)
{
this.arch = arch;
}
示例6: ProcedureSerializer
public ProcedureSerializer(
IProcessorArchitecture arch,
ISerializedTypeVisitor<DataType> typeLoader,
string defaultConvention)
{
this.Architecture = arch;
this.TypeLoader = typeLoader;
this.DefaultConvention = defaultConvention;
}
示例7: CreateProcedureSerializer
public override ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultConvention)
{
throw new NotSupportedException();
}
示例8: CreateProcedureSerializer
public ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultCc)
{
return new PowerPcProcedureSerializer(this, typeLoader, defaultCc);
}
示例9: CreateProcedureSerializer
public ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultCc)
{
throw new NotSupportedException(); //$Makes no sense in C64 Basic!
}
示例10: CreateProcedureSerializer
public ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultCc)
{
throw new NotImplementedException();
}
示例11: CreateProcedureSerializer
public override ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultConvention)
{
//$BUGBUG: unlikely to be correct in long run.
return new X86ProcedureSerializer((IntelArchitecture) this.Architecture, typeLoader, defaultConvention);
}
示例12: M68kProcedureSerializer
public M68kProcedureSerializer(M68kArchitecture arch, ISerializedTypeVisitor<DataType> typeLoader, string defaultCc)
: base(arch, typeLoader, defaultCc)
{
}
示例13: X86_64ProcedureSerializer
public X86_64ProcedureSerializer(IProcessorArchitecture arch, ISerializedTypeVisitor<DataType> typeLoader, string defaultCc)
: base(arch, typeLoader, defaultCc)
{
}
示例14: CreateProcedureSerializer
public override ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultConvention)
{
return Test_CreateProcedureSerializer(typeLoader, defaultConvention);
}
示例15: CreateProcedureSerializer
public override Core.Serialization.ProcedureSerializer CreateProcedureSerializer(ISerializedTypeVisitor<DataType> typeLoader, string defaultConvention)
{
throw new NotImplementedException();
}