C# Class AsmResolver.Net.Msil.MethodBody

Inheritance: AsmResolver.Builder.FileSegmentBuilder, IOperandResolver
显示文件 Open project: JerreS/AsmResolver Class Usage Examples

Public Methods

Method Description
Build ( BuildingContext context ) : void
CalculateOffsets ( ) : void
ExpandMacros ( ) : void
FromReadingContext ( MethodDefinition method, ReadingContext context ) : MethodBody
GetCodeSize ( ) : uint
GetInstructionByOffset ( int offset ) : MsilInstruction
GetPhysicalLength ( ) : uint
MethodBody ( MethodDefinition method ) : System
OptimizeMacros ( ) : void
UpdateReferences ( BuildingContext context ) : void
Write ( WritingContext context ) : void

Private Methods

Method Description
ExpandMacro ( MsilInstruction instruction ) : void
IOperandResolver ( MetadataToken token ) : MetadataMember
IOperandResolver ( int index ) : ParameterSignature
IOperandResolver ( int index ) : VariableSignature
IOperandResolver ( uint token ) : string
OptimizeMacro ( MsilInstruction instruction ) : void
ReadExceptionHandlers ( ) : IEnumerable
TryOptimizeArgument ( MsilInstruction instruction ) : void
TryOptimizeBranch ( MsilInstruction instruction ) : void
TryOptimizeLdc ( MsilInstruction instruction ) : void
TryOptimizeVariable ( MsilInstruction instruction ) : void
WriteCode ( WritingContext context ) : void
WriteExceptionHandlers ( WritingContext context ) : void

Method Details

Build() public method

public Build ( BuildingContext context ) : void
context AsmResolver.Builder.BuildingContext
return void

CalculateOffsets() public method

public CalculateOffsets ( ) : void
return void

ExpandMacros() public method

public ExpandMacros ( ) : void
return void

FromReadingContext() public static method

public static FromReadingContext ( MethodDefinition method, ReadingContext context ) : MethodBody
method MethodDefinition
context ReadingContext
return MethodBody

GetCodeSize() public method

public GetCodeSize ( ) : uint
return uint

GetInstructionByOffset() public method

public GetInstructionByOffset ( int offset ) : MsilInstruction
offset int
return MsilInstruction

GetPhysicalLength() public method

public GetPhysicalLength ( ) : uint
return uint

MethodBody() public method

public MethodBody ( MethodDefinition method ) : System
method MethodDefinition
return System

OptimizeMacros() public method

public OptimizeMacros ( ) : void
return void

UpdateReferences() public method

public UpdateReferences ( BuildingContext context ) : void
context AsmResolver.Builder.BuildingContext
return void

Write() public method

public Write ( WritingContext context ) : void
context WritingContext
return void