Header menu logo B2R2

Label Type

Represents a symbolic label that can be a jump target. Each label has its name and a unique identifier. We also associate an address with the label to represent the location of the label in the binary, i.e., the address of the instruction that the label belongs to.

Constructors

Constructor Description

Label(name, id, addr)

Full Usage: Label(name, id, addr)

Parameters:
    name : string
    id : int
    addr : Addr

Returns: Label
name : string
id : int
addr : Addr
Returns: Label

Instance members

Instance member Description

this.Address

Full Usage: this.Address

Returns: Addr

Retrieves the instruction address that this label belongs to.

Returns: Addr

this.Equals

Full Usage: this.Equals

Parameters:
Returns: bool

Checks whether this label equals the given label.

other : Label
Returns: bool

this.Id

Full Usage: this.Id

Returns: int

Retrieves the ID of the label. The ID is unique for each label and is used to distinguish between different labels.

Returns: int

this.Name

Full Usage: this.Name

Returns: string

Retrieves the symbolic name of the label.

Returns: string

Type something to start searching.