C# Class Unbreakable.AssemblyGuard

ファイルを表示 Open project: ashmind/Unbreakable

Public Methods

Method Description
Rewrite ( Stream assemblySourceStream, Stream assemblyTargetStream, AssemblyGuardSettings? settings = null ) : Unbreakable.RuntimeGuardToken

Private Methods

Method Description
EmitGuardInstance ( ModuleDefinition module, Guid id ) : FieldDefinition
Rewrite ( AssemblyDefinition assembly, AssemblyGuardSettings? settings = null ) : Unbreakable.RuntimeGuardToken
ShouldInsertJumpGuardBefore ( Instruction instruction, bool ignorePrefix = false ) : bool
ValidateAndRewriteMethod ( MethodDefinition method, Unbreakable.RuntimeGuardReferences guard, AssemblyValidator validator, Unbreakable.AssemblyGuardSettings settings ) : void
ValidateAndRewriteType ( TypeDefinition type, Unbreakable.RuntimeGuardReferences guard, AssemblyValidator validator, Unbreakable.AssemblyGuardSettings settings ) : void

Method Details

Rewrite() public static method

public static Rewrite ( Stream assemblySourceStream, Stream assemblyTargetStream, AssemblyGuardSettings? settings = null ) : Unbreakable.RuntimeGuardToken
assemblySourceStream Stream
assemblyTargetStream Stream
settings AssemblyGuardSettings?
return Unbreakable.RuntimeGuardToken