Table of Contents

Class RangedEHRegionDetector

Namespace
Echo.ControlFlow.Regions.Detection
Assembly
Echo.ControlFlow.dll

Provides methods for detecting exception handler regions in a control flow graph by providing address ranges indicating the protected and handler regions.

public static class RangedEHRegionDetector
Inheritance
RangedEHRegionDetector
Inherited Members

Methods

DetectExceptionHandlerRegions<TInstruction>(ControlFlowGraph<TInstruction>, IEnumerable<ExceptionHandlerRange>)

Creates new exception handler regions in the provided control flow graph, based on a collection of address ranges indicating exception handlers.

public static void DetectExceptionHandlerRegions<TInstruction>(this ControlFlowGraph<TInstruction> cfg, IEnumerable<ExceptionHandlerRange> ranges) where TInstruction : notnull

Parameters

cfg ControlFlowGraph<TInstruction>

The control flow graph to create regions in.

ranges IEnumerable<ExceptionHandlerRange>

The exception handler address ranges.

Type Parameters

TInstruction

The type of instructions stored in the control flow graph.