llvm::MCExternalSymbolizer

Symbolize using user-provided, C API, callbacks.

Synopsis

Declared in <llvm/MC/MCDisassembler/MCExternalSymbolizer.h>

class MCExternalSymbolizer
    : public MCSymbolizer

Description

See llvm-c/Disassembler.h.

Base Classes

NameDescription
MCSymbolizerSymbolize and annotate disassembled instructions.

Member Functions

NameDescription
MCExternalSymbolizer [constructor]Construct an external symbolizer with C API callbacks.
operator= [deleted]Deleted copy assignment.
getReferencedAddresses [virtual]Return addresses referenced by unresolved symbolizable operands.
tryAddingPcLoadReferenceComment [virtual]Try to add a comment on the PC-relative load.
tryAddingSymbolicOperand [virtual]Try to add a symbolic operand instead of Value to the MCInst.

Protected Data Members

NameDescription
Ctx Context used to create symbolic MCExprs.
DisInfo The pointer to the block of symbolic information for above call back.
GetOpInfo @{ The function to get the symbolic information for operands.
RelInfo Relocation info used to enrich symbolic expressions; owned by this.
SymbolLookUp The function to lookup a symbol name.