class Binary

Declaration

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

Declared at: llvm/include/llvm/Object/Binary.h:32

Member Variables

private unsigned int TypeID
protected llvm::MemoryBufferRef Data

Method Overview

Methods

Binary(unsigned int Type,
       llvm::MemoryBufferRef Source)

Declared at: llvm/include/llvm/Object/Binary.h:39

Parameters

unsigned int Type
llvm::MemoryBufferRef Source

Binary()

Declared at: llvm/include/llvm/Object/Binary.h:92

Binary(const llvm::object::Binary& other)

Declared at: llvm/include/llvm/Object/Binary.h:93

Parameters

const llvm::object::Binary& other

static llvm::Error checkOffset(
    llvm::MemoryBufferRef M,
    uintptr_t Addr,
    const uint64_t Size)

Declared at: llvm/include/llvm/Object/Binary.h:170

Parameters

llvm::MemoryBufferRef M
uintptr_t Addr
const uint64_t Size

llvm::StringRef getData() const

Declared at: llvm/include/llvm/Object/Binary.h:98

static inline unsigned int getELFType(
    bool isLE,
    bool is64Bits)

Declared at: llvm/include/llvm/Object/Binary.h:77

Parameters

bool isLE
bool is64Bits

llvm::StringRef getFileName() const

Declared at: llvm/include/llvm/Object/Binary.h:99

static unsigned int getMachOType(bool isLE,
                                 bool is64Bits)

Declared at: llvm/include/llvm/Object/Binary.h:84

Parameters

bool isLE
bool is64Bits

llvm::MemoryBufferRef getMemoryBufferRef() const

Declared at: llvm/include/llvm/Object/Binary.h:100

Triple::ObjectFormatType getTripleObjectFormat()
    const

Declared at: llvm/include/llvm/Object/Binary.h:160

unsigned int getType() const

Declared at: llvm/include/llvm/Object/Binary.h:103

virtual llvm::Error initContent()

Declared at: llvm/include/llvm/Object/Binary.h:96

bool isArchive() const

Declared at: llvm/include/llvm/Object/Binary.h:114

bool isCOFF() const

Declared at: llvm/include/llvm/Object/Binary.h:130

bool isCOFFImportFile() const

Declared at: llvm/include/llvm/Object/Binary.h:140

bool isELF() const

Declared at: llvm/include/llvm/Object/Binary.h:122

bool isIR() const

Declared at: llvm/include/llvm/Object/Binary.h:144

bool isLittleEndian() const

Declared at: llvm/include/llvm/Object/Binary.h:152

bool isMachO() const

Declared at: llvm/include/llvm/Object/Binary.h:126

bool isMachOUniversalBinary() const

Declared at: llvm/include/llvm/Object/Binary.h:116

bool isMinidump() const

Declared at: llvm/include/llvm/Object/Binary.h:148

bool isObject() const

Declared at: llvm/include/llvm/Object/Binary.h:106

bool isOffloadFile() const

Declared at: llvm/include/llvm/Object/Binary.h:138

bool isSymbolic() const

Declared at: llvm/include/llvm/Object/Binary.h:110

bool isTapiFile() const

Declared at: llvm/include/llvm/Object/Binary.h:150

bool isTapiUniversal() const

Declared at: llvm/include/llvm/Object/Binary.h:120

bool isWasm() const

Declared at: llvm/include/llvm/Object/Binary.h:136

bool isWinRes() const

Declared at: llvm/include/llvm/Object/Binary.h:158

bool isXCOFF() const

Declared at: llvm/include/llvm/Object/Binary.h:134

virtual ~Binary()

Declared at: llvm/include/llvm/Object/Binary.h:94