C# Class ILDynaRec.HotPatcher

Mostra file Open project: zapu/UnityHotSwap

Public Methods

Method Description
HotPatch ( string assemblyFilename ) : void
HotPatcher ( ) : System
Start ( string assemblyFilename ) : void

Private Methods

Method Description
ConcatBody ( Mono.Cecil method ) : string

Generate "position independent" representation of IL. We need to do this extra work because even if we skip instrumentation prologue of functions when iterating instructions, typical "toString()" representation of Cecil.Cil.Instructions contains absolute instruction positions.

FindType ( Mono.Cecil asm, string name ) : Mono.Cecil.TypeDefinition
GenBodyHashcode ( Mono.Cecil method ) : int
InitialLoadSignatures ( ) : void
IsInstruemnted ( Mono.Cecil assembly ) : bool

Check if assembly is instrumented

IterateMethods ( Mono.Cecil asm ) : IEnumerable

Method Details

HotPatch() public method

public HotPatch ( string assemblyFilename ) : void
assemblyFilename string
return void

HotPatcher() public method

public HotPatcher ( ) : System
return System

Start() public method

public Start ( string assemblyFilename ) : void
assemblyFilename string
return void