Header menu logo B2R2

BinRelocation Type

Represents a format-agnostic relocation: a location in the binary image whose contents are patched at link/load time, optionally referencing a symbol and applying a constant addend.

Record fields

Record Field Description

Addend

Full Usage: Addend

Field type: int64 option

Constant addend applied when computing the relocated value, if the format carries one. None for PE base relocations.

Field type: int64 option

Address

Full Usage: Address

Field type: Addr

Virtual address of the relocation site, i.e., the location being patched. This is the value accepted by IRelocationTable.TryGetRelocatedAddr.

Field type: Addr

SymbolName

Full Usage: SymbolName

Field type: string option

Name of the symbol referenced by this relocation, if any. None for symbol-less relocations such as PE base relocations or ELF relative relocations that use only an addend.

Field type: string option

Type something to start searching.