class MachOBindEntry

Declaration

class MachOBindEntry { /* full declaration omitted */ };

Description

MachOBindEntry encapsulates the current state in the decompression of binding opcodes. This allows you to iterate through the compressed table of bindings using: Error Err = Error::success(); for (const llvm::object::MachOBindEntry &Entry : Obj->bindTable( &Err )) { } if (Err) { report error ...

Declared at: llvm/include/llvm/Object/MachO.h:212

Member Variables

private llvm::Error* E
private const llvm::object::MachOObjectFile* O
private ArrayRef<uint8_t> Opcodes
private const uint8_t* Ptr
private uint64_t SegmentOffset = 0
private int32_t SegmentIndex = -1
private llvm::StringRef SymbolName
private bool LibraryOrdinalSet = false
private int Ordinal = 0
private uint32_t Flags = 0
private int64_t Addend = 0
private uint64_t RemainingLoopCount = 0
private uint64_t AdvanceAmount = 0
private uint8_t BindType = 0
private uint8_t PointerSize
private llvm::object::MachOBindEntry::Kind TableKind
private bool Done = false

Method Overview

Methods

MachOBindEntry(
    llvm::Error* Err,
    const llvm::object::MachOObjectFile* O,
    ArrayRef<uint8_t> Opcodes,
    bool is64Bit,
    MachOBindEntry::Kind)

Declared at: llvm/include/llvm/Object/MachO.h:216

Parameters

llvm::Error* Err
const llvm::object::MachOObjectFile* O
ArrayRef<uint8_t> Opcodes
bool is64Bit
MachOBindEntry::Kind

int64_t addend() const

Declared at: llvm/include/llvm/Object/MachO.h:224

uint64_t address() const

Declared at: llvm/include/llvm/Object/MachO.h:229

uint32_t flags() const

Declared at: llvm/include/llvm/Object/MachO.h:223

void moveNext()

Declared at: llvm/include/llvm/Object/MachO.h:233

void moveToEnd()

Declared at: llvm/include/llvm/Object/MachO.h:239

void moveToFirst()

Declared at: llvm/include/llvm/Object/MachO.h:238

int ordinal() const

Declared at: llvm/include/llvm/Object/MachO.h:225

int64_t readSLEB128(const char** error)

Declared at: llvm/include/llvm/Object/MachO.h:241

Parameters

const char** error

uint64_t readULEB128(const char** error)

Declared at: llvm/include/llvm/Object/MachO.h:240

Parameters

const char** error

llvm::StringRef sectionName() const

Declared at: llvm/include/llvm/Object/MachO.h:228

int32_t segmentIndex() const

Declared at: llvm/include/llvm/Object/MachO.h:219

llvm::StringRef segmentName() const

Declared at: llvm/include/llvm/Object/MachO.h:227

uint64_t segmentOffset() const

Declared at: llvm/include/llvm/Object/MachO.h:220

llvm::StringRef symbolName() const

Declared at: llvm/include/llvm/Object/MachO.h:222

llvm::StringRef typeName() const

Declared at: llvm/include/llvm/Object/MachO.h:221