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
- protected Binary(unsigned int Type, llvm::MemoryBufferRef Source)
- public Binary()
- public Binary(const llvm::object::Binary & other)
- public static llvm::Error checkOffset(llvm::MemoryBufferRef M, uintptr_t Addr, const uint64_t Size)
- public llvm::StringRef getData() const
- protected static inline unsigned int getELFType(bool isLE, bool is64Bits)
- public llvm::StringRef getFileName() const
- protected static unsigned int getMachOType(bool isLE, bool is64Bits)
- public llvm::MemoryBufferRef getMemoryBufferRef() const
- public Triple::ObjectFormatType getTripleObjectFormat() const
- public unsigned int getType() const
- public virtual llvm::Error initContent()
- public bool isArchive() const
- public bool isCOFF() const
- public bool isCOFFImportFile() const
- public bool isELF() const
- public bool isIR() const
- public bool isLittleEndian() const
- public bool isMachO() const
- public bool isMachOUniversalBinary() const
- public bool isMinidump() const
- public bool isObject() const
- public bool isOffloadFile() const
- public bool isSymbolic() const
- public bool isTapiFile() const
- public bool isTapiUniversal() const
- public bool isWasm() const
- public bool isWinRes() const
- public bool isXCOFF() const
- public virtual ~Binary()
Methods
¶Binary(unsigned int Type,
llvm::MemoryBufferRef Source)
Binary(unsigned int Type,
llvm::MemoryBufferRef Source)
Declared at: llvm/include/llvm/Object/Binary.h:39
Parameters
- unsigned int Type
- llvm::MemoryBufferRef Source
¶Binary()
Binary()
Declared at: llvm/include/llvm/Object/Binary.h:92
¶Binary(const llvm::object::Binary& other)
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)
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
llvm::StringRef getData() const
Declared at: llvm/include/llvm/Object/Binary.h:98
¶static inline unsigned int getELFType(
bool isLE,
bool is64Bits)
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
llvm::StringRef getFileName() const
Declared at: llvm/include/llvm/Object/Binary.h:99
¶static unsigned int getMachOType(bool isLE,
bool is64Bits)
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
llvm::MemoryBufferRef getMemoryBufferRef() const
Declared at: llvm/include/llvm/Object/Binary.h:100
¶Triple::ObjectFormatType getTripleObjectFormat()
const
Triple::ObjectFormatType getTripleObjectFormat()
const
Declared at: llvm/include/llvm/Object/Binary.h:160
¶unsigned int getType() const
unsigned int getType() const
Declared at: llvm/include/llvm/Object/Binary.h:103
¶virtual llvm::Error initContent()
virtual llvm::Error initContent()
Declared at: llvm/include/llvm/Object/Binary.h:96
¶bool isArchive() const
bool isArchive() const
Declared at: llvm/include/llvm/Object/Binary.h:114
¶bool isCOFF() const
bool isCOFF() const
Declared at: llvm/include/llvm/Object/Binary.h:130
¶bool isCOFFImportFile() const
bool isCOFFImportFile() const
Declared at: llvm/include/llvm/Object/Binary.h:140
¶bool isELF() const
bool isELF() const
Declared at: llvm/include/llvm/Object/Binary.h:122
¶bool isIR() const
bool isIR() const
Declared at: llvm/include/llvm/Object/Binary.h:144
¶bool isLittleEndian() const
bool isLittleEndian() const
Declared at: llvm/include/llvm/Object/Binary.h:152
¶bool isMachO() const
bool isMachO() const
Declared at: llvm/include/llvm/Object/Binary.h:126
¶bool isMachOUniversalBinary() const
bool isMachOUniversalBinary() const
Declared at: llvm/include/llvm/Object/Binary.h:116
¶bool isMinidump() const
bool isMinidump() const
Declared at: llvm/include/llvm/Object/Binary.h:148
¶bool isObject() const
bool isObject() const
Declared at: llvm/include/llvm/Object/Binary.h:106
¶bool isOffloadFile() const
bool isOffloadFile() const
Declared at: llvm/include/llvm/Object/Binary.h:138
¶bool isSymbolic() const
bool isSymbolic() const
Declared at: llvm/include/llvm/Object/Binary.h:110
¶bool isTapiFile() const
bool isTapiFile() const
Declared at: llvm/include/llvm/Object/Binary.h:150
¶bool isTapiUniversal() const
bool isTapiUniversal() const
Declared at: llvm/include/llvm/Object/Binary.h:120
¶bool isWasm() const
bool isWasm() const
Declared at: llvm/include/llvm/Object/Binary.h:136
¶bool isWinRes() const
bool isWinRes() const
Declared at: llvm/include/llvm/Object/Binary.h:158
¶bool isXCOFF() const
bool isXCOFF() const
Declared at: llvm/include/llvm/Object/Binary.h:134
¶virtual ~Binary()
virtual ~Binary()
Declared at: llvm/include/llvm/Object/Binary.h:94