Class AsmResolverExtensions
- Namespace
- Echo.Platforms.AsmResolver
- Assembly
- Echo.Platforms.AsmResolver.dll
Provides extension methods to AsmResolver models.
public static class AsmResolverExtensions
- Inheritance
-
AsmResolverExtensions
- Inherited Members
Methods
ConstructStaticFlowGraph(CilMethodBody)
Constructs a control flow graph from a CIL method body.
public static ControlFlowGraph<CilInstruction> ConstructStaticFlowGraph(this CilMethodBody self)
Parameters
selfCilMethodBodyThe method body.
Returns
- ControlFlowGraph<CilInstruction>
The control flow graph.
ConstructSymbolicFlowGraph(CilMethodBody, out DataFlowGraph<CilInstruction>)
Constructs a control flow graph and a data flow graph from a CIL method body.
public static ControlFlowGraph<CilInstruction> ConstructSymbolicFlowGraph(this CilMethodBody self, out DataFlowGraph<CilInstruction> dataFlowGraph)
Parameters
selfCilMethodBodyThe method body.
dataFlowGraphDataFlowGraph<CilInstruction>The constructed data flow graph.
Returns
- ControlFlowGraph<CilInstruction>
The control flow graph.
ToEchoRange(CilExceptionHandler)
Converts an instance of CilExceptionHandler to an ExceptionHandlerRange.
public static ExceptionHandlerRange ToEchoRange(this CilExceptionHandler handler)
Parameters
handlerCilExceptionHandlerThe handler to convert.
Returns
- ExceptionHandlerRange
The converted handler.
ToEchoRanges(IEnumerable<CilExceptionHandler>)
Converts a collection of CilExceptionHandler instances to a collection of ExceptionHandlerRange instances.
public static IEnumerable<ExceptionHandlerRange> ToEchoRanges(this IEnumerable<CilExceptionHandler> handlers)
Parameters
handlersIEnumerable<CilExceptionHandler>The handlers to convert.
Returns
- IEnumerable<ExceptionHandlerRange>
The converted handlers.