Header menu logo B2R2

AddrRange Type

Represents a range of address values that are greater than or equal to the Min value (inclusive) and are less than or equal to the Max value (inclusive).

Record fields

Record Field Description

Max

Full Usage: Max

Field type: Addr

The maximum value (upper bound) of the interval.

Field type: Addr

Min

Full Usage: Min

Field type: Addr

The minimum value (lower bound) of the interval.

Field type: Addr

Instance members

Instance member Description

this.Count

Full Usage: this.Count

Returns: Addr

Gets the number of addresses in this range.

Returns: Addr

this.IsIncluding

Full Usage: this.IsIncluding

Parameters:
    addr : Addr - The address to check.

Returns: bool true if the address is included in the range; otherwise false.
Modifiers: inline

Checks if the address range includes the given address.

addr : Addr

The address to check.

Returns: bool

true if the address is included in the range; otherwise false.

this.Slice

Full Usage: this.Slice

Parameters:
    target : AddrRange - The AddrRange to slice.

Returns: AddrRange The sliced AddrRange.

Slices the given AddrRange (target) based on this range, in such a way that the resulting range is always included in this range.

target : AddrRange

The AddrRange to slice.

Returns: AddrRange

The sliced AddrRange.

this.ToTuple

Full Usage: this.ToTuple

Returns: Addr * Addr A tuple of min (inclusive) and max (inclusive).

Gets the corresponding tuple (Addr, Addr) from the AddrRange.

Returns: Addr * Addr

A tuple of min (inclusive) and max (inclusive).

Type something to start searching.