LLVM  8.0.0svn
Macros | Functions
Disassembler.h File Reference
#include "llvm-c/DisassemblerTypes.h"
Include dependency graph for Disassembler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LLVMDisassembler_Option_UseMarkup   1
 
#define LLVMDisassembler_Option_PrintImmHex   2
 
#define LLVMDisassembler_Option_AsmPrinterVariant   4
 
#define LLVMDisassembler_Option_SetInstrComments   8
 
#define LLVMDisassembler_Option_PrintLatency   16
 

Functions

LLVMDisasmContextRef LLVMCreateDisasm (const char *TripleName, void *DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp)
 Create a disassembler for the TripleName. More...
 
LLVMDisasmContextRef LLVMCreateDisasmCPU (const char *Triple, const char *CPU, void *DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp)
 Create a disassembler for the TripleName and a specific CPU. More...
 
LLVMDisasmContextRef LLVMCreateDisasmCPUFeatures (const char *Triple, const char *CPU, const char *Features, void *DisInfo, int TagType, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp)
 Create a disassembler for the TripleName, a specific CPU and specific feature string. More...
 
int LLVMSetDisasmOptions (LLVMDisasmContextRef DC, uint64_t Options)
 Set the disassembler's options. More...
 
void LLVMDisasmDispose (LLVMDisasmContextRef DC)
 Dispose of a disassembler context. More...
 
size_t LLVMDisasmInstruction (LLVMDisasmContextRef DC, uint8_t *Bytes, uint64_t BytesSize, uint64_t PC, char *OutString, size_t OutStringSize)
 Disassemble a single instruction using the disassembler context specified in the parameter DC. More...