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

Name

Description

MCSymbolizer

Symbolize and annotate disassembled instructions.

Member Functions

Name

Description

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

Try to add a comment on the PC‐relative load.

tryAddingSymbolicOperand

Try to add a symbolic operand instead of Value to the MCInst.

Protected Data Members

Name

Description

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.

Created with MrDocs