Header menu logo B2R2

ExceptionInfo Type

Represents parsed exception information of a binary code. We currently only support ELF binaries.

Constructors

Constructor Description

ExceptionInfo(hdl)

Full Usage: ExceptionInfo(hdl)

Parameters:
Returns: ExceptionInfo
hdl : BinHandle
Returns: ExceptionInfo

ExceptionInfo(liftingUnit)

Full Usage: ExceptionInfo(liftingUnit)

Parameters:
Returns: ExceptionInfo
liftingUnit : LiftingUnit
Returns: ExceptionInfo

Instance members

Instance member Description

this.ContainsFunctionEntryPoint

Full Usage: this.ContainsFunctionEntryPoint

Parameters:
Returns: bool

Checks if the given address is a function entry point according to the FDE records in the exception table.

addr : Addr
Returns: bool

this.ExceptionCoverage

Full Usage: this.ExceptionCoverage

Returns: float

Returns the coverage of the exception table, which is the ratio of addresses in the .text section that are covered by the exception table.

Returns: float

this.ExceptionMap

Full Usage: this.ExceptionMap

Returns: NoOverlapIntervalMap<uint64>

Returns the exception handler mapping.

Returns: NoOverlapIntervalMap<uint64>

this.FunctionEntryPoints

Full Usage: this.FunctionEntryPoints

Returns: Addr array

Returns an array of function entry points identified by the exception table.

Returns: Addr array

this.TryFindExceptionTarget

Full Usage: this.TryFindExceptionTarget

Parameters:
Returns: uint64 option

Finds the exception target (landing pad) for a given instruction address. If the address is not in the exception table, it returns None.

insAddr : Addr
Returns: uint64 option

Type something to start searching.