B2R2


CoverageMaintainer Type

Maintain the address-level coverage information, and thereby, gap information.

Constructors

Constructor Description

CoverageMaintainer()

Full Usage: CoverageMaintainer()

Returns: CoverageMaintainer
Returns: CoverageMaintainer

Instance members

Instance member Description

this.AddCoverage(range)

Full Usage: this.AddCoverage(range)

Parameters:

Add covered address range.

range : AddrRange

this.ComputeGapAddrs(sAddr) (eAddr)

Full Usage: this.ComputeGapAddrs(sAddr) (eAddr)

Parameters:
Returns: Map<Addr, Addr>

For a given address range (from sAddr to eAddr), return a map of gaps, where each mapping maps from a gap start address to a gap end address. A gap is a "uncovered chunk" in the binary code.

sAddr : Addr
eAddr : Addr
Returns: Map<Addr, Addr>

this.IsAddressCovered(addr)

Full Usage: this.IsAddressCovered(addr)

Parameters:
Returns: bool

Is the given address is within the range of parsed code?

addr : Addr
Returns: bool

this.RemoveCoverage(range)

Full Usage: this.RemoveCoverage(range)

Parameters:

Make the address range uncovered.

range : AddrRange